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 PyList_Append(retval
, PyInt_FromLong(dashes
[x
]));
540 wxPyEndBlockThreads(blocked
);
543 void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
544 bool blocked
= wxPyBeginBlockThreads();
545 int size
= PyList_Size(pyDashes
);
546 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
548 // black magic warning! The array of wxDashes needs to exist as
549 // long as the pen does because wxPen does not copy the array. So
550 // stick a copy in a Python string object and attach it to _self,
551 // and then call SetDashes with a pointer to that array. Then
552 // when the Python pen object is destroyed the array will be
554 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
555 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
557 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
559 Py_DECREF(strDashes
);
560 wxPyEndBlockThreads(blocked
);
562 bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : False
; }
563 bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : True
; }
565 SWIGSTATICINLINE(short)
566 SWIG_AsShort(PyObject
*obj
)
568 return swig_numeric_cast(short,
569 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
570 "short", SHRT_MIN
, SHRT_MAX
));
574 SWIGSTATICINLINE(int)
575 SWIG_CheckShort(PyObject
* obj
)
578 if (PyErr_Occurred()) {
587 #include <wx/image.h>
589 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
590 char** cArray
= NULL
;
593 if (!PyList_Check(listOfStrings
)) {
594 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
597 count
= PyList_Size(listOfStrings
);
598 cArray
= new char*[count
];
600 for(int x
=0; x
<count
; x
++) {
601 // TODO: Need some validation and error checking here
602 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
608 wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
609 char** cArray
= NULL
;
612 cArray
= ConvertListOfStrings(listOfStrings
);
615 bmp
= new wxBitmap(cArray
);
619 wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
){
622 PyString_AsStringAndSize(bits
, &buf
, &length
);
623 return new wxBitmap(buf
, width
, height
, depth
);
625 wxSize
wxBitmap_GetSize(wxBitmap
*self
){
626 wxSize
size(self
->GetWidth(), self
->GetHeight());
629 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
630 wxMask
*mask
= new wxMask(*self
, colour
);
633 void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
634 self
->SetWidth(size
.x
);
635 self
->SetHeight(size
.y
);
637 bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : False
; }
638 bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : True
; }
639 wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
){
641 return new wxMask(bitmap
, *wxBLACK
);
643 return new wxMask(bitmap
, colour
);
646 #include <wx/iconbndl.h>
648 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
649 wxIcon
* icon
= new wxIcon();
650 icon
->CopyFromBitmap(bmp
);
653 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
654 char** cArray
= NULL
;
657 cArray
= ConvertListOfStrings(listOfStrings
);
660 icon
= new wxIcon(cArray
);
664 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
668 return new wxIconLocation(*filename
);
671 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
678 int wxIconLocation_GetIndex(wxIconLocation
*self
){
686 SWIGSTATICINLINE(int)
687 SWIG_CheckLong(PyObject
* obj
)
690 if (PyErr_Occurred()) {
698 wxCursor
*new_wxCursor(wxString
const *cursorName
,long type
,int hotSpotX
,int hotSpotY
){
700 wxCHECK_MSG(False
, NULL
,
701 wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
703 return new wxCursor(*cursorName
, type
, hotSpotX
, hotSpotY
);
708 wxRegion
*new_wxRegion(int points
,wxPoint
*points_array
,int fillStyle
){
709 wxPyRaiseNotImplemented();
712 void wxRegionIterator_Next(wxRegionIterator
*self
){
715 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
716 return self
->operator bool();
719 #include <wx/fontutil.h>
720 #include <wx/fontmap.h>
721 #include <wx/fontenum.h>
723 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
724 return self
->ToString();
727 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
728 static wxNativeEncodingInfo info
;
729 if ( wxGetNativeFontEncoding(encoding
, &info
) )
735 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
736 wxFontEncoding alt_enc
;
737 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
738 return PyInt_FromLong(alt_enc
);
744 wxFont
*new_wxFont(wxString
const &info
){
745 wxNativeFontInfo nfi
;
746 nfi
.FromString(info
);
747 return new wxFont(nfi
);
749 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
750 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
752 bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : False
; }
753 bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : True
; }
755 class wxPyFontEnumerator
: public wxFontEnumerator
{
757 wxPyFontEnumerator() {}
758 ~wxPyFontEnumerator() {}
760 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
761 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
766 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
767 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
770 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
771 wxArrayString
* arr
= self
->GetEncodings();
772 return wxArrayString2PyList_helper(*arr
);
774 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
775 wxArrayString
* arr
= self
->GetFacenames();
776 return wxArrayString2PyList_helper(*arr
);
781 #include "wx/wxPython/pydrawxxx.h"
783 wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
785 self
->GetPixel(x
, y
, &col
);
788 wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
790 self
->GetPixel(pt
, &col
);
794 SWIGSTATICINLINE(double)
795 SWIG_AsDouble(PyObject
*obj
)
797 if (PyNumber_Check(obj
))
798 return PyFloat_AsDouble(obj
);
800 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
801 obj
->ob_type
->tp_name
);
802 PyErr_SetObject(PyExc_TypeError
, errmsg
);
809 SWIGSTATICINLINE(int)
810 SWIG_CheckDouble(PyObject
* obj
)
813 if (PyErr_Occurred()) {
821 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
823 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
826 wxRect
wxDC_GetClippingRect(wxDC
*self
){
828 self
->GetClippingBox(rect
);
831 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
833 self
->GetPartialTextExtents(text
, widths
);
836 void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
837 self
->SetLogicalOrigin(point
.x
, point
.y
);
839 void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
840 self
->SetDeviceOrigin(point
.x
, point
.y
);
842 void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
843 self
->CalcBoundingBox(point
.x
, point
.y
);
845 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
846 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
848 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
849 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
851 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
852 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
854 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
855 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
857 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
858 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
860 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
861 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
864 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
872 #include <wx/dcbuffer.h>
878 #include <wx/metafile.h>
882 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
883 self
->AddColour(name
, wxColour(red
, green
, blue
));
886 #include <wx/effects.h>
891 static PyObject
*_wrap_new_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
901 result
= (wxGDIObject
*)new wxGDIObject();
903 wxPyEndAllowThreads(__tstate
);
904 if (PyErr_Occurred()) SWIG_fail
;
906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
913 static PyObject
*_wrap_delete_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
915 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
916 PyObject
* obj0
= 0 ;
918 (char *) "self", NULL
921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
928 wxPyEndAllowThreads(__tstate
);
929 if (PyErr_Occurred()) SWIG_fail
;
931 Py_INCREF(Py_None
); resultobj
= Py_None
;
938 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
940 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
942 PyObject
* obj0
= 0 ;
944 (char *) "self", NULL
947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
952 result
= (bool)(arg1
)->GetVisible();
954 wxPyEndAllowThreads(__tstate
);
955 if (PyErr_Occurred()) SWIG_fail
;
958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
966 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
968 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
970 PyObject
* obj0
= 0 ;
971 PyObject
* obj1
= 0 ;
973 (char *) "self",(char *) "visible", NULL
976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
979 arg2
= (bool) SWIG_AsBool(obj1
);
980 if (PyErr_Occurred()) SWIG_fail
;
982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
983 (arg1
)->SetVisible(arg2
);
985 wxPyEndAllowThreads(__tstate
);
986 if (PyErr_Occurred()) SWIG_fail
;
988 Py_INCREF(Py_None
); resultobj
= Py_None
;
995 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
997 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
999 PyObject
* obj0
= 0 ;
1001 (char *) "self", NULL
1004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
1005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1009 result
= (bool)(arg1
)->IsNull();
1011 wxPyEndAllowThreads(__tstate
);
1012 if (PyErr_Occurred()) SWIG_fail
;
1015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1023 static PyObject
* GDIObject_swigregister(PyObject
*self
, PyObject
*args
) {
1025 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1026 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
1028 return Py_BuildValue((char *)"");
1030 static PyObject
*_wrap_new_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1031 PyObject
*resultobj
;
1032 unsigned char arg1
= (unsigned char) 0 ;
1033 unsigned char arg2
= (unsigned char) 0 ;
1034 unsigned char arg3
= (unsigned char) 0 ;
1036 PyObject
* obj0
= 0 ;
1037 PyObject
* obj1
= 0 ;
1038 PyObject
* obj2
= 0 ;
1040 (char *) "red",(char *) "green",(char *) "blue", NULL
1043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1045 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
1046 if (PyErr_Occurred()) SWIG_fail
;
1049 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
1050 if (PyErr_Occurred()) SWIG_fail
;
1053 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
1054 if (PyErr_Occurred()) SWIG_fail
;
1057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1058 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
1060 wxPyEndAllowThreads(__tstate
);
1061 if (PyErr_Occurred()) SWIG_fail
;
1063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1070 static PyObject
*_wrap_new_NamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1071 PyObject
*resultobj
;
1072 wxString
*arg1
= 0 ;
1074 bool temp1
= False
;
1075 PyObject
* obj0
= 0 ;
1077 (char *) "colorName", NULL
1080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
1082 arg1
= wxString_in_helper(obj0
);
1083 if (arg1
== NULL
) SWIG_fail
;
1087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1088 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1090 wxPyEndAllowThreads(__tstate
);
1091 if (PyErr_Occurred()) SWIG_fail
;
1093 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1108 static PyObject
*_wrap_new_ColourRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1109 PyObject
*resultobj
;
1110 unsigned long arg1
;
1112 PyObject
* obj0
= 0 ;
1114 (char *) "colRGB", NULL
1117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1118 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
1119 if (PyErr_Occurred()) SWIG_fail
;
1121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1122 result
= (wxColour
*)new wxColour(arg1
);
1124 wxPyEndAllowThreads(__tstate
);
1125 if (PyErr_Occurred()) SWIG_fail
;
1127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1134 static PyObject
*_wrap_delete_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1135 PyObject
*resultobj
;
1136 wxColour
*arg1
= (wxColour
*) 0 ;
1137 PyObject
* obj0
= 0 ;
1139 (char *) "self", NULL
1142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
1143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1149 wxPyEndAllowThreads(__tstate
);
1150 if (PyErr_Occurred()) SWIG_fail
;
1152 Py_INCREF(Py_None
); resultobj
= Py_None
;
1159 static PyObject
*_wrap_Colour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1160 PyObject
*resultobj
;
1161 wxColour
*arg1
= (wxColour
*) 0 ;
1162 unsigned char result
;
1163 PyObject
* obj0
= 0 ;
1165 (char *) "self", NULL
1168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1173 result
= (unsigned char)(arg1
)->Red();
1175 wxPyEndAllowThreads(__tstate
);
1176 if (PyErr_Occurred()) SWIG_fail
;
1178 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1185 static PyObject
*_wrap_Colour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1186 PyObject
*resultobj
;
1187 wxColour
*arg1
= (wxColour
*) 0 ;
1188 unsigned char result
;
1189 PyObject
* obj0
= 0 ;
1191 (char *) "self", NULL
1194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1199 result
= (unsigned char)(arg1
)->Green();
1201 wxPyEndAllowThreads(__tstate
);
1202 if (PyErr_Occurred()) SWIG_fail
;
1204 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1211 static PyObject
*_wrap_Colour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1212 PyObject
*resultobj
;
1213 wxColour
*arg1
= (wxColour
*) 0 ;
1214 unsigned char result
;
1215 PyObject
* obj0
= 0 ;
1217 (char *) "self", NULL
1220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1225 result
= (unsigned char)(arg1
)->Blue();
1227 wxPyEndAllowThreads(__tstate
);
1228 if (PyErr_Occurred()) SWIG_fail
;
1230 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1237 static PyObject
*_wrap_Colour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1238 PyObject
*resultobj
;
1239 wxColour
*arg1
= (wxColour
*) 0 ;
1241 PyObject
* obj0
= 0 ;
1243 (char *) "self", NULL
1246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1251 result
= (bool)(arg1
)->Ok();
1253 wxPyEndAllowThreads(__tstate
);
1254 if (PyErr_Occurred()) SWIG_fail
;
1257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1265 static PyObject
*_wrap_Colour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1266 PyObject
*resultobj
;
1267 wxColour
*arg1
= (wxColour
*) 0 ;
1268 unsigned char arg2
;
1269 unsigned char arg3
;
1270 unsigned char arg4
;
1271 PyObject
* obj0
= 0 ;
1272 PyObject
* obj1
= 0 ;
1273 PyObject
* obj2
= 0 ;
1274 PyObject
* obj3
= 0 ;
1276 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1282 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
1283 if (PyErr_Occurred()) SWIG_fail
;
1284 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
1285 if (PyErr_Occurred()) SWIG_fail
;
1286 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
1287 if (PyErr_Occurred()) SWIG_fail
;
1289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1290 (arg1
)->Set(arg2
,arg3
,arg4
);
1292 wxPyEndAllowThreads(__tstate
);
1293 if (PyErr_Occurred()) SWIG_fail
;
1295 Py_INCREF(Py_None
); resultobj
= Py_None
;
1302 static PyObject
*_wrap_Colour_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1303 PyObject
*resultobj
;
1304 wxColour
*arg1
= (wxColour
*) 0 ;
1305 unsigned long arg2
;
1306 PyObject
* obj0
= 0 ;
1307 PyObject
* obj1
= 0 ;
1309 (char *) "self",(char *) "colRGB", NULL
1312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1315 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
1316 if (PyErr_Occurred()) SWIG_fail
;
1318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1321 wxPyEndAllowThreads(__tstate
);
1322 if (PyErr_Occurred()) SWIG_fail
;
1324 Py_INCREF(Py_None
); resultobj
= Py_None
;
1331 static PyObject
*_wrap_Colour_SetFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1332 PyObject
*resultobj
;
1333 wxColour
*arg1
= (wxColour
*) 0 ;
1334 wxString
*arg2
= 0 ;
1335 bool temp2
= False
;
1336 PyObject
* obj0
= 0 ;
1337 PyObject
* obj1
= 0 ;
1339 (char *) "self",(char *) "colourName", NULL
1342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1346 arg2
= wxString_in_helper(obj1
);
1347 if (arg2
== NULL
) SWIG_fail
;
1351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1352 (arg1
)->InitFromName((wxString
const &)*arg2
);
1354 wxPyEndAllowThreads(__tstate
);
1355 if (PyErr_Occurred()) SWIG_fail
;
1357 Py_INCREF(Py_None
); resultobj
= Py_None
;
1372 static PyObject
*_wrap_Colour_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1373 PyObject
*resultobj
;
1374 wxColour
*arg1
= (wxColour
*) 0 ;
1376 PyObject
* obj0
= 0 ;
1378 (char *) "self", NULL
1381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1386 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1388 wxPyEndAllowThreads(__tstate
);
1389 if (PyErr_Occurred()) SWIG_fail
;
1391 resultobj
= SWIG_FromLong((long)result
);
1398 static PyObject
*_wrap_Colour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1399 PyObject
*resultobj
;
1400 wxColour
*arg1
= (wxColour
*) 0 ;
1401 wxColour
*arg2
= 0 ;
1404 PyObject
* obj0
= 0 ;
1405 PyObject
* obj1
= 0 ;
1407 (char *) "self",(char *) "colour", NULL
1410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1415 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1419 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1421 wxPyEndAllowThreads(__tstate
);
1422 if (PyErr_Occurred()) SWIG_fail
;
1425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1433 static PyObject
*_wrap_Colour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1434 PyObject
*resultobj
;
1435 wxColour
*arg1
= (wxColour
*) 0 ;
1436 wxColour
*arg2
= 0 ;
1439 PyObject
* obj0
= 0 ;
1440 PyObject
* obj1
= 0 ;
1442 (char *) "self",(char *) "colour", NULL
1445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1450 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1454 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1456 wxPyEndAllowThreads(__tstate
);
1457 if (PyErr_Occurred()) SWIG_fail
;
1460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1468 static PyObject
*_wrap_Colour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1469 PyObject
*resultobj
;
1470 wxColour
*arg1
= (wxColour
*) 0 ;
1472 PyObject
* obj0
= 0 ;
1474 (char *) "self", NULL
1477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1482 result
= (PyObject
*)wxColour_Get(arg1
);
1484 wxPyEndAllowThreads(__tstate
);
1485 if (PyErr_Occurred()) SWIG_fail
;
1494 static PyObject
*_wrap_Colour_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1495 PyObject
*resultobj
;
1496 wxColour
*arg1
= (wxColour
*) 0 ;
1497 unsigned long result
;
1498 PyObject
* obj0
= 0 ;
1500 (char *) "self", NULL
1503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
1504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1508 result
= (unsigned long)wxColour_GetRGB(arg1
);
1510 wxPyEndAllowThreads(__tstate
);
1511 if (PyErr_Occurred()) SWIG_fail
;
1513 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
1520 static PyObject
* Colour_swigregister(PyObject
*self
, PyObject
*args
) {
1522 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1523 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1525 return Py_BuildValue((char *)"");
1527 static PyObject
*_wrap_new_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1528 PyObject
*resultobj
;
1530 unsigned char *arg2
= (unsigned char *) 0 ;
1531 unsigned char *arg3
= (unsigned char *) 0 ;
1532 unsigned char *arg4
= (unsigned char *) 0 ;
1534 PyObject
* obj0
= 0 ;
1535 PyObject
* obj1
= 0 ;
1536 PyObject
* obj2
= 0 ;
1537 PyObject
* obj3
= 0 ;
1539 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1543 arg1
= (int) SWIG_AsInt(obj0
);
1544 if (PyErr_Occurred()) SWIG_fail
;
1545 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
,
1546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1547 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
1548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1549 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
1550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1553 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1555 wxPyEndAllowThreads(__tstate
);
1556 if (PyErr_Occurred()) SWIG_fail
;
1558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
1565 static PyObject
*_wrap_delete_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1566 PyObject
*resultobj
;
1567 wxPalette
*arg1
= (wxPalette
*) 0 ;
1568 PyObject
* obj0
= 0 ;
1570 (char *) "self", NULL
1573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1580 wxPyEndAllowThreads(__tstate
);
1581 if (PyErr_Occurred()) SWIG_fail
;
1583 Py_INCREF(Py_None
); resultobj
= Py_None
;
1590 static PyObject
*_wrap_Palette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1591 PyObject
*resultobj
;
1592 wxPalette
*arg1
= (wxPalette
*) 0 ;
1597 PyObject
* obj0
= 0 ;
1598 PyObject
* obj1
= 0 ;
1599 PyObject
* obj2
= 0 ;
1600 PyObject
* obj3
= 0 ;
1602 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1608 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1609 if (PyErr_Occurred()) SWIG_fail
;
1610 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1611 if (PyErr_Occurred()) SWIG_fail
;
1612 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1613 if (PyErr_Occurred()) SWIG_fail
;
1615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1616 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1618 wxPyEndAllowThreads(__tstate
);
1619 if (PyErr_Occurred()) SWIG_fail
;
1621 resultobj
= SWIG_FromInt((int)result
);
1628 static PyObject
*_wrap_Palette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1629 PyObject
*resultobj
;
1630 wxPalette
*arg1
= (wxPalette
*) 0 ;
1632 byte
*arg3
= (byte
*) 0 ;
1633 byte
*arg4
= (byte
*) 0 ;
1634 byte
*arg5
= (byte
*) 0 ;
1639 PyObject
* obj0
= 0 ;
1640 PyObject
* obj1
= 0 ;
1642 (char *) "self",(char *) "pixel", NULL
1648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1651 arg2
= (int) SWIG_AsInt(obj1
);
1652 if (PyErr_Occurred()) SWIG_fail
;
1654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1655 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1657 wxPyEndAllowThreads(__tstate
);
1658 if (PyErr_Occurred()) SWIG_fail
;
1661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1664 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1665 resultobj
= t_output_helper(resultobj
,o
);
1668 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1669 resultobj
= t_output_helper(resultobj
,o
);
1672 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1673 resultobj
= t_output_helper(resultobj
,o
);
1681 static PyObject
*_wrap_Palette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1682 PyObject
*resultobj
;
1683 wxPalette
*arg1
= (wxPalette
*) 0 ;
1685 PyObject
* obj0
= 0 ;
1687 (char *) "self", NULL
1690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1695 result
= (bool)(arg1
)->Ok();
1697 wxPyEndAllowThreads(__tstate
);
1698 if (PyErr_Occurred()) SWIG_fail
;
1701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1709 static PyObject
* Palette_swigregister(PyObject
*self
, PyObject
*args
) {
1711 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1712 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1714 return Py_BuildValue((char *)"");
1716 static PyObject
*_wrap_new_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1717 PyObject
*resultobj
;
1718 wxColour
*arg1
= 0 ;
1719 int arg2
= (int) 1 ;
1720 int arg3
= (int) wxSOLID
;
1723 PyObject
* obj0
= 0 ;
1724 PyObject
* obj1
= 0 ;
1725 PyObject
* obj2
= 0 ;
1727 (char *) "colour",(char *) "width",(char *) "style", NULL
1730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1733 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1736 arg2
= (int) SWIG_AsInt(obj1
);
1737 if (PyErr_Occurred()) SWIG_fail
;
1740 arg3
= (int) SWIG_AsInt(obj2
);
1741 if (PyErr_Occurred()) SWIG_fail
;
1744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1745 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1747 wxPyEndAllowThreads(__tstate
);
1748 if (PyErr_Occurred()) SWIG_fail
;
1750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1757 static PyObject
*_wrap_delete_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1758 PyObject
*resultobj
;
1759 wxPen
*arg1
= (wxPen
*) 0 ;
1760 PyObject
* obj0
= 0 ;
1762 (char *) "self", NULL
1765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1772 wxPyEndAllowThreads(__tstate
);
1773 if (PyErr_Occurred()) SWIG_fail
;
1775 Py_INCREF(Py_None
); resultobj
= Py_None
;
1782 static PyObject
*_wrap_Pen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1783 PyObject
*resultobj
;
1784 wxPen
*arg1
= (wxPen
*) 0 ;
1786 PyObject
* obj0
= 0 ;
1788 (char *) "self", NULL
1791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1796 result
= (int)(arg1
)->GetCap();
1798 wxPyEndAllowThreads(__tstate
);
1799 if (PyErr_Occurred()) SWIG_fail
;
1801 resultobj
= SWIG_FromInt((int)result
);
1808 static PyObject
*_wrap_Pen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1809 PyObject
*resultobj
;
1810 wxPen
*arg1
= (wxPen
*) 0 ;
1812 PyObject
* obj0
= 0 ;
1814 (char *) "self", NULL
1817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1822 result
= (arg1
)->GetColour();
1824 wxPyEndAllowThreads(__tstate
);
1825 if (PyErr_Occurred()) SWIG_fail
;
1828 wxColour
* resultptr
;
1829 resultptr
= new wxColour((wxColour
&) result
);
1830 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1838 static PyObject
*_wrap_Pen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1839 PyObject
*resultobj
;
1840 wxPen
*arg1
= (wxPen
*) 0 ;
1842 PyObject
* obj0
= 0 ;
1844 (char *) "self", NULL
1847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1852 result
= (int)(arg1
)->GetJoin();
1854 wxPyEndAllowThreads(__tstate
);
1855 if (PyErr_Occurred()) SWIG_fail
;
1857 resultobj
= SWIG_FromInt((int)result
);
1864 static PyObject
*_wrap_Pen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1865 PyObject
*resultobj
;
1866 wxPen
*arg1
= (wxPen
*) 0 ;
1868 PyObject
* obj0
= 0 ;
1870 (char *) "self", NULL
1873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1878 result
= (int)(arg1
)->GetStyle();
1880 wxPyEndAllowThreads(__tstate
);
1881 if (PyErr_Occurred()) SWIG_fail
;
1883 resultobj
= SWIG_FromInt((int)result
);
1890 static PyObject
*_wrap_Pen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1891 PyObject
*resultobj
;
1892 wxPen
*arg1
= (wxPen
*) 0 ;
1894 PyObject
* obj0
= 0 ;
1896 (char *) "self", NULL
1899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
1900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1904 result
= (int)(arg1
)->GetWidth();
1906 wxPyEndAllowThreads(__tstate
);
1907 if (PyErr_Occurred()) SWIG_fail
;
1909 resultobj
= SWIG_FromInt((int)result
);
1916 static PyObject
*_wrap_Pen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1917 PyObject
*resultobj
;
1918 wxPen
*arg1
= (wxPen
*) 0 ;
1920 PyObject
* obj0
= 0 ;
1922 (char *) "self", NULL
1925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
1926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1930 result
= (bool)(arg1
)->Ok();
1932 wxPyEndAllowThreads(__tstate
);
1933 if (PyErr_Occurred()) SWIG_fail
;
1936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1944 static PyObject
*_wrap_Pen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1945 PyObject
*resultobj
;
1946 wxPen
*arg1
= (wxPen
*) 0 ;
1948 PyObject
* obj0
= 0 ;
1949 PyObject
* obj1
= 0 ;
1951 (char *) "self",(char *) "cap_style", NULL
1954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
1955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1957 arg2
= (int) SWIG_AsInt(obj1
);
1958 if (PyErr_Occurred()) SWIG_fail
;
1960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1961 (arg1
)->SetCap(arg2
);
1963 wxPyEndAllowThreads(__tstate
);
1964 if (PyErr_Occurred()) SWIG_fail
;
1966 Py_INCREF(Py_None
); resultobj
= Py_None
;
1973 static PyObject
*_wrap_Pen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1974 PyObject
*resultobj
;
1975 wxPen
*arg1
= (wxPen
*) 0 ;
1976 wxColour
*arg2
= 0 ;
1978 PyObject
* obj0
= 0 ;
1979 PyObject
* obj1
= 0 ;
1981 (char *) "self",(char *) "colour", NULL
1984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1989 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1993 (arg1
)->SetColour(*arg2
);
1995 wxPyEndAllowThreads(__tstate
);
1996 if (PyErr_Occurred()) SWIG_fail
;
1998 Py_INCREF(Py_None
); resultobj
= Py_None
;
2005 static PyObject
*_wrap_Pen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2006 PyObject
*resultobj
;
2007 wxPen
*arg1
= (wxPen
*) 0 ;
2009 PyObject
* obj0
= 0 ;
2010 PyObject
* obj1
= 0 ;
2012 (char *) "self",(char *) "join_style", NULL
2015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
2016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2018 arg2
= (int) SWIG_AsInt(obj1
);
2019 if (PyErr_Occurred()) SWIG_fail
;
2021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2022 (arg1
)->SetJoin(arg2
);
2024 wxPyEndAllowThreads(__tstate
);
2025 if (PyErr_Occurred()) SWIG_fail
;
2027 Py_INCREF(Py_None
); resultobj
= Py_None
;
2034 static PyObject
*_wrap_Pen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2035 PyObject
*resultobj
;
2036 wxPen
*arg1
= (wxPen
*) 0 ;
2038 PyObject
* obj0
= 0 ;
2039 PyObject
* obj1
= 0 ;
2041 (char *) "self",(char *) "style", NULL
2044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2047 arg2
= (int) SWIG_AsInt(obj1
);
2048 if (PyErr_Occurred()) SWIG_fail
;
2050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2051 (arg1
)->SetStyle(arg2
);
2053 wxPyEndAllowThreads(__tstate
);
2054 if (PyErr_Occurred()) SWIG_fail
;
2056 Py_INCREF(Py_None
); resultobj
= Py_None
;
2063 static PyObject
*_wrap_Pen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2064 PyObject
*resultobj
;
2065 wxPen
*arg1
= (wxPen
*) 0 ;
2067 PyObject
* obj0
= 0 ;
2068 PyObject
* obj1
= 0 ;
2070 (char *) "self",(char *) "width", NULL
2073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2076 arg2
= (int) SWIG_AsInt(obj1
);
2077 if (PyErr_Occurred()) SWIG_fail
;
2079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2080 (arg1
)->SetWidth(arg2
);
2082 wxPyEndAllowThreads(__tstate
);
2083 if (PyErr_Occurred()) SWIG_fail
;
2085 Py_INCREF(Py_None
); resultobj
= Py_None
;
2092 static PyObject
*_wrap_Pen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2093 PyObject
*resultobj
;
2094 wxPen
*arg1
= (wxPen
*) 0 ;
2096 wxDash
*arg3
= (wxDash
*) 0 ;
2097 PyObject
* obj0
= 0 ;
2098 PyObject
* obj1
= 0 ;
2100 (char *) "self",(char *) "dashes", NULL
2103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2107 arg2
= PyList_Size(obj1
);
2108 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2109 if (arg3
== NULL
) SWIG_fail
;
2112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2113 (arg1
)->SetDashes(arg2
,arg3
);
2115 wxPyEndAllowThreads(__tstate
);
2116 if (PyErr_Occurred()) SWIG_fail
;
2118 Py_INCREF(Py_None
); resultobj
= Py_None
;
2120 if (arg3
) delete [] arg3
;
2125 if (arg3
) delete [] arg3
;
2131 static PyObject
*_wrap_Pen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2132 PyObject
*resultobj
;
2133 wxPen
*arg1
= (wxPen
*) 0 ;
2135 PyObject
* obj0
= 0 ;
2137 (char *) "self", NULL
2140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2145 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2147 wxPyEndAllowThreads(__tstate
);
2148 if (PyErr_Occurred()) SWIG_fail
;
2157 static PyObject
*_wrap_Pen__SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2158 PyObject
*resultobj
;
2159 wxPen
*arg1
= (wxPen
*) 0 ;
2160 PyObject
*arg2
= (PyObject
*) 0 ;
2161 PyObject
*arg3
= (PyObject
*) 0 ;
2162 PyObject
* obj0
= 0 ;
2163 PyObject
* obj1
= 0 ;
2164 PyObject
* obj2
= 0 ;
2166 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
2169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2176 wxPen__SetDashes(arg1
,arg2
,arg3
);
2178 wxPyEndAllowThreads(__tstate
);
2179 if (PyErr_Occurred()) SWIG_fail
;
2181 Py_INCREF(Py_None
); resultobj
= Py_None
;
2188 static PyObject
*_wrap_Pen___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2189 PyObject
*resultobj
;
2190 wxPen
*arg1
= (wxPen
*) 0 ;
2191 wxPen
*arg2
= (wxPen
*) 0 ;
2193 PyObject
* obj0
= 0 ;
2194 PyObject
* obj1
= 0 ;
2196 (char *) "self",(char *) "other", NULL
2199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2202 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2206 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2208 wxPyEndAllowThreads(__tstate
);
2209 if (PyErr_Occurred()) SWIG_fail
;
2212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2220 static PyObject
*_wrap_Pen___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2221 PyObject
*resultobj
;
2222 wxPen
*arg1
= (wxPen
*) 0 ;
2223 wxPen
*arg2
= (wxPen
*) 0 ;
2225 PyObject
* obj0
= 0 ;
2226 PyObject
* obj1
= 0 ;
2228 (char *) "self",(char *) "other", NULL
2231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2234 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2238 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2240 wxPyEndAllowThreads(__tstate
);
2241 if (PyErr_Occurred()) SWIG_fail
;
2244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2252 static PyObject
* Pen_swigregister(PyObject
*self
, PyObject
*args
) {
2254 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2255 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2257 return Py_BuildValue((char *)"");
2259 static PyObject
*_wrap_new_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2260 PyObject
*resultobj
;
2261 wxColour
*arg1
= 0 ;
2262 int arg2
= (int) wxSOLID
;
2265 PyObject
* obj0
= 0 ;
2266 PyObject
* obj1
= 0 ;
2268 (char *) "colour",(char *) "style", NULL
2271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2274 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2277 arg2
= (int) SWIG_AsInt(obj1
);
2278 if (PyErr_Occurred()) SWIG_fail
;
2281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2282 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2284 wxPyEndAllowThreads(__tstate
);
2285 if (PyErr_Occurred()) SWIG_fail
;
2287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2294 static PyObject
*_wrap_delete_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2295 PyObject
*resultobj
;
2296 wxBrush
*arg1
= (wxBrush
*) 0 ;
2297 PyObject
* obj0
= 0 ;
2299 (char *) "self", NULL
2302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2309 wxPyEndAllowThreads(__tstate
);
2310 if (PyErr_Occurred()) SWIG_fail
;
2312 Py_INCREF(Py_None
); resultobj
= Py_None
;
2319 static PyObject
*_wrap_Brush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2320 PyObject
*resultobj
;
2321 wxBrush
*arg1
= (wxBrush
*) 0 ;
2322 wxColour
*arg2
= 0 ;
2324 PyObject
* obj0
= 0 ;
2325 PyObject
* obj1
= 0 ;
2327 (char *) "self",(char *) "col", NULL
2330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2335 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2339 (arg1
)->SetColour((wxColour
const &)*arg2
);
2341 wxPyEndAllowThreads(__tstate
);
2342 if (PyErr_Occurred()) SWIG_fail
;
2344 Py_INCREF(Py_None
); resultobj
= Py_None
;
2351 static PyObject
*_wrap_Brush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2352 PyObject
*resultobj
;
2353 wxBrush
*arg1
= (wxBrush
*) 0 ;
2355 PyObject
* obj0
= 0 ;
2356 PyObject
* obj1
= 0 ;
2358 (char *) "self",(char *) "style", NULL
2361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2364 arg2
= (int) SWIG_AsInt(obj1
);
2365 if (PyErr_Occurred()) SWIG_fail
;
2367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2368 (arg1
)->SetStyle(arg2
);
2370 wxPyEndAllowThreads(__tstate
);
2371 if (PyErr_Occurred()) SWIG_fail
;
2373 Py_INCREF(Py_None
); resultobj
= Py_None
;
2380 static PyObject
*_wrap_Brush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2381 PyObject
*resultobj
;
2382 wxBrush
*arg1
= (wxBrush
*) 0 ;
2383 wxBitmap
*arg2
= 0 ;
2384 PyObject
* obj0
= 0 ;
2385 PyObject
* obj1
= 0 ;
2387 (char *) "self",(char *) "stipple", NULL
2390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2393 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2394 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2397 PyErr_SetString(PyExc_TypeError
,"null reference");
2401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2402 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2404 wxPyEndAllowThreads(__tstate
);
2405 if (PyErr_Occurred()) SWIG_fail
;
2407 Py_INCREF(Py_None
); resultobj
= Py_None
;
2414 static PyObject
*_wrap_Brush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2415 PyObject
*resultobj
;
2416 wxBrush
*arg1
= (wxBrush
*) 0 ;
2418 PyObject
* obj0
= 0 ;
2420 (char *) "self", NULL
2423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2428 result
= ((wxBrush
const *)arg1
)->GetColour();
2430 wxPyEndAllowThreads(__tstate
);
2431 if (PyErr_Occurred()) SWIG_fail
;
2434 wxColour
* resultptr
;
2435 resultptr
= new wxColour((wxColour
&) result
);
2436 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2444 static PyObject
*_wrap_Brush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2445 PyObject
*resultobj
;
2446 wxBrush
*arg1
= (wxBrush
*) 0 ;
2448 PyObject
* obj0
= 0 ;
2450 (char *) "self", NULL
2453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2458 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2460 wxPyEndAllowThreads(__tstate
);
2461 if (PyErr_Occurred()) SWIG_fail
;
2463 resultobj
= SWIG_FromInt((int)result
);
2470 static PyObject
*_wrap_Brush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2471 PyObject
*resultobj
;
2472 wxBrush
*arg1
= (wxBrush
*) 0 ;
2474 PyObject
* obj0
= 0 ;
2476 (char *) "self", NULL
2479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2484 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2486 wxPyEndAllowThreads(__tstate
);
2487 if (PyErr_Occurred()) SWIG_fail
;
2489 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2496 static PyObject
*_wrap_Brush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2497 PyObject
*resultobj
;
2498 wxBrush
*arg1
= (wxBrush
*) 0 ;
2500 PyObject
* obj0
= 0 ;
2502 (char *) "self", NULL
2505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2510 result
= (bool)(arg1
)->Ok();
2512 wxPyEndAllowThreads(__tstate
);
2513 if (PyErr_Occurred()) SWIG_fail
;
2516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2524 static PyObject
*_wrap_Brush_MacGetTheme(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2525 PyObject
*resultobj
;
2526 wxBrush
*arg1
= (wxBrush
*) 0 ;
2528 PyObject
* obj0
= 0 ;
2530 (char *) "self", NULL
2533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_MacGetTheme",kwnames
,&obj0
)) goto fail
;
2534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2538 result
= (short)(arg1
)->MacGetTheme();
2540 wxPyEndAllowThreads(__tstate
);
2541 if (PyErr_Occurred()) SWIG_fail
;
2543 resultobj
= SWIG_FromShort((short)result
);
2550 static PyObject
*_wrap_Brush_MacSetTheme(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2551 PyObject
*resultobj
;
2552 wxBrush
*arg1
= (wxBrush
*) 0 ;
2554 PyObject
* obj0
= 0 ;
2555 PyObject
* obj1
= 0 ;
2557 (char *) "self",(char *) "macThemeBrush", NULL
2560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) goto fail
;
2561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2563 arg2
= (short) SWIG_AsShort(obj1
);
2564 if (PyErr_Occurred()) SWIG_fail
;
2566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2567 (arg1
)->MacSetTheme(arg2
);
2569 wxPyEndAllowThreads(__tstate
);
2570 if (PyErr_Occurred()) SWIG_fail
;
2572 Py_INCREF(Py_None
); resultobj
= Py_None
;
2579 static PyObject
* Brush_swigregister(PyObject
*self
, PyObject
*args
) {
2581 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2582 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2584 return Py_BuildValue((char *)"");
2586 static PyObject
*_wrap_new_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2587 PyObject
*resultobj
;
2588 wxString
*arg1
= 0 ;
2589 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2591 bool temp1
= False
;
2592 PyObject
* obj0
= 0 ;
2593 PyObject
* obj1
= 0 ;
2595 (char *) "name",(char *) "type", NULL
2598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2600 arg1
= wxString_in_helper(obj0
);
2601 if (arg1
== NULL
) SWIG_fail
;
2605 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
2606 if (PyErr_Occurred()) SWIG_fail
;
2609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2610 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2612 wxPyEndAllowThreads(__tstate
);
2613 if (PyErr_Occurred()) SWIG_fail
;
2615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2630 static PyObject
*_wrap_delete_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2631 PyObject
*resultobj
;
2632 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2633 PyObject
* obj0
= 0 ;
2635 (char *) "self", NULL
2638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2645 wxPyEndAllowThreads(__tstate
);
2646 if (PyErr_Occurred()) SWIG_fail
;
2648 Py_INCREF(Py_None
); resultobj
= Py_None
;
2655 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2656 PyObject
*resultobj
;
2659 int arg3
= (int) -1 ;
2661 PyObject
* obj0
= 0 ;
2662 PyObject
* obj1
= 0 ;
2663 PyObject
* obj2
= 0 ;
2665 (char *) "width",(char *) "height",(char *) "depth", NULL
2668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2669 arg1
= (int) SWIG_AsInt(obj0
);
2670 if (PyErr_Occurred()) SWIG_fail
;
2671 arg2
= (int) SWIG_AsInt(obj1
);
2672 if (PyErr_Occurred()) SWIG_fail
;
2674 arg3
= (int) SWIG_AsInt(obj2
);
2675 if (PyErr_Occurred()) SWIG_fail
;
2678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2679 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2681 wxPyEndAllowThreads(__tstate
);
2682 if (PyErr_Occurred()) SWIG_fail
;
2684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2691 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2692 PyObject
*resultobj
;
2695 PyObject
* obj0
= 0 ;
2697 (char *) "icon", NULL
2700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
2702 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2705 PyErr_SetString(PyExc_TypeError
,"null reference");
2709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2710 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2712 wxPyEndAllowThreads(__tstate
);
2713 if (PyErr_Occurred()) SWIG_fail
;
2715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2722 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2723 PyObject
*resultobj
;
2725 int arg2
= (int) -1 ;
2727 PyObject
* obj0
= 0 ;
2728 PyObject
* obj1
= 0 ;
2730 (char *) "image",(char *) "depth", NULL
2733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2735 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2738 PyErr_SetString(PyExc_TypeError
,"null reference");
2742 arg2
= (int) SWIG_AsInt(obj1
);
2743 if (PyErr_Occurred()) SWIG_fail
;
2746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2747 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2749 wxPyEndAllowThreads(__tstate
);
2750 if (PyErr_Occurred()) SWIG_fail
;
2752 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2759 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2760 PyObject
*resultobj
;
2761 PyObject
*arg1
= (PyObject
*) 0 ;
2763 PyObject
* obj0
= 0 ;
2765 (char *) "listOfStrings", NULL
2768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2772 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2774 wxPyEndAllowThreads(__tstate
);
2775 if (PyErr_Occurred()) SWIG_fail
;
2777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2784 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2785 PyObject
*resultobj
;
2786 PyObject
*arg1
= (PyObject
*) 0 ;
2789 int arg4
= (int) 1 ;
2791 PyObject
* obj0
= 0 ;
2792 PyObject
* obj1
= 0 ;
2793 PyObject
* obj2
= 0 ;
2794 PyObject
* obj3
= 0 ;
2796 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2801 arg2
= (int) SWIG_AsInt(obj1
);
2802 if (PyErr_Occurred()) SWIG_fail
;
2803 arg3
= (int) SWIG_AsInt(obj2
);
2804 if (PyErr_Occurred()) SWIG_fail
;
2806 arg4
= (int) SWIG_AsInt(obj3
);
2807 if (PyErr_Occurred()) SWIG_fail
;
2810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2811 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2813 wxPyEndAllowThreads(__tstate
);
2814 if (PyErr_Occurred()) SWIG_fail
;
2816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2823 static PyObject
*_wrap_Bitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2824 PyObject
*resultobj
;
2825 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2827 PyObject
* obj0
= 0 ;
2829 (char *) "self", NULL
2832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
2833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2837 result
= (bool)(arg1
)->Ok();
2839 wxPyEndAllowThreads(__tstate
);
2840 if (PyErr_Occurred()) SWIG_fail
;
2843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2851 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2852 PyObject
*resultobj
;
2853 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2855 PyObject
* obj0
= 0 ;
2857 (char *) "self", NULL
2860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
2861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2865 result
= (int)(arg1
)->GetWidth();
2867 wxPyEndAllowThreads(__tstate
);
2868 if (PyErr_Occurred()) SWIG_fail
;
2870 resultobj
= SWIG_FromInt((int)result
);
2877 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2878 PyObject
*resultobj
;
2879 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2881 PyObject
* obj0
= 0 ;
2883 (char *) "self", NULL
2886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
2887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2891 result
= (int)(arg1
)->GetHeight();
2893 wxPyEndAllowThreads(__tstate
);
2894 if (PyErr_Occurred()) SWIG_fail
;
2896 resultobj
= SWIG_FromInt((int)result
);
2903 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2904 PyObject
*resultobj
;
2905 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2907 PyObject
* obj0
= 0 ;
2909 (char *) "self", NULL
2912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
2913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2917 result
= (int)(arg1
)->GetDepth();
2919 wxPyEndAllowThreads(__tstate
);
2920 if (PyErr_Occurred()) SWIG_fail
;
2922 resultobj
= SWIG_FromInt((int)result
);
2929 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2930 PyObject
*resultobj
;
2931 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2933 PyObject
* obj0
= 0 ;
2935 (char *) "self", NULL
2938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
2939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2943 result
= wxBitmap_GetSize(arg1
);
2945 wxPyEndAllowThreads(__tstate
);
2946 if (PyErr_Occurred()) SWIG_fail
;
2950 resultptr
= new wxSize((wxSize
&) result
);
2951 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2959 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2960 PyObject
*resultobj
;
2961 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2962 SwigValueWrapper
< wxImage
> result
;
2963 PyObject
* obj0
= 0 ;
2965 (char *) "self", NULL
2968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
2969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2973 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
2975 wxPyEndAllowThreads(__tstate
);
2976 if (PyErr_Occurred()) SWIG_fail
;
2979 wxImage
* resultptr
;
2980 resultptr
= new wxImage((wxImage
&) result
);
2981 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
2989 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2990 PyObject
*resultobj
;
2991 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2993 PyObject
* obj0
= 0 ;
2995 (char *) "self", NULL
2998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
2999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3003 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
3005 wxPyEndAllowThreads(__tstate
);
3006 if (PyErr_Occurred()) SWIG_fail
;
3008 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
3015 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3016 PyObject
*resultobj
;
3017 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3018 wxMask
*arg2
= (wxMask
*) 0 ;
3019 PyObject
* obj0
= 0 ;
3020 PyObject
* obj1
= 0 ;
3022 (char *) "self",(char *) "mask", NULL
3025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3028 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3032 (arg1
)->SetMask(arg2
);
3034 wxPyEndAllowThreads(__tstate
);
3035 if (PyErr_Occurred()) SWIG_fail
;
3037 Py_INCREF(Py_None
); resultobj
= Py_None
;
3044 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3045 PyObject
*resultobj
;
3046 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3047 wxColour
*arg2
= 0 ;
3049 PyObject
* obj0
= 0 ;
3050 PyObject
* obj1
= 0 ;
3052 (char *) "self",(char *) "colour", NULL
3055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3060 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3064 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3066 wxPyEndAllowThreads(__tstate
);
3067 if (PyErr_Occurred()) SWIG_fail
;
3069 Py_INCREF(Py_None
); resultobj
= Py_None
;
3076 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3077 PyObject
*resultobj
;
3078 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3080 SwigValueWrapper
< wxBitmap
> result
;
3082 PyObject
* obj0
= 0 ;
3083 PyObject
* obj1
= 0 ;
3085 (char *) "self",(char *) "rect", NULL
3088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3093 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3097 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3099 wxPyEndAllowThreads(__tstate
);
3100 if (PyErr_Occurred()) SWIG_fail
;
3103 wxBitmap
* resultptr
;
3104 resultptr
= new wxBitmap((wxBitmap
&) result
);
3105 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3113 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3114 PyObject
*resultobj
;
3115 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3116 wxString
*arg2
= 0 ;
3118 wxPalette
*arg4
= (wxPalette
*) NULL
;
3120 bool temp2
= False
;
3121 PyObject
* obj0
= 0 ;
3122 PyObject
* obj1
= 0 ;
3123 PyObject
* obj2
= 0 ;
3124 PyObject
* obj3
= 0 ;
3126 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3133 arg2
= wxString_in_helper(obj1
);
3134 if (arg2
== NULL
) SWIG_fail
;
3137 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3138 if (PyErr_Occurred()) SWIG_fail
;
3140 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3145 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3147 wxPyEndAllowThreads(__tstate
);
3148 if (PyErr_Occurred()) SWIG_fail
;
3151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3167 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3168 PyObject
*resultobj
;
3169 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3170 wxString
*arg2
= 0 ;
3173 bool temp2
= False
;
3174 PyObject
* obj0
= 0 ;
3175 PyObject
* obj1
= 0 ;
3176 PyObject
* obj2
= 0 ;
3178 (char *) "self",(char *) "name",(char *) "type", NULL
3181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3185 arg2
= wxString_in_helper(obj1
);
3186 if (arg2
== NULL
) SWIG_fail
;
3189 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3190 if (PyErr_Occurred()) SWIG_fail
;
3192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3193 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3195 wxPyEndAllowThreads(__tstate
);
3196 if (PyErr_Occurred()) SWIG_fail
;
3199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3215 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3216 PyObject
*resultobj
;
3217 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3220 PyObject
* obj0
= 0 ;
3221 PyObject
* obj1
= 0 ;
3223 (char *) "self",(char *) "icon", NULL
3226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3229 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3230 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3233 PyErr_SetString(PyExc_TypeError
,"null reference");
3237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3238 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3240 wxPyEndAllowThreads(__tstate
);
3241 if (PyErr_Occurred()) SWIG_fail
;
3244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3252 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3253 PyObject
*resultobj
;
3254 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3256 PyObject
* obj0
= 0 ;
3257 PyObject
* obj1
= 0 ;
3259 (char *) "self",(char *) "height", NULL
3262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3265 arg2
= (int) SWIG_AsInt(obj1
);
3266 if (PyErr_Occurred()) SWIG_fail
;
3268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3269 (arg1
)->SetHeight(arg2
);
3271 wxPyEndAllowThreads(__tstate
);
3272 if (PyErr_Occurred()) SWIG_fail
;
3274 Py_INCREF(Py_None
); resultobj
= Py_None
;
3281 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3282 PyObject
*resultobj
;
3283 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3285 PyObject
* obj0
= 0 ;
3286 PyObject
* obj1
= 0 ;
3288 (char *) "self",(char *) "width", NULL
3291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3294 arg2
= (int) SWIG_AsInt(obj1
);
3295 if (PyErr_Occurred()) SWIG_fail
;
3297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3298 (arg1
)->SetWidth(arg2
);
3300 wxPyEndAllowThreads(__tstate
);
3301 if (PyErr_Occurred()) SWIG_fail
;
3303 Py_INCREF(Py_None
); resultobj
= Py_None
;
3310 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3311 PyObject
*resultobj
;
3312 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3314 PyObject
* obj0
= 0 ;
3315 PyObject
* obj1
= 0 ;
3317 (char *) "self",(char *) "depth", NULL
3320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3323 arg2
= (int) SWIG_AsInt(obj1
);
3324 if (PyErr_Occurred()) SWIG_fail
;
3326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3327 (arg1
)->SetDepth(arg2
);
3329 wxPyEndAllowThreads(__tstate
);
3330 if (PyErr_Occurred()) SWIG_fail
;
3332 Py_INCREF(Py_None
); resultobj
= Py_None
;
3339 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3340 PyObject
*resultobj
;
3341 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3344 PyObject
* obj0
= 0 ;
3345 PyObject
* obj1
= 0 ;
3347 (char *) "self",(char *) "size", NULL
3350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3355 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3359 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
3361 wxPyEndAllowThreads(__tstate
);
3362 if (PyErr_Occurred()) SWIG_fail
;
3364 Py_INCREF(Py_None
); resultobj
= Py_None
;
3371 static PyObject
*_wrap_Bitmap___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3372 PyObject
*resultobj
;
3373 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3374 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3376 PyObject
* obj0
= 0 ;
3377 PyObject
* obj1
= 0 ;
3379 (char *) "self",(char *) "other", NULL
3382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3385 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3389 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
3391 wxPyEndAllowThreads(__tstate
);
3392 if (PyErr_Occurred()) SWIG_fail
;
3395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3403 static PyObject
*_wrap_Bitmap___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3404 PyObject
*resultobj
;
3405 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3406 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3408 PyObject
* obj0
= 0 ;
3409 PyObject
* obj1
= 0 ;
3411 (char *) "self",(char *) "other", NULL
3414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3417 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3421 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
3423 wxPyEndAllowThreads(__tstate
);
3424 if (PyErr_Occurred()) SWIG_fail
;
3427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3435 static PyObject
* Bitmap_swigregister(PyObject
*self
, PyObject
*args
) {
3437 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3438 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3440 return Py_BuildValue((char *)"");
3442 static PyObject
*_wrap_new_Mask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3443 PyObject
*resultobj
;
3444 wxBitmap
*arg1
= 0 ;
3445 wxColour
const &arg2_defvalue
= wxNullColour
;
3446 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3449 PyObject
* obj0
= 0 ;
3450 PyObject
* obj1
= 0 ;
3452 (char *) "bitmap",(char *) "colour", NULL
3455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3457 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3460 PyErr_SetString(PyExc_TypeError
,"null reference");
3466 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3471 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3473 wxPyEndAllowThreads(__tstate
);
3474 if (PyErr_Occurred()) SWIG_fail
;
3476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3483 static PyObject
* Mask_swigregister(PyObject
*self
, PyObject
*args
) {
3485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3486 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3488 return Py_BuildValue((char *)"");
3490 static PyObject
*_wrap_new_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3491 PyObject
*resultobj
;
3492 wxString
*arg1
= 0 ;
3494 int arg3
= (int) -1 ;
3495 int arg4
= (int) -1 ;
3497 bool temp1
= False
;
3498 PyObject
* obj0
= 0 ;
3499 PyObject
* obj1
= 0 ;
3500 PyObject
* obj2
= 0 ;
3501 PyObject
* obj3
= 0 ;
3503 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3508 arg1
= wxString_in_helper(obj0
);
3509 if (arg1
== NULL
) SWIG_fail
;
3512 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
3513 if (PyErr_Occurred()) SWIG_fail
;
3515 arg3
= (int) SWIG_AsInt(obj2
);
3516 if (PyErr_Occurred()) SWIG_fail
;
3519 arg4
= (int) SWIG_AsInt(obj3
);
3520 if (PyErr_Occurred()) SWIG_fail
;
3523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3524 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3526 wxPyEndAllowThreads(__tstate
);
3527 if (PyErr_Occurred()) SWIG_fail
;
3529 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3544 static PyObject
*_wrap_delete_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3545 PyObject
*resultobj
;
3546 wxIcon
*arg1
= (wxIcon
*) 0 ;
3547 PyObject
* obj0
= 0 ;
3549 (char *) "self", NULL
3552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3559 wxPyEndAllowThreads(__tstate
);
3560 if (PyErr_Occurred()) SWIG_fail
;
3562 Py_INCREF(Py_None
); resultobj
= Py_None
;
3569 static PyObject
*_wrap_new_EmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3570 PyObject
*resultobj
;
3576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3579 result
= (wxIcon
*)new wxIcon();
3581 wxPyEndAllowThreads(__tstate
);
3582 if (PyErr_Occurred()) SWIG_fail
;
3584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3591 static PyObject
*_wrap_new_IconFromLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3592 PyObject
*resultobj
;
3593 wxIconLocation
*arg1
= 0 ;
3595 PyObject
* obj0
= 0 ;
3597 (char *) "loc", NULL
3600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3602 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3605 PyErr_SetString(PyExc_TypeError
,"null reference");
3609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3610 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3612 wxPyEndAllowThreads(__tstate
);
3613 if (PyErr_Occurred()) SWIG_fail
;
3615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3622 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3623 PyObject
*resultobj
;
3624 wxBitmap
*arg1
= 0 ;
3626 PyObject
* obj0
= 0 ;
3628 (char *) "bmp", NULL
3631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3633 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3636 PyErr_SetString(PyExc_TypeError
,"null reference");
3640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3641 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3643 wxPyEndAllowThreads(__tstate
);
3644 if (PyErr_Occurred()) SWIG_fail
;
3646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3653 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3654 PyObject
*resultobj
;
3655 PyObject
*arg1
= (PyObject
*) 0 ;
3657 PyObject
* obj0
= 0 ;
3659 (char *) "listOfStrings", NULL
3662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3666 result
= (wxIcon
*)new_wxIcon(arg1
);
3668 wxPyEndAllowThreads(__tstate
);
3669 if (PyErr_Occurred()) SWIG_fail
;
3671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3678 static PyObject
*_wrap_Icon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3679 PyObject
*resultobj
;
3680 wxIcon
*arg1
= (wxIcon
*) 0 ;
3682 PyObject
* obj0
= 0 ;
3684 (char *) "self", NULL
3687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3692 result
= (bool)(arg1
)->Ok();
3694 wxPyEndAllowThreads(__tstate
);
3695 if (PyErr_Occurred()) SWIG_fail
;
3698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3706 static PyObject
*_wrap_Icon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3707 PyObject
*resultobj
;
3708 wxIcon
*arg1
= (wxIcon
*) 0 ;
3710 PyObject
* obj0
= 0 ;
3712 (char *) "self", NULL
3715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3720 result
= (int)(arg1
)->GetWidth();
3722 wxPyEndAllowThreads(__tstate
);
3723 if (PyErr_Occurred()) SWIG_fail
;
3725 resultobj
= SWIG_FromInt((int)result
);
3732 static PyObject
*_wrap_Icon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3733 PyObject
*resultobj
;
3734 wxIcon
*arg1
= (wxIcon
*) 0 ;
3736 PyObject
* obj0
= 0 ;
3738 (char *) "self", NULL
3741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
3742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3746 result
= (int)(arg1
)->GetHeight();
3748 wxPyEndAllowThreads(__tstate
);
3749 if (PyErr_Occurred()) SWIG_fail
;
3751 resultobj
= SWIG_FromInt((int)result
);
3758 static PyObject
*_wrap_Icon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3759 PyObject
*resultobj
;
3760 wxIcon
*arg1
= (wxIcon
*) 0 ;
3762 PyObject
* obj0
= 0 ;
3764 (char *) "self", NULL
3767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
3768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3772 result
= (int)(arg1
)->GetDepth();
3774 wxPyEndAllowThreads(__tstate
);
3775 if (PyErr_Occurred()) SWIG_fail
;
3777 resultobj
= SWIG_FromInt((int)result
);
3784 static PyObject
*_wrap_Icon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3785 PyObject
*resultobj
;
3786 wxIcon
*arg1
= (wxIcon
*) 0 ;
3788 PyObject
* obj0
= 0 ;
3789 PyObject
* obj1
= 0 ;
3791 (char *) "self",(char *) "w", NULL
3794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3797 arg2
= (int) SWIG_AsInt(obj1
);
3798 if (PyErr_Occurred()) SWIG_fail
;
3800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3801 (arg1
)->SetWidth(arg2
);
3803 wxPyEndAllowThreads(__tstate
);
3804 if (PyErr_Occurred()) SWIG_fail
;
3806 Py_INCREF(Py_None
); resultobj
= Py_None
;
3813 static PyObject
*_wrap_Icon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3814 PyObject
*resultobj
;
3815 wxIcon
*arg1
= (wxIcon
*) 0 ;
3817 PyObject
* obj0
= 0 ;
3818 PyObject
* obj1
= 0 ;
3820 (char *) "self",(char *) "h", NULL
3823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3826 arg2
= (int) SWIG_AsInt(obj1
);
3827 if (PyErr_Occurred()) SWIG_fail
;
3829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3830 (arg1
)->SetHeight(arg2
);
3832 wxPyEndAllowThreads(__tstate
);
3833 if (PyErr_Occurred()) SWIG_fail
;
3835 Py_INCREF(Py_None
); resultobj
= Py_None
;
3842 static PyObject
*_wrap_Icon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3843 PyObject
*resultobj
;
3844 wxIcon
*arg1
= (wxIcon
*) 0 ;
3846 PyObject
* obj0
= 0 ;
3847 PyObject
* obj1
= 0 ;
3849 (char *) "self",(char *) "d", NULL
3852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3855 arg2
= (int) SWIG_AsInt(obj1
);
3856 if (PyErr_Occurred()) SWIG_fail
;
3858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3859 (arg1
)->SetDepth(arg2
);
3861 wxPyEndAllowThreads(__tstate
);
3862 if (PyErr_Occurred()) SWIG_fail
;
3864 Py_INCREF(Py_None
); resultobj
= Py_None
;
3871 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3872 PyObject
*resultobj
;
3873 wxIcon
*arg1
= (wxIcon
*) 0 ;
3874 wxBitmap
*arg2
= 0 ;
3875 PyObject
* obj0
= 0 ;
3876 PyObject
* obj1
= 0 ;
3878 (char *) "self",(char *) "bmp", NULL
3881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3884 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3885 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3888 PyErr_SetString(PyExc_TypeError
,"null reference");
3892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3893 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
3895 wxPyEndAllowThreads(__tstate
);
3896 if (PyErr_Occurred()) SWIG_fail
;
3898 Py_INCREF(Py_None
); resultobj
= Py_None
;
3905 static PyObject
* Icon_swigregister(PyObject
*self
, PyObject
*args
) {
3907 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3908 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
3910 return Py_BuildValue((char *)"");
3912 static PyObject
*_wrap_new_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3913 PyObject
*resultobj
;
3914 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
3915 int arg2
= (int) 0 ;
3916 wxIconLocation
*result
;
3917 bool temp1
= False
;
3918 PyObject
* obj0
= 0 ;
3919 PyObject
* obj1
= 0 ;
3921 (char *) "filename",(char *) "num", NULL
3924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
3927 arg1
= wxString_in_helper(obj0
);
3928 if (arg1
== NULL
) SWIG_fail
;
3933 arg2
= (int) SWIG_AsInt(obj1
);
3934 if (PyErr_Occurred()) SWIG_fail
;
3937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3938 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
3940 wxPyEndAllowThreads(__tstate
);
3941 if (PyErr_Occurred()) SWIG_fail
;
3943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
3958 static PyObject
*_wrap_delete_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3959 PyObject
*resultobj
;
3960 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3961 PyObject
* obj0
= 0 ;
3963 (char *) "self", NULL
3966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
3967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3973 wxPyEndAllowThreads(__tstate
);
3974 if (PyErr_Occurred()) SWIG_fail
;
3976 Py_INCREF(Py_None
); resultobj
= Py_None
;
3983 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3984 PyObject
*resultobj
;
3985 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3987 PyObject
* obj0
= 0 ;
3989 (char *) "self", NULL
3992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
3993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3997 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
3999 wxPyEndAllowThreads(__tstate
);
4000 if (PyErr_Occurred()) SWIG_fail
;
4003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4011 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4012 PyObject
*resultobj
;
4013 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4014 wxString
*arg2
= 0 ;
4015 bool temp2
= False
;
4016 PyObject
* obj0
= 0 ;
4017 PyObject
* obj1
= 0 ;
4019 (char *) "self",(char *) "filename", NULL
4022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4026 arg2
= wxString_in_helper(obj1
);
4027 if (arg2
== NULL
) SWIG_fail
;
4031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4032 (arg1
)->SetFileName((wxString
const &)*arg2
);
4034 wxPyEndAllowThreads(__tstate
);
4035 if (PyErr_Occurred()) SWIG_fail
;
4037 Py_INCREF(Py_None
); resultobj
= Py_None
;
4052 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4053 PyObject
*resultobj
;
4054 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4056 PyObject
* obj0
= 0 ;
4058 (char *) "self", NULL
4061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4067 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4068 result
= (wxString
*) &_result_ref
;
4071 wxPyEndAllowThreads(__tstate
);
4072 if (PyErr_Occurred()) SWIG_fail
;
4076 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4078 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4087 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4088 PyObject
*resultobj
;
4089 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4091 PyObject
* obj0
= 0 ;
4092 PyObject
* obj1
= 0 ;
4094 (char *) "self",(char *) "num", NULL
4097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4100 arg2
= (int) SWIG_AsInt(obj1
);
4101 if (PyErr_Occurred()) SWIG_fail
;
4103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4104 wxIconLocation_SetIndex(arg1
,arg2
);
4106 wxPyEndAllowThreads(__tstate
);
4107 if (PyErr_Occurred()) SWIG_fail
;
4109 Py_INCREF(Py_None
); resultobj
= Py_None
;
4116 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4117 PyObject
*resultobj
;
4118 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4120 PyObject
* obj0
= 0 ;
4122 (char *) "self", NULL
4125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4130 result
= (int)wxIconLocation_GetIndex(arg1
);
4132 wxPyEndAllowThreads(__tstate
);
4133 if (PyErr_Occurred()) SWIG_fail
;
4135 resultobj
= SWIG_FromInt((int)result
);
4142 static PyObject
* IconLocation_swigregister(PyObject
*self
, PyObject
*args
) {
4144 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4145 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4147 return Py_BuildValue((char *)"");
4149 static PyObject
*_wrap_new_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4150 PyObject
*resultobj
;
4151 wxIconBundle
*result
;
4156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4159 result
= (wxIconBundle
*)new wxIconBundle();
4161 wxPyEndAllowThreads(__tstate
);
4162 if (PyErr_Occurred()) SWIG_fail
;
4164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4171 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4172 PyObject
*resultobj
;
4173 wxString
*arg1
= 0 ;
4175 wxIconBundle
*result
;
4176 bool temp1
= False
;
4177 PyObject
* obj0
= 0 ;
4178 PyObject
* obj1
= 0 ;
4180 (char *) "file",(char *) "type", NULL
4183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4185 arg1
= wxString_in_helper(obj0
);
4186 if (arg1
== NULL
) SWIG_fail
;
4189 arg2
= (long) SWIG_AsLong(obj1
);
4190 if (PyErr_Occurred()) SWIG_fail
;
4192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4193 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4195 wxPyEndAllowThreads(__tstate
);
4196 if (PyErr_Occurred()) SWIG_fail
;
4198 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4213 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4214 PyObject
*resultobj
;
4216 wxIconBundle
*result
;
4217 PyObject
* obj0
= 0 ;
4219 (char *) "icon", NULL
4222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4224 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4227 PyErr_SetString(PyExc_TypeError
,"null reference");
4231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4232 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4234 wxPyEndAllowThreads(__tstate
);
4235 if (PyErr_Occurred()) SWIG_fail
;
4237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4244 static PyObject
*_wrap_delete_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4245 PyObject
*resultobj
;
4246 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4247 PyObject
* obj0
= 0 ;
4249 (char *) "self", NULL
4252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4259 wxPyEndAllowThreads(__tstate
);
4260 if (PyErr_Occurred()) SWIG_fail
;
4262 Py_INCREF(Py_None
); resultobj
= Py_None
;
4269 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4270 PyObject
*resultobj
;
4271 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4273 PyObject
* obj0
= 0 ;
4274 PyObject
* obj1
= 0 ;
4276 (char *) "self",(char *) "icon", NULL
4279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4282 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4283 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4286 PyErr_SetString(PyExc_TypeError
,"null reference");
4290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4291 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4293 wxPyEndAllowThreads(__tstate
);
4294 if (PyErr_Occurred()) SWIG_fail
;
4296 Py_INCREF(Py_None
); resultobj
= Py_None
;
4303 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4304 PyObject
*resultobj
;
4305 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4306 wxString
*arg2
= 0 ;
4308 bool temp2
= False
;
4309 PyObject
* obj0
= 0 ;
4310 PyObject
* obj1
= 0 ;
4311 PyObject
* obj2
= 0 ;
4313 (char *) "self",(char *) "file",(char *) "type", NULL
4316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4320 arg2
= wxString_in_helper(obj1
);
4321 if (arg2
== NULL
) SWIG_fail
;
4324 arg3
= (long) SWIG_AsLong(obj2
);
4325 if (PyErr_Occurred()) SWIG_fail
;
4327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4328 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4330 wxPyEndAllowThreads(__tstate
);
4331 if (PyErr_Occurred()) SWIG_fail
;
4333 Py_INCREF(Py_None
); resultobj
= Py_None
;
4348 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4349 PyObject
*resultobj
;
4350 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4354 PyObject
* obj0
= 0 ;
4355 PyObject
* obj1
= 0 ;
4357 (char *) "self",(char *) "size", NULL
4360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4365 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4370 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4371 result
= (wxIcon
*) &_result_ref
;
4374 wxPyEndAllowThreads(__tstate
);
4375 if (PyErr_Occurred()) SWIG_fail
;
4378 wxIcon
* resultptr
= new wxIcon(*result
);
4379 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4387 static PyObject
* IconBundle_swigregister(PyObject
*self
, PyObject
*args
) {
4389 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4390 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4392 return Py_BuildValue((char *)"");
4394 static PyObject
*_wrap_new_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4395 PyObject
*resultobj
;
4396 wxString
*arg1
= (wxString
*) 0 ;
4398 int arg3
= (int) 0 ;
4399 int arg4
= (int) 0 ;
4401 bool temp1
= False
;
4402 PyObject
* obj0
= 0 ;
4403 PyObject
* obj1
= 0 ;
4404 PyObject
* obj2
= 0 ;
4405 PyObject
* obj3
= 0 ;
4407 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4412 arg1
= wxString_in_helper(obj0
);
4413 if (arg1
== NULL
) SWIG_fail
;
4416 arg2
= (long) SWIG_AsLong(obj1
);
4417 if (PyErr_Occurred()) SWIG_fail
;
4419 arg3
= (int) SWIG_AsInt(obj2
);
4420 if (PyErr_Occurred()) SWIG_fail
;
4423 arg4
= (int) SWIG_AsInt(obj3
);
4424 if (PyErr_Occurred()) SWIG_fail
;
4427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4428 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4430 wxPyEndAllowThreads(__tstate
);
4431 if (PyErr_Occurred()) SWIG_fail
;
4433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4448 static PyObject
*_wrap_delete_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4449 PyObject
*resultobj
;
4450 wxCursor
*arg1
= (wxCursor
*) 0 ;
4451 PyObject
* obj0
= 0 ;
4453 (char *) "self", NULL
4456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4463 wxPyEndAllowThreads(__tstate
);
4464 if (PyErr_Occurred()) SWIG_fail
;
4466 Py_INCREF(Py_None
); resultobj
= Py_None
;
4473 static PyObject
*_wrap_new_StockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4474 PyObject
*resultobj
;
4477 PyObject
* obj0
= 0 ;
4482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4483 arg1
= (int) SWIG_AsInt(obj0
);
4484 if (PyErr_Occurred()) SWIG_fail
;
4486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4487 result
= (wxCursor
*)new wxCursor(arg1
);
4489 wxPyEndAllowThreads(__tstate
);
4490 if (PyErr_Occurred()) SWIG_fail
;
4492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4499 static PyObject
*_wrap_new_CursorFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4500 PyObject
*resultobj
;
4503 PyObject
* obj0
= 0 ;
4505 (char *) "image", NULL
4508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
4510 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4513 PyErr_SetString(PyExc_TypeError
,"null reference");
4517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4518 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4520 wxPyEndAllowThreads(__tstate
);
4521 if (PyErr_Occurred()) SWIG_fail
;
4523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4530 static PyObject
*_wrap_Cursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4531 PyObject
*resultobj
;
4532 wxCursor
*arg1
= (wxCursor
*) 0 ;
4534 PyObject
* obj0
= 0 ;
4536 (char *) "self", NULL
4539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4544 result
= (bool)(arg1
)->Ok();
4546 wxPyEndAllowThreads(__tstate
);
4547 if (PyErr_Occurred()) SWIG_fail
;
4550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4558 static PyObject
* Cursor_swigregister(PyObject
*self
, PyObject
*args
) {
4560 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4561 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
4563 return Py_BuildValue((char *)"");
4565 static PyObject
*_wrap_new_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4566 PyObject
*resultobj
;
4567 int arg1
= (int) 0 ;
4568 int arg2
= (int) 0 ;
4569 int arg3
= (int) 0 ;
4570 int arg4
= (int) 0 ;
4572 PyObject
* obj0
= 0 ;
4573 PyObject
* obj1
= 0 ;
4574 PyObject
* obj2
= 0 ;
4575 PyObject
* obj3
= 0 ;
4577 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4582 arg1
= (int) SWIG_AsInt(obj0
);
4583 if (PyErr_Occurred()) SWIG_fail
;
4586 arg2
= (int) SWIG_AsInt(obj1
);
4587 if (PyErr_Occurred()) SWIG_fail
;
4590 arg3
= (int) SWIG_AsInt(obj2
);
4591 if (PyErr_Occurred()) SWIG_fail
;
4594 arg4
= (int) SWIG_AsInt(obj3
);
4595 if (PyErr_Occurred()) SWIG_fail
;
4598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4599 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
4601 wxPyEndAllowThreads(__tstate
);
4602 if (PyErr_Occurred()) SWIG_fail
;
4604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4611 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4612 PyObject
*resultobj
;
4613 wxBitmap
*arg1
= 0 ;
4614 wxColour
const &arg2_defvalue
= wxNullColour
;
4615 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
4616 int arg3
= (int) 0 ;
4619 PyObject
* obj0
= 0 ;
4620 PyObject
* obj1
= 0 ;
4621 PyObject
* obj2
= 0 ;
4623 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_RegionFromBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4628 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4631 PyErr_SetString(PyExc_TypeError
,"null reference");
4637 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4641 arg3
= (int) SWIG_AsInt(obj2
);
4642 if (PyErr_Occurred()) SWIG_fail
;
4645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4646 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
4648 wxPyEndAllowThreads(__tstate
);
4649 if (PyErr_Occurred()) SWIG_fail
;
4651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4658 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4659 PyObject
*resultobj
;
4661 wxPoint
*arg2
= (wxPoint
*) 0 ;
4662 int arg3
= (int) wxWINDING_RULE
;
4664 PyObject
* obj0
= 0 ;
4665 PyObject
* obj1
= 0 ;
4667 (char *) "points",(char *) "fillStyle", NULL
4670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4672 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
4673 if (arg2
== NULL
) SWIG_fail
;
4676 arg3
= (int) SWIG_AsInt(obj1
);
4677 if (PyErr_Occurred()) SWIG_fail
;
4680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4681 result
= (wxRegion
*)new_wxRegion(arg1
,arg2
,arg3
);
4683 wxPyEndAllowThreads(__tstate
);
4684 if (PyErr_Occurred()) SWIG_fail
;
4686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4688 if (arg2
) delete [] arg2
;
4693 if (arg2
) delete [] arg2
;
4699 static PyObject
*_wrap_delete_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4700 PyObject
*resultobj
;
4701 wxRegion
*arg1
= (wxRegion
*) 0 ;
4702 PyObject
* obj0
= 0 ;
4704 (char *) "self", NULL
4707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
4708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4714 wxPyEndAllowThreads(__tstate
);
4715 if (PyErr_Occurred()) SWIG_fail
;
4717 Py_INCREF(Py_None
); resultobj
= Py_None
;
4724 static PyObject
*_wrap_Region_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4725 PyObject
*resultobj
;
4726 wxRegion
*arg1
= (wxRegion
*) 0 ;
4727 PyObject
* obj0
= 0 ;
4729 (char *) "self", NULL
4732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
4733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4739 wxPyEndAllowThreads(__tstate
);
4740 if (PyErr_Occurred()) SWIG_fail
;
4742 Py_INCREF(Py_None
); resultobj
= Py_None
;
4749 static PyObject
*_wrap_Region_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4750 PyObject
*resultobj
;
4751 wxRegion
*arg1
= (wxRegion
*) 0 ;
4755 PyObject
* obj0
= 0 ;
4756 PyObject
* obj1
= 0 ;
4757 PyObject
* obj2
= 0 ;
4759 (char *) "self",(char *) "x",(char *) "y", NULL
4762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4765 arg2
= (int) SWIG_AsInt(obj1
);
4766 if (PyErr_Occurred()) SWIG_fail
;
4767 arg3
= (int) SWIG_AsInt(obj2
);
4768 if (PyErr_Occurred()) SWIG_fail
;
4770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4771 result
= (int)(arg1
)->Contains(arg2
,arg3
);
4773 wxPyEndAllowThreads(__tstate
);
4774 if (PyErr_Occurred()) SWIG_fail
;
4776 resultobj
= SWIG_FromInt((int)result
);
4783 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4784 PyObject
*resultobj
;
4785 wxRegion
*arg1
= (wxRegion
*) 0 ;
4789 PyObject
* obj0
= 0 ;
4790 PyObject
* obj1
= 0 ;
4792 (char *) "self",(char *) "pt", NULL
4795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4800 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4804 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
4806 wxPyEndAllowThreads(__tstate
);
4807 if (PyErr_Occurred()) SWIG_fail
;
4809 resultobj
= SWIG_FromInt((int)result
);
4816 static PyObject
*_wrap_Region_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4817 PyObject
*resultobj
;
4818 wxRegion
*arg1
= (wxRegion
*) 0 ;
4822 PyObject
* obj0
= 0 ;
4823 PyObject
* obj1
= 0 ;
4825 (char *) "self",(char *) "rect", NULL
4828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4833 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4837 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
4839 wxPyEndAllowThreads(__tstate
);
4840 if (PyErr_Occurred()) SWIG_fail
;
4842 resultobj
= SWIG_FromInt((int)result
);
4849 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4850 PyObject
*resultobj
;
4851 wxRegion
*arg1
= (wxRegion
*) 0 ;
4857 PyObject
* obj0
= 0 ;
4858 PyObject
* obj1
= 0 ;
4859 PyObject
* obj2
= 0 ;
4860 PyObject
* obj3
= 0 ;
4861 PyObject
* obj4
= 0 ;
4863 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
4866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4869 arg2
= (int) SWIG_AsInt(obj1
);
4870 if (PyErr_Occurred()) SWIG_fail
;
4871 arg3
= (int) SWIG_AsInt(obj2
);
4872 if (PyErr_Occurred()) SWIG_fail
;
4873 arg4
= (int) SWIG_AsInt(obj3
);
4874 if (PyErr_Occurred()) SWIG_fail
;
4875 arg5
= (int) SWIG_AsInt(obj4
);
4876 if (PyErr_Occurred()) SWIG_fail
;
4878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4879 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
4881 wxPyEndAllowThreads(__tstate
);
4882 if (PyErr_Occurred()) SWIG_fail
;
4884 resultobj
= SWIG_FromInt((int)result
);
4891 static PyObject
*_wrap_Region_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4892 PyObject
*resultobj
;
4893 wxRegion
*arg1
= (wxRegion
*) 0 ;
4895 PyObject
* obj0
= 0 ;
4897 (char *) "self", NULL
4900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
4901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4905 result
= (arg1
)->GetBox();
4907 wxPyEndAllowThreads(__tstate
);
4908 if (PyErr_Occurred()) SWIG_fail
;
4912 resultptr
= new wxRect((wxRect
&) result
);
4913 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4921 static PyObject
*_wrap_Region_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4922 PyObject
*resultobj
;
4923 wxRegion
*arg1
= (wxRegion
*) 0 ;
4929 PyObject
* obj0
= 0 ;
4930 PyObject
* obj1
= 0 ;
4931 PyObject
* obj2
= 0 ;
4932 PyObject
* obj3
= 0 ;
4933 PyObject
* obj4
= 0 ;
4935 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4941 arg2
= (int) SWIG_AsInt(obj1
);
4942 if (PyErr_Occurred()) SWIG_fail
;
4943 arg3
= (int) SWIG_AsInt(obj2
);
4944 if (PyErr_Occurred()) SWIG_fail
;
4945 arg4
= (int) SWIG_AsInt(obj3
);
4946 if (PyErr_Occurred()) SWIG_fail
;
4947 arg5
= (int) SWIG_AsInt(obj4
);
4948 if (PyErr_Occurred()) SWIG_fail
;
4950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4951 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
4953 wxPyEndAllowThreads(__tstate
);
4954 if (PyErr_Occurred()) SWIG_fail
;
4957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4965 static PyObject
*_wrap_Region_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4966 PyObject
*resultobj
;
4967 wxRegion
*arg1
= (wxRegion
*) 0 ;
4971 PyObject
* obj0
= 0 ;
4972 PyObject
* obj1
= 0 ;
4974 (char *) "self",(char *) "rect", NULL
4977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4982 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4986 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
4988 wxPyEndAllowThreads(__tstate
);
4989 if (PyErr_Occurred()) SWIG_fail
;
4992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5000 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5001 PyObject
*resultobj
;
5002 wxRegion
*arg1
= (wxRegion
*) 0 ;
5003 wxRegion
*arg2
= 0 ;
5005 PyObject
* obj0
= 0 ;
5006 PyObject
* obj1
= 0 ;
5008 (char *) "self",(char *) "region", NULL
5011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5014 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5015 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5018 PyErr_SetString(PyExc_TypeError
,"null reference");
5022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5023 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5025 wxPyEndAllowThreads(__tstate
);
5026 if (PyErr_Occurred()) SWIG_fail
;
5029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5037 static PyObject
*_wrap_Region_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5038 PyObject
*resultobj
;
5039 wxRegion
*arg1
= (wxRegion
*) 0 ;
5041 PyObject
* obj0
= 0 ;
5043 (char *) "self", NULL
5046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5051 result
= (bool)(arg1
)->IsEmpty();
5053 wxPyEndAllowThreads(__tstate
);
5054 if (PyErr_Occurred()) SWIG_fail
;
5057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5065 static PyObject
*_wrap_Region_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5066 PyObject
*resultobj
;
5067 wxRegion
*arg1
= (wxRegion
*) 0 ;
5073 PyObject
* obj0
= 0 ;
5074 PyObject
* obj1
= 0 ;
5075 PyObject
* obj2
= 0 ;
5076 PyObject
* obj3
= 0 ;
5077 PyObject
* obj4
= 0 ;
5079 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5085 arg2
= (int) SWIG_AsInt(obj1
);
5086 if (PyErr_Occurred()) SWIG_fail
;
5087 arg3
= (int) SWIG_AsInt(obj2
);
5088 if (PyErr_Occurred()) SWIG_fail
;
5089 arg4
= (int) SWIG_AsInt(obj3
);
5090 if (PyErr_Occurred()) SWIG_fail
;
5091 arg5
= (int) SWIG_AsInt(obj4
);
5092 if (PyErr_Occurred()) SWIG_fail
;
5094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5095 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5097 wxPyEndAllowThreads(__tstate
);
5098 if (PyErr_Occurred()) SWIG_fail
;
5101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5109 static PyObject
*_wrap_Region_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5110 PyObject
*resultobj
;
5111 wxRegion
*arg1
= (wxRegion
*) 0 ;
5115 PyObject
* obj0
= 0 ;
5116 PyObject
* obj1
= 0 ;
5118 (char *) "self",(char *) "rect", NULL
5121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5126 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5130 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5132 wxPyEndAllowThreads(__tstate
);
5133 if (PyErr_Occurred()) SWIG_fail
;
5136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5144 static PyObject
*_wrap_Region_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5145 PyObject
*resultobj
;
5146 wxRegion
*arg1
= (wxRegion
*) 0 ;
5147 wxRegion
*arg2
= 0 ;
5149 PyObject
* obj0
= 0 ;
5150 PyObject
* obj1
= 0 ;
5152 (char *) "self",(char *) "region", NULL
5155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5158 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5159 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5162 PyErr_SetString(PyExc_TypeError
,"null reference");
5166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5167 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5169 wxPyEndAllowThreads(__tstate
);
5170 if (PyErr_Occurred()) SWIG_fail
;
5173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5181 static PyObject
*_wrap_Region_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5182 PyObject
*resultobj
;
5183 wxRegion
*arg1
= (wxRegion
*) 0 ;
5189 PyObject
* obj0
= 0 ;
5190 PyObject
* obj1
= 0 ;
5191 PyObject
* obj2
= 0 ;
5192 PyObject
* obj3
= 0 ;
5193 PyObject
* obj4
= 0 ;
5195 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5201 arg2
= (int) SWIG_AsInt(obj1
);
5202 if (PyErr_Occurred()) SWIG_fail
;
5203 arg3
= (int) SWIG_AsInt(obj2
);
5204 if (PyErr_Occurred()) SWIG_fail
;
5205 arg4
= (int) SWIG_AsInt(obj3
);
5206 if (PyErr_Occurred()) SWIG_fail
;
5207 arg5
= (int) SWIG_AsInt(obj4
);
5208 if (PyErr_Occurred()) SWIG_fail
;
5210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5211 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5213 wxPyEndAllowThreads(__tstate
);
5214 if (PyErr_Occurred()) SWIG_fail
;
5217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5225 static PyObject
*_wrap_Region_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5226 PyObject
*resultobj
;
5227 wxRegion
*arg1
= (wxRegion
*) 0 ;
5231 PyObject
* obj0
= 0 ;
5232 PyObject
* obj1
= 0 ;
5234 (char *) "self",(char *) "rect", NULL
5237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5242 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5246 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5248 wxPyEndAllowThreads(__tstate
);
5249 if (PyErr_Occurred()) SWIG_fail
;
5252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5260 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5261 PyObject
*resultobj
;
5262 wxRegion
*arg1
= (wxRegion
*) 0 ;
5263 wxRegion
*arg2
= 0 ;
5265 PyObject
* obj0
= 0 ;
5266 PyObject
* obj1
= 0 ;
5268 (char *) "self",(char *) "region", NULL
5271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5274 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5275 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5278 PyErr_SetString(PyExc_TypeError
,"null reference");
5282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5283 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5285 wxPyEndAllowThreads(__tstate
);
5286 if (PyErr_Occurred()) SWIG_fail
;
5289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5297 static PyObject
*_wrap_Region_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5298 PyObject
*resultobj
;
5299 wxRegion
*arg1
= (wxRegion
*) 0 ;
5305 PyObject
* obj0
= 0 ;
5306 PyObject
* obj1
= 0 ;
5307 PyObject
* obj2
= 0 ;
5308 PyObject
* obj3
= 0 ;
5309 PyObject
* obj4
= 0 ;
5311 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5317 arg2
= (int) SWIG_AsInt(obj1
);
5318 if (PyErr_Occurred()) SWIG_fail
;
5319 arg3
= (int) SWIG_AsInt(obj2
);
5320 if (PyErr_Occurred()) SWIG_fail
;
5321 arg4
= (int) SWIG_AsInt(obj3
);
5322 if (PyErr_Occurred()) SWIG_fail
;
5323 arg5
= (int) SWIG_AsInt(obj4
);
5324 if (PyErr_Occurred()) SWIG_fail
;
5326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5327 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5329 wxPyEndAllowThreads(__tstate
);
5330 if (PyErr_Occurred()) SWIG_fail
;
5333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5341 static PyObject
*_wrap_Region_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5342 PyObject
*resultobj
;
5343 wxRegion
*arg1
= (wxRegion
*) 0 ;
5347 PyObject
* obj0
= 0 ;
5348 PyObject
* obj1
= 0 ;
5350 (char *) "self",(char *) "rect", NULL
5353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5358 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5362 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5364 wxPyEndAllowThreads(__tstate
);
5365 if (PyErr_Occurred()) SWIG_fail
;
5368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5376 static PyObject
*_wrap_Region_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5377 PyObject
*resultobj
;
5378 wxRegion
*arg1
= (wxRegion
*) 0 ;
5379 wxRegion
*arg2
= 0 ;
5381 PyObject
* obj0
= 0 ;
5382 PyObject
* obj1
= 0 ;
5384 (char *) "self",(char *) "region", NULL
5387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5390 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5391 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5394 PyErr_SetString(PyExc_TypeError
,"null reference");
5398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5399 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
5401 wxPyEndAllowThreads(__tstate
);
5402 if (PyErr_Occurred()) SWIG_fail
;
5405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5413 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5414 PyObject
*resultobj
;
5415 wxRegion
*arg1
= (wxRegion
*) 0 ;
5416 SwigValueWrapper
< wxBitmap
> result
;
5417 PyObject
* obj0
= 0 ;
5419 (char *) "self", NULL
5422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
5423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5427 result
= (arg1
)->ConvertToBitmap();
5429 wxPyEndAllowThreads(__tstate
);
5430 if (PyErr_Occurred()) SWIG_fail
;
5433 wxBitmap
* resultptr
;
5434 resultptr
= new wxBitmap((wxBitmap
&) result
);
5435 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5443 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5444 PyObject
*resultobj
;
5445 wxRegion
*arg1
= (wxRegion
*) 0 ;
5446 wxBitmap
*arg2
= 0 ;
5447 wxColour
const &arg3_defvalue
= wxNullColour
;
5448 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
5449 int arg4
= (int) 0 ;
5452 PyObject
* obj0
= 0 ;
5453 PyObject
* obj1
= 0 ;
5454 PyObject
* obj2
= 0 ;
5455 PyObject
* obj3
= 0 ;
5457 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5463 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5464 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5467 PyErr_SetString(PyExc_TypeError
,"null reference");
5473 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5477 arg4
= (int) SWIG_AsInt(obj3
);
5478 if (PyErr_Occurred()) SWIG_fail
;
5481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5482 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
5484 wxPyEndAllowThreads(__tstate
);
5485 if (PyErr_Occurred()) SWIG_fail
;
5488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5496 static PyObject
* Region_swigregister(PyObject
*self
, PyObject
*args
) {
5498 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5499 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
5501 return Py_BuildValue((char *)"");
5503 static PyObject
*_wrap_new_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5504 PyObject
*resultobj
;
5505 wxRegion
*arg1
= 0 ;
5506 wxRegionIterator
*result
;
5507 PyObject
* obj0
= 0 ;
5509 (char *) "region", NULL
5512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
5513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5514 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5517 PyErr_SetString(PyExc_TypeError
,"null reference");
5521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5522 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
5524 wxPyEndAllowThreads(__tstate
);
5525 if (PyErr_Occurred()) SWIG_fail
;
5527 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
5534 static PyObject
*_wrap_delete_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5535 PyObject
*resultobj
;
5536 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5537 PyObject
* obj0
= 0 ;
5539 (char *) "self", NULL
5542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
5543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5549 wxPyEndAllowThreads(__tstate
);
5550 if (PyErr_Occurred()) SWIG_fail
;
5552 Py_INCREF(Py_None
); resultobj
= Py_None
;
5559 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5560 PyObject
*resultobj
;
5561 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5563 PyObject
* obj0
= 0 ;
5565 (char *) "self", NULL
5568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
5569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5573 result
= (int)(arg1
)->GetX();
5575 wxPyEndAllowThreads(__tstate
);
5576 if (PyErr_Occurred()) SWIG_fail
;
5578 resultobj
= SWIG_FromInt((int)result
);
5585 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5586 PyObject
*resultobj
;
5587 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5589 PyObject
* obj0
= 0 ;
5591 (char *) "self", NULL
5594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
5595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5599 result
= (int)(arg1
)->GetY();
5601 wxPyEndAllowThreads(__tstate
);
5602 if (PyErr_Occurred()) SWIG_fail
;
5604 resultobj
= SWIG_FromInt((int)result
);
5611 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5612 PyObject
*resultobj
;
5613 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5615 PyObject
* obj0
= 0 ;
5617 (char *) "self", NULL
5620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
5621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5625 result
= (int)(arg1
)->GetW();
5627 wxPyEndAllowThreads(__tstate
);
5628 if (PyErr_Occurred()) SWIG_fail
;
5630 resultobj
= SWIG_FromInt((int)result
);
5637 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5638 PyObject
*resultobj
;
5639 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5641 PyObject
* obj0
= 0 ;
5643 (char *) "self", NULL
5646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
5647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5651 result
= (int)(arg1
)->GetWidth();
5653 wxPyEndAllowThreads(__tstate
);
5654 if (PyErr_Occurred()) SWIG_fail
;
5656 resultobj
= SWIG_FromInt((int)result
);
5663 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5664 PyObject
*resultobj
;
5665 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5667 PyObject
* obj0
= 0 ;
5669 (char *) "self", NULL
5672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
5673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5677 result
= (int)(arg1
)->GetH();
5679 wxPyEndAllowThreads(__tstate
);
5680 if (PyErr_Occurred()) SWIG_fail
;
5682 resultobj
= SWIG_FromInt((int)result
);
5689 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5690 PyObject
*resultobj
;
5691 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5693 PyObject
* obj0
= 0 ;
5695 (char *) "self", NULL
5698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
5699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5703 result
= (int)(arg1
)->GetHeight();
5705 wxPyEndAllowThreads(__tstate
);
5706 if (PyErr_Occurred()) SWIG_fail
;
5708 resultobj
= SWIG_FromInt((int)result
);
5715 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5716 PyObject
*resultobj
;
5717 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5719 PyObject
* obj0
= 0 ;
5721 (char *) "self", NULL
5724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
5725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5729 result
= (arg1
)->GetRect();
5731 wxPyEndAllowThreads(__tstate
);
5732 if (PyErr_Occurred()) SWIG_fail
;
5736 resultptr
= new wxRect((wxRect
&) result
);
5737 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5745 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5746 PyObject
*resultobj
;
5747 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5749 PyObject
* obj0
= 0 ;
5751 (char *) "self", NULL
5754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
5755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5759 result
= (bool)(arg1
)->HaveRects();
5761 wxPyEndAllowThreads(__tstate
);
5762 if (PyErr_Occurred()) SWIG_fail
;
5765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5773 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5774 PyObject
*resultobj
;
5775 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5776 PyObject
* obj0
= 0 ;
5778 (char *) "self", NULL
5781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
5782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5788 wxPyEndAllowThreads(__tstate
);
5789 if (PyErr_Occurred()) SWIG_fail
;
5791 Py_INCREF(Py_None
); resultobj
= Py_None
;
5798 static PyObject
*_wrap_RegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5799 PyObject
*resultobj
;
5800 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5801 PyObject
* obj0
= 0 ;
5803 (char *) "self", NULL
5806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
5807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5811 wxRegionIterator_Next(arg1
);
5813 wxPyEndAllowThreads(__tstate
);
5814 if (PyErr_Occurred()) SWIG_fail
;
5816 Py_INCREF(Py_None
); resultobj
= Py_None
;
5823 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5824 PyObject
*resultobj
;
5825 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5827 PyObject
* obj0
= 0 ;
5829 (char *) "self", NULL
5832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
5833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5837 result
= (bool)wxRegionIterator___nonzero__(arg1
);
5839 wxPyEndAllowThreads(__tstate
);
5840 if (PyErr_Occurred()) SWIG_fail
;
5843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5851 static PyObject
* RegionIterator_swigregister(PyObject
*self
, PyObject
*args
) {
5853 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5854 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
5856 return Py_BuildValue((char *)"");
5858 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5859 PyObject
*resultobj
;
5860 wxNativeFontInfo
*result
;
5865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
5867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5868 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
5870 wxPyEndAllowThreads(__tstate
);
5871 if (PyErr_Occurred()) SWIG_fail
;
5873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
5880 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5881 PyObject
*resultobj
;
5882 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5883 PyObject
* obj0
= 0 ;
5885 (char *) "self", NULL
5888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
5889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
5890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5895 wxPyEndAllowThreads(__tstate
);
5896 if (PyErr_Occurred()) SWIG_fail
;
5898 Py_INCREF(Py_None
); resultobj
= Py_None
;
5905 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5906 PyObject
*resultobj
;
5907 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5908 PyObject
* obj0
= 0 ;
5910 (char *) "self", NULL
5913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
5914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
5915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5920 wxPyEndAllowThreads(__tstate
);
5921 if (PyErr_Occurred()) SWIG_fail
;
5923 Py_INCREF(Py_None
); resultobj
= Py_None
;
5930 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5931 PyObject
*resultobj
;
5932 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5934 PyObject
* obj0
= 0 ;
5935 PyObject
* obj1
= 0 ;
5937 (char *) "self",(char *) "font", NULL
5940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
5941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
5942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5943 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
5944 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5947 PyErr_SetString(PyExc_TypeError
,"null reference");
5951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5952 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
5954 wxPyEndAllowThreads(__tstate
);
5955 if (PyErr_Occurred()) SWIG_fail
;
5957 Py_INCREF(Py_None
); resultobj
= Py_None
;
5964 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5965 PyObject
*resultobj
;
5966 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5968 PyObject
* obj0
= 0 ;
5970 (char *) "self", NULL
5973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
5974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
5975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5978 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
5980 wxPyEndAllowThreads(__tstate
);
5981 if (PyErr_Occurred()) SWIG_fail
;
5983 resultobj
= SWIG_FromInt((int)result
);
5990 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5991 PyObject
*resultobj
;
5992 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5994 PyObject
* obj0
= 0 ;
5996 (char *) "self", NULL
5999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
6000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6004 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
6006 wxPyEndAllowThreads(__tstate
);
6007 if (PyErr_Occurred()) SWIG_fail
;
6009 resultobj
= SWIG_FromInt((int)result
);
6016 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6017 PyObject
*resultobj
;
6018 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6020 PyObject
* obj0
= 0 ;
6022 (char *) "self", NULL
6025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
6026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6030 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
6032 wxPyEndAllowThreads(__tstate
);
6033 if (PyErr_Occurred()) SWIG_fail
;
6035 resultobj
= SWIG_FromInt((int)result
);
6042 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6043 PyObject
*resultobj
;
6044 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6046 PyObject
* obj0
= 0 ;
6048 (char *) "self", NULL
6051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6056 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6058 wxPyEndAllowThreads(__tstate
);
6059 if (PyErr_Occurred()) SWIG_fail
;
6062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6070 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6071 PyObject
*resultobj
;
6072 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6074 PyObject
* obj0
= 0 ;
6076 (char *) "self", NULL
6079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
6080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6084 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6086 wxPyEndAllowThreads(__tstate
);
6087 if (PyErr_Occurred()) SWIG_fail
;
6091 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6093 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6102 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6103 PyObject
*resultobj
;
6104 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6106 PyObject
* obj0
= 0 ;
6108 (char *) "self", NULL
6111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6116 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6118 wxPyEndAllowThreads(__tstate
);
6119 if (PyErr_Occurred()) SWIG_fail
;
6121 resultobj
= SWIG_FromInt((int)result
);
6128 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6129 PyObject
*resultobj
;
6130 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6132 PyObject
* obj0
= 0 ;
6134 (char *) "self", NULL
6137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6142 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6144 wxPyEndAllowThreads(__tstate
);
6145 if (PyErr_Occurred()) SWIG_fail
;
6147 resultobj
= SWIG_FromInt((int)result
);
6154 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6155 PyObject
*resultobj
;
6156 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6158 PyObject
* obj0
= 0 ;
6159 PyObject
* obj1
= 0 ;
6161 (char *) "self",(char *) "pointsize", NULL
6164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6167 arg2
= (int) SWIG_AsInt(obj1
);
6168 if (PyErr_Occurred()) SWIG_fail
;
6170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6171 (arg1
)->SetPointSize(arg2
);
6173 wxPyEndAllowThreads(__tstate
);
6174 if (PyErr_Occurred()) SWIG_fail
;
6176 Py_INCREF(Py_None
); resultobj
= Py_None
;
6183 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6184 PyObject
*resultobj
;
6185 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6187 PyObject
* obj0
= 0 ;
6188 PyObject
* obj1
= 0 ;
6190 (char *) "self",(char *) "style", NULL
6193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
6194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6196 arg2
= (wxFontStyle
) SWIG_AsInt(obj1
);
6197 if (PyErr_Occurred()) SWIG_fail
;
6199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6200 (arg1
)->SetStyle((wxFontStyle
)arg2
);
6202 wxPyEndAllowThreads(__tstate
);
6203 if (PyErr_Occurred()) SWIG_fail
;
6205 Py_INCREF(Py_None
); resultobj
= Py_None
;
6212 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6213 PyObject
*resultobj
;
6214 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6216 PyObject
* obj0
= 0 ;
6217 PyObject
* obj1
= 0 ;
6219 (char *) "self",(char *) "weight", NULL
6222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6225 arg2
= (wxFontWeight
) SWIG_AsInt(obj1
);
6226 if (PyErr_Occurred()) SWIG_fail
;
6228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6229 (arg1
)->SetWeight((wxFontWeight
)arg2
);
6231 wxPyEndAllowThreads(__tstate
);
6232 if (PyErr_Occurred()) SWIG_fail
;
6234 Py_INCREF(Py_None
); resultobj
= Py_None
;
6241 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6242 PyObject
*resultobj
;
6243 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6245 PyObject
* obj0
= 0 ;
6246 PyObject
* obj1
= 0 ;
6248 (char *) "self",(char *) "underlined", NULL
6251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6254 arg2
= (bool) SWIG_AsBool(obj1
);
6255 if (PyErr_Occurred()) SWIG_fail
;
6257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6258 (arg1
)->SetUnderlined(arg2
);
6260 wxPyEndAllowThreads(__tstate
);
6261 if (PyErr_Occurred()) SWIG_fail
;
6263 Py_INCREF(Py_None
); resultobj
= Py_None
;
6270 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6271 PyObject
*resultobj
;
6272 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6274 PyObject
* obj0
= 0 ;
6275 PyObject
* obj1
= 0 ;
6277 (char *) "self",(char *) "facename", NULL
6280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6284 wxString
* sptr
= wxString_in_helper(obj1
);
6285 if (sptr
== NULL
) SWIG_fail
;
6290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6291 (arg1
)->SetFaceName(arg2
);
6293 wxPyEndAllowThreads(__tstate
);
6294 if (PyErr_Occurred()) SWIG_fail
;
6296 Py_INCREF(Py_None
); resultobj
= Py_None
;
6303 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6304 PyObject
*resultobj
;
6305 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6307 PyObject
* obj0
= 0 ;
6308 PyObject
* obj1
= 0 ;
6310 (char *) "self",(char *) "family", NULL
6313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
6314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6316 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
6317 if (PyErr_Occurred()) SWIG_fail
;
6319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6320 (arg1
)->SetFamily((wxFontFamily
)arg2
);
6322 wxPyEndAllowThreads(__tstate
);
6323 if (PyErr_Occurred()) SWIG_fail
;
6325 Py_INCREF(Py_None
); resultobj
= Py_None
;
6332 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6333 PyObject
*resultobj
;
6334 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6336 PyObject
* obj0
= 0 ;
6337 PyObject
* obj1
= 0 ;
6339 (char *) "self",(char *) "encoding", NULL
6342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6345 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6346 if (PyErr_Occurred()) SWIG_fail
;
6348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6349 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6351 wxPyEndAllowThreads(__tstate
);
6352 if (PyErr_Occurred()) SWIG_fail
;
6354 Py_INCREF(Py_None
); resultobj
= Py_None
;
6361 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6362 PyObject
*resultobj
;
6363 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6364 wxString
*arg2
= 0 ;
6366 bool temp2
= False
;
6367 PyObject
* obj0
= 0 ;
6368 PyObject
* obj1
= 0 ;
6370 (char *) "self",(char *) "s", NULL
6373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6377 arg2
= wxString_in_helper(obj1
);
6378 if (arg2
== NULL
) SWIG_fail
;
6382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6383 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6385 wxPyEndAllowThreads(__tstate
);
6386 if (PyErr_Occurred()) SWIG_fail
;
6389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6405 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6406 PyObject
*resultobj
;
6407 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6409 PyObject
* obj0
= 0 ;
6411 (char *) "self", NULL
6414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
6415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6419 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
6421 wxPyEndAllowThreads(__tstate
);
6422 if (PyErr_Occurred()) SWIG_fail
;
6426 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6428 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6437 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6438 PyObject
*resultobj
;
6439 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6441 PyObject
* obj0
= 0 ;
6443 (char *) "self", NULL
6446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
6447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6451 result
= wxNativeFontInfo___str__(arg1
);
6453 wxPyEndAllowThreads(__tstate
);
6454 if (PyErr_Occurred()) SWIG_fail
;
6458 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6460 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6469 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6470 PyObject
*resultobj
;
6471 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6472 wxString
*arg2
= 0 ;
6474 bool temp2
= False
;
6475 PyObject
* obj0
= 0 ;
6476 PyObject
* obj1
= 0 ;
6478 (char *) "self",(char *) "s", NULL
6481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
6482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6485 arg2
= wxString_in_helper(obj1
);
6486 if (arg2
== NULL
) SWIG_fail
;
6490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6491 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
6493 wxPyEndAllowThreads(__tstate
);
6494 if (PyErr_Occurred()) SWIG_fail
;
6497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6513 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6514 PyObject
*resultobj
;
6515 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6517 PyObject
* obj0
= 0 ;
6519 (char *) "self", NULL
6522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
6523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6527 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
6529 wxPyEndAllowThreads(__tstate
);
6530 if (PyErr_Occurred()) SWIG_fail
;
6534 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6536 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6545 static PyObject
* NativeFontInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6547 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6548 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
6550 return Py_BuildValue((char *)"");
6552 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6553 PyObject
*resultobj
;
6554 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6555 wxString
*arg2
= (wxString
*) 0 ;
6556 bool temp2
= False
;
6557 PyObject
* obj0
= 0 ;
6558 PyObject
* obj1
= 0 ;
6560 (char *) "self",(char *) "facename", NULL
6563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6567 arg2
= wxString_in_helper(obj1
);
6568 if (arg2
== NULL
) SWIG_fail
;
6571 if (arg1
) (arg1
)->facename
= *arg2
;
6573 Py_INCREF(Py_None
); resultobj
= Py_None
;
6588 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6589 PyObject
*resultobj
;
6590 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6592 PyObject
* obj0
= 0 ;
6594 (char *) "self", NULL
6597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
6598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6600 result
= (wxString
*)& ((arg1
)->facename
);
6604 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6606 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6615 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6616 PyObject
*resultobj
;
6617 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6619 PyObject
* obj0
= 0 ;
6620 PyObject
* obj1
= 0 ;
6622 (char *) "self",(char *) "encoding", NULL
6625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6628 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6629 if (PyErr_Occurred()) SWIG_fail
;
6630 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
6632 Py_INCREF(Py_None
); resultobj
= Py_None
;
6639 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6640 PyObject
*resultobj
;
6641 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6643 PyObject
* obj0
= 0 ;
6645 (char *) "self", NULL
6648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
6649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6651 result
= (int) ((arg1
)->encoding
);
6653 resultobj
= SWIG_FromInt((int)result
);
6660 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6661 PyObject
*resultobj
;
6662 wxNativeEncodingInfo
*result
;
6667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
6669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6670 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
6672 wxPyEndAllowThreads(__tstate
);
6673 if (PyErr_Occurred()) SWIG_fail
;
6675 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
6682 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6683 PyObject
*resultobj
;
6684 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6685 PyObject
* obj0
= 0 ;
6687 (char *) "self", NULL
6690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
6691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6697 wxPyEndAllowThreads(__tstate
);
6698 if (PyErr_Occurred()) SWIG_fail
;
6700 Py_INCREF(Py_None
); resultobj
= Py_None
;
6707 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6708 PyObject
*resultobj
;
6709 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6710 wxString
*arg2
= 0 ;
6712 bool temp2
= False
;
6713 PyObject
* obj0
= 0 ;
6714 PyObject
* obj1
= 0 ;
6716 (char *) "self",(char *) "s", NULL
6719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6723 arg2
= wxString_in_helper(obj1
);
6724 if (arg2
== NULL
) SWIG_fail
;
6728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6729 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6731 wxPyEndAllowThreads(__tstate
);
6732 if (PyErr_Occurred()) SWIG_fail
;
6735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6751 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6752 PyObject
*resultobj
;
6753 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6755 PyObject
* obj0
= 0 ;
6757 (char *) "self", NULL
6760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
6761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6765 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
6767 wxPyEndAllowThreads(__tstate
);
6768 if (PyErr_Occurred()) SWIG_fail
;
6772 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6774 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6783 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6785 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6786 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
6788 return Py_BuildValue((char *)"");
6790 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6791 PyObject
*resultobj
;
6793 wxNativeEncodingInfo
*result
;
6794 PyObject
* obj0
= 0 ;
6796 (char *) "encoding", NULL
6799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
6800 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
6801 if (PyErr_Occurred()) SWIG_fail
;
6803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6804 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
6806 wxPyEndAllowThreads(__tstate
);
6807 if (PyErr_Occurred()) SWIG_fail
;
6809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
6816 static PyObject
*_wrap_TestFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6817 PyObject
*resultobj
;
6818 wxNativeEncodingInfo
*arg1
= 0 ;
6820 PyObject
* obj0
= 0 ;
6822 (char *) "info", NULL
6825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
6826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6827 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6830 PyErr_SetString(PyExc_TypeError
,"null reference");
6834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6835 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
6837 wxPyEndAllowThreads(__tstate
);
6838 if (PyErr_Occurred()) SWIG_fail
;
6841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6849 static PyObject
*_wrap_new_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6850 PyObject
*resultobj
;
6851 wxFontMapper
*result
;
6856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
6858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6859 result
= (wxFontMapper
*)new wxFontMapper();
6861 wxPyEndAllowThreads(__tstate
);
6862 if (PyErr_Occurred()) SWIG_fail
;
6864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
6871 static PyObject
*_wrap_delete_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6872 PyObject
*resultobj
;
6873 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6874 PyObject
* obj0
= 0 ;
6876 (char *) "self", NULL
6879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
6880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
6881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6886 wxPyEndAllowThreads(__tstate
);
6887 if (PyErr_Occurred()) SWIG_fail
;
6889 Py_INCREF(Py_None
); resultobj
= Py_None
;
6896 static PyObject
*_wrap_FontMapper_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6897 PyObject
*resultobj
;
6898 wxFontMapper
*result
;
6903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
6905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6906 result
= (wxFontMapper
*)wxFontMapper::Get();
6908 wxPyEndAllowThreads(__tstate
);
6909 if (PyErr_Occurred()) SWIG_fail
;
6911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
6918 static PyObject
*_wrap_FontMapper_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6919 PyObject
*resultobj
;
6920 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6921 wxFontMapper
*result
;
6922 PyObject
* obj0
= 0 ;
6924 (char *) "mapper", NULL
6927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
6928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
6929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6932 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
6934 wxPyEndAllowThreads(__tstate
);
6935 if (PyErr_Occurred()) SWIG_fail
;
6937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
6944 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6945 PyObject
*resultobj
;
6946 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6947 wxString
*arg2
= 0 ;
6948 bool arg3
= (bool) True
;
6950 bool temp2
= False
;
6951 PyObject
* obj0
= 0 ;
6952 PyObject
* obj1
= 0 ;
6953 PyObject
* obj2
= 0 ;
6955 (char *) "self",(char *) "charset",(char *) "interactive", NULL
6958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
6960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6962 arg2
= wxString_in_helper(obj1
);
6963 if (arg2
== NULL
) SWIG_fail
;
6967 arg3
= (bool) SWIG_AsBool(obj2
);
6968 if (PyErr_Occurred()) SWIG_fail
;
6971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6972 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
6974 wxPyEndAllowThreads(__tstate
);
6975 if (PyErr_Occurred()) SWIG_fail
;
6977 resultobj
= SWIG_FromInt((int)result
);
6992 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6993 PyObject
*resultobj
;
6999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
7001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7002 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
7004 wxPyEndAllowThreads(__tstate
);
7005 if (PyErr_Occurred()) SWIG_fail
;
7007 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7014 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7015 PyObject
*resultobj
;
7018 PyObject
* obj0
= 0 ;
7023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7024 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
7025 if (PyErr_Occurred()) SWIG_fail
;
7027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7028 result
= (int)wxFontMapper::GetEncoding(arg1
);
7030 wxPyEndAllowThreads(__tstate
);
7031 if (PyErr_Occurred()) SWIG_fail
;
7033 resultobj
= SWIG_FromInt((int)result
);
7040 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7041 PyObject
*resultobj
;
7044 PyObject
* obj0
= 0 ;
7046 (char *) "encoding", NULL
7049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
7050 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7051 if (PyErr_Occurred()) SWIG_fail
;
7053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7054 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7056 wxPyEndAllowThreads(__tstate
);
7057 if (PyErr_Occurred()) SWIG_fail
;
7061 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7063 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7072 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7073 PyObject
*resultobj
;
7076 PyObject
* obj0
= 0 ;
7078 (char *) "encoding", NULL
7081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7082 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7083 if (PyErr_Occurred()) SWIG_fail
;
7085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7086 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7088 wxPyEndAllowThreads(__tstate
);
7089 if (PyErr_Occurred()) SWIG_fail
;
7093 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7095 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7104 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7105 PyObject
*resultobj
;
7106 wxString
*arg1
= 0 ;
7108 bool temp1
= False
;
7109 PyObject
* obj0
= 0 ;
7111 (char *) "name", NULL
7114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
7116 arg1
= wxString_in_helper(obj0
);
7117 if (arg1
== NULL
) SWIG_fail
;
7121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7122 result
= (int)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
7124 wxPyEndAllowThreads(__tstate
);
7125 if (PyErr_Occurred()) SWIG_fail
;
7127 resultobj
= SWIG_FromInt((int)result
);
7142 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7143 PyObject
*resultobj
;
7144 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7145 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
7146 PyObject
* obj0
= 0 ;
7147 PyObject
* obj1
= 0 ;
7149 (char *) "self",(char *) "config", NULL
7152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7155 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
7156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7159 (arg1
)->SetConfig(arg2
);
7161 wxPyEndAllowThreads(__tstate
);
7162 if (PyErr_Occurred()) SWIG_fail
;
7164 Py_INCREF(Py_None
); resultobj
= Py_None
;
7171 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7172 PyObject
*resultobj
;
7173 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7174 wxString
*arg2
= 0 ;
7175 bool temp2
= False
;
7176 PyObject
* obj0
= 0 ;
7177 PyObject
* obj1
= 0 ;
7179 (char *) "self",(char *) "prefix", NULL
7182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
7183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7186 arg2
= wxString_in_helper(obj1
);
7187 if (arg2
== NULL
) SWIG_fail
;
7191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7192 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
7194 wxPyEndAllowThreads(__tstate
);
7195 if (PyErr_Occurred()) SWIG_fail
;
7197 Py_INCREF(Py_None
); resultobj
= Py_None
;
7212 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7213 PyObject
*resultobj
;
7219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
7221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7222 result
= wxFontMapper::GetDefaultConfigPath();
7224 wxPyEndAllowThreads(__tstate
);
7225 if (PyErr_Occurred()) SWIG_fail
;
7229 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7231 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7240 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7241 PyObject
*resultobj
;
7242 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7244 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7245 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7246 bool arg4
= (bool) True
;
7248 bool temp3
= False
;
7249 PyObject
* obj0
= 0 ;
7250 PyObject
* obj1
= 0 ;
7251 PyObject
* obj2
= 0 ;
7252 PyObject
* obj3
= 0 ;
7254 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7260 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7261 if (PyErr_Occurred()) SWIG_fail
;
7264 arg3
= wxString_in_helper(obj2
);
7265 if (arg3
== NULL
) SWIG_fail
;
7270 arg4
= (bool) SWIG_AsBool(obj3
);
7271 if (PyErr_Occurred()) SWIG_fail
;
7274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7275 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
7277 wxPyEndAllowThreads(__tstate
);
7278 if (PyErr_Occurred()) SWIG_fail
;
7295 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7296 PyObject
*resultobj
;
7297 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7299 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7300 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7302 bool temp3
= False
;
7303 PyObject
* obj0
= 0 ;
7304 PyObject
* obj1
= 0 ;
7305 PyObject
* obj2
= 0 ;
7307 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7313 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7314 if (PyErr_Occurred()) SWIG_fail
;
7317 arg3
= wxString_in_helper(obj2
);
7318 if (arg3
== NULL
) SWIG_fail
;
7323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7324 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
7326 wxPyEndAllowThreads(__tstate
);
7327 if (PyErr_Occurred()) SWIG_fail
;
7330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7346 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7347 PyObject
*resultobj
;
7348 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7349 wxWindow
*arg2
= (wxWindow
*) 0 ;
7350 PyObject
* obj0
= 0 ;
7351 PyObject
* obj1
= 0 ;
7353 (char *) "self",(char *) "parent", NULL
7356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7359 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7363 (arg1
)->SetDialogParent(arg2
);
7365 wxPyEndAllowThreads(__tstate
);
7366 if (PyErr_Occurred()) SWIG_fail
;
7368 Py_INCREF(Py_None
); resultobj
= Py_None
;
7375 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7376 PyObject
*resultobj
;
7377 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7378 wxString
*arg2
= 0 ;
7379 bool temp2
= False
;
7380 PyObject
* obj0
= 0 ;
7381 PyObject
* obj1
= 0 ;
7383 (char *) "self",(char *) "title", NULL
7386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7390 arg2
= wxString_in_helper(obj1
);
7391 if (arg2
== NULL
) SWIG_fail
;
7395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7396 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
7398 wxPyEndAllowThreads(__tstate
);
7399 if (PyErr_Occurred()) SWIG_fail
;
7401 Py_INCREF(Py_None
); resultobj
= Py_None
;
7416 static PyObject
* FontMapper_swigregister(PyObject
*self
, PyObject
*args
) {
7418 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7419 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
7421 return Py_BuildValue((char *)"");
7423 static PyObject
*_wrap_new_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7424 PyObject
*resultobj
;
7429 bool arg5
= (bool) False
;
7430 wxString
const &arg6_defvalue
= wxPyEmptyString
;
7431 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7432 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7434 bool temp6
= False
;
7435 PyObject
* obj0
= 0 ;
7436 PyObject
* obj1
= 0 ;
7437 PyObject
* obj2
= 0 ;
7438 PyObject
* obj3
= 0 ;
7439 PyObject
* obj4
= 0 ;
7440 PyObject
* obj5
= 0 ;
7441 PyObject
* obj6
= 0 ;
7443 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7447 arg1
= (int) SWIG_AsInt(obj0
);
7448 if (PyErr_Occurred()) SWIG_fail
;
7449 arg2
= (int) SWIG_AsInt(obj1
);
7450 if (PyErr_Occurred()) SWIG_fail
;
7451 arg3
= (int) SWIG_AsInt(obj2
);
7452 if (PyErr_Occurred()) SWIG_fail
;
7453 arg4
= (int) SWIG_AsInt(obj3
);
7454 if (PyErr_Occurred()) SWIG_fail
;
7456 arg5
= (bool) SWIG_AsBool(obj4
);
7457 if (PyErr_Occurred()) SWIG_fail
;
7461 arg6
= wxString_in_helper(obj5
);
7462 if (arg6
== NULL
) SWIG_fail
;
7467 arg7
= (wxFontEncoding
) SWIG_AsInt(obj6
);
7468 if (PyErr_Occurred()) SWIG_fail
;
7471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7472 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
7474 wxPyEndAllowThreads(__tstate
);
7475 if (PyErr_Occurred()) SWIG_fail
;
7477 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7492 static PyObject
*_wrap_delete_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7493 PyObject
*resultobj
;
7494 wxFont
*arg1
= (wxFont
*) 0 ;
7495 PyObject
* obj0
= 0 ;
7497 (char *) "self", NULL
7500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
7501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7507 wxPyEndAllowThreads(__tstate
);
7508 if (PyErr_Occurred()) SWIG_fail
;
7510 Py_INCREF(Py_None
); resultobj
= Py_None
;
7517 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7518 PyObject
*resultobj
;
7519 wxNativeFontInfo
*arg1
= 0 ;
7521 PyObject
* obj0
= 0 ;
7523 (char *) "info", NULL
7526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
7527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7528 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7531 PyErr_SetString(PyExc_TypeError
,"null reference");
7535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7536 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
7538 wxPyEndAllowThreads(__tstate
);
7539 if (PyErr_Occurred()) SWIG_fail
;
7541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7548 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7549 PyObject
*resultobj
;
7550 wxString
*arg1
= 0 ;
7552 bool temp1
= False
;
7553 PyObject
* obj0
= 0 ;
7555 (char *) "info", NULL
7558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
7560 arg1
= wxString_in_helper(obj0
);
7561 if (arg1
== NULL
) SWIG_fail
;
7565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7566 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
7568 wxPyEndAllowThreads(__tstate
);
7569 if (PyErr_Occurred()) SWIG_fail
;
7571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7586 static PyObject
*_wrap_new_Font2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7587 PyObject
*resultobj
;
7590 int arg3
= (int) wxFONTFLAG_DEFAULT
;
7591 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7592 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7593 int arg5
= (int) wxFONTENCODING_DEFAULT
;
7595 bool temp4
= False
;
7596 PyObject
* obj0
= 0 ;
7597 PyObject
* obj1
= 0 ;
7598 PyObject
* obj2
= 0 ;
7599 PyObject
* obj3
= 0 ;
7600 PyObject
* obj4
= 0 ;
7602 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7606 arg1
= (int) SWIG_AsInt(obj0
);
7607 if (PyErr_Occurred()) SWIG_fail
;
7608 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
7609 if (PyErr_Occurred()) SWIG_fail
;
7611 arg3
= (int) SWIG_AsInt(obj2
);
7612 if (PyErr_Occurred()) SWIG_fail
;
7616 arg4
= wxString_in_helper(obj3
);
7617 if (arg4
== NULL
) SWIG_fail
;
7622 arg5
= (wxFontEncoding
) SWIG_AsInt(obj4
);
7623 if (PyErr_Occurred()) SWIG_fail
;
7626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7627 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
7629 wxPyEndAllowThreads(__tstate
);
7630 if (PyErr_Occurred()) SWIG_fail
;
7632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7647 static PyObject
*_wrap_Font_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7648 PyObject
*resultobj
;
7649 wxFont
*arg1
= (wxFont
*) 0 ;
7651 PyObject
* obj0
= 0 ;
7653 (char *) "self", NULL
7656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
7657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7661 result
= (bool)((wxFont
const *)arg1
)->Ok();
7663 wxPyEndAllowThreads(__tstate
);
7664 if (PyErr_Occurred()) SWIG_fail
;
7667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7675 static PyObject
*_wrap_Font___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7676 PyObject
*resultobj
;
7677 wxFont
*arg1
= (wxFont
*) 0 ;
7678 wxFont
*arg2
= (wxFont
*) 0 ;
7680 PyObject
* obj0
= 0 ;
7681 PyObject
* obj1
= 0 ;
7683 (char *) "self",(char *) "other", NULL
7686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7689 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7693 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
7695 wxPyEndAllowThreads(__tstate
);
7696 if (PyErr_Occurred()) SWIG_fail
;
7699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7707 static PyObject
*_wrap_Font___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7708 PyObject
*resultobj
;
7709 wxFont
*arg1
= (wxFont
*) 0 ;
7710 wxFont
*arg2
= (wxFont
*) 0 ;
7712 PyObject
* obj0
= 0 ;
7713 PyObject
* obj1
= 0 ;
7715 (char *) "self",(char *) "other", NULL
7718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7721 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7725 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
7727 wxPyEndAllowThreads(__tstate
);
7728 if (PyErr_Occurred()) SWIG_fail
;
7731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7739 static PyObject
*_wrap_Font_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7740 PyObject
*resultobj
;
7741 wxFont
*arg1
= (wxFont
*) 0 ;
7743 PyObject
* obj0
= 0 ;
7745 (char *) "self", NULL
7748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
7749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7753 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
7755 wxPyEndAllowThreads(__tstate
);
7756 if (PyErr_Occurred()) SWIG_fail
;
7758 resultobj
= SWIG_FromInt((int)result
);
7765 static PyObject
*_wrap_Font_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7766 PyObject
*resultobj
;
7767 wxFont
*arg1
= (wxFont
*) 0 ;
7769 PyObject
* obj0
= 0 ;
7771 (char *) "self", NULL
7774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
7775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7779 result
= (int)((wxFont
const *)arg1
)->GetFamily();
7781 wxPyEndAllowThreads(__tstate
);
7782 if (PyErr_Occurred()) SWIG_fail
;
7784 resultobj
= SWIG_FromInt((int)result
);
7791 static PyObject
*_wrap_Font_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7792 PyObject
*resultobj
;
7793 wxFont
*arg1
= (wxFont
*) 0 ;
7795 PyObject
* obj0
= 0 ;
7797 (char *) "self", NULL
7800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
7801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7805 result
= (int)((wxFont
const *)arg1
)->GetStyle();
7807 wxPyEndAllowThreads(__tstate
);
7808 if (PyErr_Occurred()) SWIG_fail
;
7810 resultobj
= SWIG_FromInt((int)result
);
7817 static PyObject
*_wrap_Font_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7818 PyObject
*resultobj
;
7819 wxFont
*arg1
= (wxFont
*) 0 ;
7821 PyObject
* obj0
= 0 ;
7823 (char *) "self", NULL
7826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
7827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7831 result
= (int)((wxFont
const *)arg1
)->GetWeight();
7833 wxPyEndAllowThreads(__tstate
);
7834 if (PyErr_Occurred()) SWIG_fail
;
7836 resultobj
= SWIG_FromInt((int)result
);
7843 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7844 PyObject
*resultobj
;
7845 wxFont
*arg1
= (wxFont
*) 0 ;
7847 PyObject
* obj0
= 0 ;
7849 (char *) "self", NULL
7852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
7853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7857 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
7859 wxPyEndAllowThreads(__tstate
);
7860 if (PyErr_Occurred()) SWIG_fail
;
7863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7871 static PyObject
*_wrap_Font_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7872 PyObject
*resultobj
;
7873 wxFont
*arg1
= (wxFont
*) 0 ;
7875 PyObject
* obj0
= 0 ;
7877 (char *) "self", NULL
7880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
7881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7885 result
= ((wxFont
const *)arg1
)->GetFaceName();
7887 wxPyEndAllowThreads(__tstate
);
7888 if (PyErr_Occurred()) SWIG_fail
;
7892 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7894 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7903 static PyObject
*_wrap_Font_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7904 PyObject
*resultobj
;
7905 wxFont
*arg1
= (wxFont
*) 0 ;
7907 PyObject
* obj0
= 0 ;
7909 (char *) "self", NULL
7912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
7913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7917 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
7919 wxPyEndAllowThreads(__tstate
);
7920 if (PyErr_Occurred()) SWIG_fail
;
7922 resultobj
= SWIG_FromInt((int)result
);
7929 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7930 PyObject
*resultobj
;
7931 wxFont
*arg1
= (wxFont
*) 0 ;
7932 wxNativeFontInfo
*result
;
7933 PyObject
* obj0
= 0 ;
7935 (char *) "self", NULL
7938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
7939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7943 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
7945 wxPyEndAllowThreads(__tstate
);
7946 if (PyErr_Occurred()) SWIG_fail
;
7948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
7955 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7956 PyObject
*resultobj
;
7957 wxFont
*arg1
= (wxFont
*) 0 ;
7959 PyObject
* obj0
= 0 ;
7961 (char *) "self", NULL
7964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
7965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7969 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
7971 wxPyEndAllowThreads(__tstate
);
7972 if (PyErr_Occurred()) SWIG_fail
;
7975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7983 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7984 PyObject
*resultobj
;
7985 wxFont
*arg1
= (wxFont
*) 0 ;
7987 PyObject
* obj0
= 0 ;
7989 (char *) "self", NULL
7992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
7993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7997 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
7999 wxPyEndAllowThreads(__tstate
);
8000 if (PyErr_Occurred()) SWIG_fail
;
8004 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8006 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8015 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8016 PyObject
*resultobj
;
8017 wxFont
*arg1
= (wxFont
*) 0 ;
8019 PyObject
* obj0
= 0 ;
8021 (char *) "self", NULL
8024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
8025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8029 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
8031 wxPyEndAllowThreads(__tstate
);
8032 if (PyErr_Occurred()) SWIG_fail
;
8036 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8038 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8047 static PyObject
*_wrap_Font_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8048 PyObject
*resultobj
;
8049 wxFont
*arg1
= (wxFont
*) 0 ;
8051 PyObject
* obj0
= 0 ;
8052 PyObject
* obj1
= 0 ;
8054 (char *) "self",(char *) "pointSize", NULL
8057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8060 arg2
= (int) SWIG_AsInt(obj1
);
8061 if (PyErr_Occurred()) SWIG_fail
;
8063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8064 (arg1
)->SetPointSize(arg2
);
8066 wxPyEndAllowThreads(__tstate
);
8067 if (PyErr_Occurred()) SWIG_fail
;
8069 Py_INCREF(Py_None
); resultobj
= Py_None
;
8076 static PyObject
*_wrap_Font_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8077 PyObject
*resultobj
;
8078 wxFont
*arg1
= (wxFont
*) 0 ;
8080 PyObject
* obj0
= 0 ;
8081 PyObject
* obj1
= 0 ;
8083 (char *) "self",(char *) "family", NULL
8086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8089 arg2
= (int) SWIG_AsInt(obj1
);
8090 if (PyErr_Occurred()) SWIG_fail
;
8092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8093 (arg1
)->SetFamily(arg2
);
8095 wxPyEndAllowThreads(__tstate
);
8096 if (PyErr_Occurred()) SWIG_fail
;
8098 Py_INCREF(Py_None
); resultobj
= Py_None
;
8105 static PyObject
*_wrap_Font_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8106 PyObject
*resultobj
;
8107 wxFont
*arg1
= (wxFont
*) 0 ;
8109 PyObject
* obj0
= 0 ;
8110 PyObject
* obj1
= 0 ;
8112 (char *) "self",(char *) "style", NULL
8115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8118 arg2
= (int) SWIG_AsInt(obj1
);
8119 if (PyErr_Occurred()) SWIG_fail
;
8121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8122 (arg1
)->SetStyle(arg2
);
8124 wxPyEndAllowThreads(__tstate
);
8125 if (PyErr_Occurred()) SWIG_fail
;
8127 Py_INCREF(Py_None
); resultobj
= Py_None
;
8134 static PyObject
*_wrap_Font_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8135 PyObject
*resultobj
;
8136 wxFont
*arg1
= (wxFont
*) 0 ;
8138 PyObject
* obj0
= 0 ;
8139 PyObject
* obj1
= 0 ;
8141 (char *) "self",(char *) "weight", NULL
8144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8147 arg2
= (int) SWIG_AsInt(obj1
);
8148 if (PyErr_Occurred()) SWIG_fail
;
8150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8151 (arg1
)->SetWeight(arg2
);
8153 wxPyEndAllowThreads(__tstate
);
8154 if (PyErr_Occurred()) SWIG_fail
;
8156 Py_INCREF(Py_None
); resultobj
= Py_None
;
8163 static PyObject
*_wrap_Font_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8164 PyObject
*resultobj
;
8165 wxFont
*arg1
= (wxFont
*) 0 ;
8166 wxString
*arg2
= 0 ;
8167 bool temp2
= False
;
8168 PyObject
* obj0
= 0 ;
8169 PyObject
* obj1
= 0 ;
8171 (char *) "self",(char *) "faceName", NULL
8174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8178 arg2
= wxString_in_helper(obj1
);
8179 if (arg2
== NULL
) SWIG_fail
;
8183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8184 (arg1
)->SetFaceName((wxString
const &)*arg2
);
8186 wxPyEndAllowThreads(__tstate
);
8187 if (PyErr_Occurred()) SWIG_fail
;
8189 Py_INCREF(Py_None
); resultobj
= Py_None
;
8204 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8205 PyObject
*resultobj
;
8206 wxFont
*arg1
= (wxFont
*) 0 ;
8208 PyObject
* obj0
= 0 ;
8209 PyObject
* obj1
= 0 ;
8211 (char *) "self",(char *) "underlined", NULL
8214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8217 arg2
= (bool) SWIG_AsBool(obj1
);
8218 if (PyErr_Occurred()) SWIG_fail
;
8220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8221 (arg1
)->SetUnderlined(arg2
);
8223 wxPyEndAllowThreads(__tstate
);
8224 if (PyErr_Occurred()) SWIG_fail
;
8226 Py_INCREF(Py_None
); resultobj
= Py_None
;
8233 static PyObject
*_wrap_Font_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8234 PyObject
*resultobj
;
8235 wxFont
*arg1
= (wxFont
*) 0 ;
8237 PyObject
* obj0
= 0 ;
8238 PyObject
* obj1
= 0 ;
8240 (char *) "self",(char *) "encoding", NULL
8243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8246 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8247 if (PyErr_Occurred()) SWIG_fail
;
8249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8250 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8252 wxPyEndAllowThreads(__tstate
);
8253 if (PyErr_Occurred()) SWIG_fail
;
8255 Py_INCREF(Py_None
); resultobj
= Py_None
;
8262 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8263 PyObject
*resultobj
;
8264 wxFont
*arg1
= (wxFont
*) 0 ;
8265 wxNativeFontInfo
*arg2
= 0 ;
8266 PyObject
* obj0
= 0 ;
8267 PyObject
* obj1
= 0 ;
8269 (char *) "self",(char *) "info", NULL
8272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
8273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8275 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
8276 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8279 PyErr_SetString(PyExc_TypeError
,"null reference");
8283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8284 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
8286 wxPyEndAllowThreads(__tstate
);
8287 if (PyErr_Occurred()) SWIG_fail
;
8289 Py_INCREF(Py_None
); resultobj
= Py_None
;
8296 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8297 PyObject
*resultobj
;
8298 wxFont
*arg1
= (wxFont
*) 0 ;
8299 wxString
*arg2
= 0 ;
8300 bool temp2
= False
;
8301 PyObject
* obj0
= 0 ;
8302 PyObject
* obj1
= 0 ;
8304 (char *) "self",(char *) "info", NULL
8307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8311 arg2
= wxString_in_helper(obj1
);
8312 if (arg2
== NULL
) SWIG_fail
;
8316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8317 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
8319 wxPyEndAllowThreads(__tstate
);
8320 if (PyErr_Occurred()) SWIG_fail
;
8322 Py_INCREF(Py_None
); resultobj
= Py_None
;
8337 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8338 PyObject
*resultobj
;
8339 wxFont
*arg1
= (wxFont
*) 0 ;
8340 wxString
*arg2
= 0 ;
8341 bool temp2
= False
;
8342 PyObject
* obj0
= 0 ;
8343 PyObject
* obj1
= 0 ;
8345 (char *) "self",(char *) "info", NULL
8348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
8349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8352 arg2
= wxString_in_helper(obj1
);
8353 if (arg2
== NULL
) SWIG_fail
;
8357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8358 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
8360 wxPyEndAllowThreads(__tstate
);
8361 if (PyErr_Occurred()) SWIG_fail
;
8363 Py_INCREF(Py_None
); resultobj
= Py_None
;
8378 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8379 PyObject
*resultobj
;
8380 wxFont
*arg1
= (wxFont
*) 0 ;
8382 PyObject
* obj0
= 0 ;
8384 (char *) "self", NULL
8387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
8388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8392 result
= ((wxFont
const *)arg1
)->GetFamilyString();
8394 wxPyEndAllowThreads(__tstate
);
8395 if (PyErr_Occurred()) SWIG_fail
;
8399 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8401 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8410 static PyObject
*_wrap_Font_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8411 PyObject
*resultobj
;
8412 wxFont
*arg1
= (wxFont
*) 0 ;
8414 PyObject
* obj0
= 0 ;
8416 (char *) "self", NULL
8419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
8420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8424 result
= ((wxFont
const *)arg1
)->GetStyleString();
8426 wxPyEndAllowThreads(__tstate
);
8427 if (PyErr_Occurred()) SWIG_fail
;
8431 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8433 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8442 static PyObject
*_wrap_Font_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8443 PyObject
*resultobj
;
8444 wxFont
*arg1
= (wxFont
*) 0 ;
8446 PyObject
* obj0
= 0 ;
8448 (char *) "self", NULL
8451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
8452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8456 result
= ((wxFont
const *)arg1
)->GetWeightString();
8458 wxPyEndAllowThreads(__tstate
);
8459 if (PyErr_Occurred()) SWIG_fail
;
8463 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8465 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8474 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8475 PyObject
*resultobj
;
8476 wxFont
*arg1
= (wxFont
*) 0 ;
8477 bool arg2
= (bool) True
;
8478 PyObject
* obj0
= 0 ;
8479 PyObject
* obj1
= 0 ;
8481 (char *) "self",(char *) "no", NULL
8484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
8485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8488 arg2
= (bool) SWIG_AsBool(obj1
);
8489 if (PyErr_Occurred()) SWIG_fail
;
8492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8493 (arg1
)->SetNoAntiAliasing(arg2
);
8495 wxPyEndAllowThreads(__tstate
);
8496 if (PyErr_Occurred()) SWIG_fail
;
8498 Py_INCREF(Py_None
); resultobj
= Py_None
;
8505 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8506 PyObject
*resultobj
;
8507 wxFont
*arg1
= (wxFont
*) 0 ;
8509 PyObject
* obj0
= 0 ;
8511 (char *) "self", NULL
8514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
8515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8519 result
= (bool)(arg1
)->GetNoAntiAliasing();
8521 wxPyEndAllowThreads(__tstate
);
8522 if (PyErr_Occurred()) SWIG_fail
;
8525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8533 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8534 PyObject
*resultobj
;
8540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
8542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8543 result
= (int)wxFont::GetDefaultEncoding();
8545 wxPyEndAllowThreads(__tstate
);
8546 if (PyErr_Occurred()) SWIG_fail
;
8548 resultobj
= SWIG_FromInt((int)result
);
8555 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8556 PyObject
*resultobj
;
8558 PyObject
* obj0
= 0 ;
8560 (char *) "encoding", NULL
8563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
8564 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
8565 if (PyErr_Occurred()) SWIG_fail
;
8567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8568 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
8570 wxPyEndAllowThreads(__tstate
);
8571 if (PyErr_Occurred()) SWIG_fail
;
8573 Py_INCREF(Py_None
); resultobj
= Py_None
;
8580 static PyObject
* Font_swigregister(PyObject
*self
, PyObject
*args
) {
8582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8583 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
8585 return Py_BuildValue((char *)"");
8587 static PyObject
*_wrap_new_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8588 PyObject
*resultobj
;
8589 wxPyFontEnumerator
*result
;
8594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
8596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8597 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
8599 wxPyEndAllowThreads(__tstate
);
8600 if (PyErr_Occurred()) SWIG_fail
;
8602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
8609 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8610 PyObject
*resultobj
;
8611 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8612 PyObject
* obj0
= 0 ;
8614 (char *) "self", NULL
8617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
8618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8624 wxPyEndAllowThreads(__tstate
);
8625 if (PyErr_Occurred()) SWIG_fail
;
8627 Py_INCREF(Py_None
); resultobj
= Py_None
;
8634 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8635 PyObject
*resultobj
;
8636 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8637 PyObject
*arg2
= (PyObject
*) 0 ;
8638 PyObject
*arg3
= (PyObject
*) 0 ;
8640 PyObject
* obj0
= 0 ;
8641 PyObject
* obj1
= 0 ;
8642 PyObject
* obj2
= 0 ;
8643 PyObject
* obj3
= 0 ;
8645 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8653 arg4
= (bool) SWIG_AsBool(obj3
);
8654 if (PyErr_Occurred()) SWIG_fail
;
8656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8657 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8659 wxPyEndAllowThreads(__tstate
);
8660 if (PyErr_Occurred()) SWIG_fail
;
8662 Py_INCREF(Py_None
); resultobj
= Py_None
;
8669 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8670 PyObject
*resultobj
;
8671 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8672 int arg2
= (int) wxFONTENCODING_SYSTEM
;
8673 bool arg3
= (bool) False
;
8675 PyObject
* obj0
= 0 ;
8676 PyObject
* obj1
= 0 ;
8677 PyObject
* obj2
= 0 ;
8679 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
8682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8686 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8687 if (PyErr_Occurred()) SWIG_fail
;
8690 arg3
= (bool) SWIG_AsBool(obj2
);
8691 if (PyErr_Occurred()) SWIG_fail
;
8694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8695 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
8697 wxPyEndAllowThreads(__tstate
);
8698 if (PyErr_Occurred()) SWIG_fail
;
8701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8709 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8710 PyObject
*resultobj
;
8711 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8712 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8713 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8715 bool temp2
= False
;
8716 PyObject
* obj0
= 0 ;
8717 PyObject
* obj1
= 0 ;
8719 (char *) "self",(char *) "facename", NULL
8722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
8723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8727 arg2
= wxString_in_helper(obj1
);
8728 if (arg2
== NULL
) SWIG_fail
;
8733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8734 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
8736 wxPyEndAllowThreads(__tstate
);
8737 if (PyErr_Occurred()) SWIG_fail
;
8740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8756 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8757 PyObject
*resultobj
;
8758 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8760 PyObject
* obj0
= 0 ;
8762 (char *) "self", NULL
8765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
8766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8770 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
8772 wxPyEndAllowThreads(__tstate
);
8773 if (PyErr_Occurred()) SWIG_fail
;
8782 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8783 PyObject
*resultobj
;
8784 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8786 PyObject
* obj0
= 0 ;
8788 (char *) "self", NULL
8791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
8792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8796 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
8798 wxPyEndAllowThreads(__tstate
);
8799 if (PyErr_Occurred()) SWIG_fail
;
8808 static PyObject
* FontEnumerator_swigregister(PyObject
*self
, PyObject
*args
) {
8810 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8811 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
8813 return Py_BuildValue((char *)"");
8815 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8816 PyObject
*resultobj
;
8817 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8819 PyObject
* obj0
= 0 ;
8820 PyObject
* obj1
= 0 ;
8822 (char *) "self",(char *) "Language", NULL
8825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8828 arg2
= (int) SWIG_AsInt(obj1
);
8829 if (PyErr_Occurred()) SWIG_fail
;
8830 if (arg1
) (arg1
)->Language
= arg2
;
8832 Py_INCREF(Py_None
); resultobj
= Py_None
;
8839 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8840 PyObject
*resultobj
;
8841 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8843 PyObject
* obj0
= 0 ;
8845 (char *) "self", NULL
8848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
8849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8851 result
= (int) ((arg1
)->Language
);
8853 resultobj
= SWIG_FromInt((int)result
);
8860 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8861 PyObject
*resultobj
;
8862 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8863 wxString
*arg2
= (wxString
*) 0 ;
8864 bool temp2
= False
;
8865 PyObject
* obj0
= 0 ;
8866 PyObject
* obj1
= 0 ;
8868 (char *) "self",(char *) "CanonicalName", NULL
8871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8875 arg2
= wxString_in_helper(obj1
);
8876 if (arg2
== NULL
) SWIG_fail
;
8879 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
8881 Py_INCREF(Py_None
); resultobj
= Py_None
;
8896 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8897 PyObject
*resultobj
;
8898 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8900 PyObject
* obj0
= 0 ;
8902 (char *) "self", NULL
8905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
8906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8908 result
= (wxString
*)& ((arg1
)->CanonicalName
);
8912 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8914 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8923 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8924 PyObject
*resultobj
;
8925 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8926 wxString
*arg2
= (wxString
*) 0 ;
8927 bool temp2
= False
;
8928 PyObject
* obj0
= 0 ;
8929 PyObject
* obj1
= 0 ;
8931 (char *) "self",(char *) "Description", NULL
8934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8938 arg2
= wxString_in_helper(obj1
);
8939 if (arg2
== NULL
) SWIG_fail
;
8942 if (arg1
) (arg1
)->Description
= *arg2
;
8944 Py_INCREF(Py_None
); resultobj
= Py_None
;
8959 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8960 PyObject
*resultobj
;
8961 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8963 PyObject
* obj0
= 0 ;
8965 (char *) "self", NULL
8968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
8969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8971 result
= (wxString
*)& ((arg1
)->Description
);
8975 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8977 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8986 static PyObject
* LanguageInfo_swigregister(PyObject
*self
, PyObject
*args
) {
8988 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8989 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
8991 return Py_BuildValue((char *)"");
8993 static PyObject
*_wrap_new_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8994 PyObject
*resultobj
;
8995 int arg1
= (int) wxLANGUAGE_DEFAULT
;
8996 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
8998 PyObject
* obj0
= 0 ;
8999 PyObject
* obj1
= 0 ;
9001 (char *) "language",(char *) "flags", NULL
9004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
9006 arg1
= (int) SWIG_AsInt(obj0
);
9007 if (PyErr_Occurred()) SWIG_fail
;
9010 arg2
= (int) SWIG_AsInt(obj1
);
9011 if (PyErr_Occurred()) SWIG_fail
;
9014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9015 result
= (wxLocale
*)new wxLocale(arg1
,arg2
);
9017 wxPyEndAllowThreads(__tstate
);
9018 if (PyErr_Occurred()) SWIG_fail
;
9020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
9027 static PyObject
*_wrap_delete_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9028 PyObject
*resultobj
;
9029 wxLocale
*arg1
= (wxLocale
*) 0 ;
9030 PyObject
* obj0
= 0 ;
9032 (char *) "self", NULL
9035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
9036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9042 wxPyEndAllowThreads(__tstate
);
9043 if (PyErr_Occurred()) SWIG_fail
;
9045 Py_INCREF(Py_None
); resultobj
= Py_None
;
9052 static PyObject
*_wrap_Locale_Init1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9053 PyObject
*resultobj
;
9054 wxLocale
*arg1
= (wxLocale
*) 0 ;
9055 wxString
*arg2
= 0 ;
9056 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9057 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9058 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9059 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9060 bool arg5
= (bool) True
;
9061 bool arg6
= (bool) False
;
9063 bool temp2
= False
;
9064 bool temp3
= False
;
9065 bool temp4
= False
;
9066 PyObject
* obj0
= 0 ;
9067 PyObject
* obj1
= 0 ;
9068 PyObject
* obj2
= 0 ;
9069 PyObject
* obj3
= 0 ;
9070 PyObject
* obj4
= 0 ;
9071 PyObject
* obj5
= 0 ;
9073 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9080 arg2
= wxString_in_helper(obj1
);
9081 if (arg2
== NULL
) SWIG_fail
;
9086 arg3
= wxString_in_helper(obj2
);
9087 if (arg3
== NULL
) SWIG_fail
;
9093 arg4
= wxString_in_helper(obj3
);
9094 if (arg4
== NULL
) SWIG_fail
;
9099 arg5
= (bool) SWIG_AsBool(obj4
);
9100 if (PyErr_Occurred()) SWIG_fail
;
9103 arg6
= (bool) SWIG_AsBool(obj5
);
9104 if (PyErr_Occurred()) SWIG_fail
;
9107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9108 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
9110 wxPyEndAllowThreads(__tstate
);
9111 if (PyErr_Occurred()) SWIG_fail
;
9114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9146 static PyObject
*_wrap_Locale_Init2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9147 PyObject
*resultobj
;
9148 wxLocale
*arg1
= (wxLocale
*) 0 ;
9149 int arg2
= (int) wxLANGUAGE_DEFAULT
;
9150 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9152 PyObject
* obj0
= 0 ;
9153 PyObject
* obj1
= 0 ;
9154 PyObject
* obj2
= 0 ;
9156 (char *) "self",(char *) "language",(char *) "flags", NULL
9159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9163 arg2
= (int) SWIG_AsInt(obj1
);
9164 if (PyErr_Occurred()) SWIG_fail
;
9167 arg3
= (int) SWIG_AsInt(obj2
);
9168 if (PyErr_Occurred()) SWIG_fail
;
9171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9172 result
= (bool)(arg1
)->Init(arg2
,arg3
);
9174 wxPyEndAllowThreads(__tstate
);
9175 if (PyErr_Occurred()) SWIG_fail
;
9178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9186 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9187 PyObject
*resultobj
;
9193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
9195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9196 result
= (int)wxLocale::GetSystemLanguage();
9198 wxPyEndAllowThreads(__tstate
);
9199 if (PyErr_Occurred()) SWIG_fail
;
9201 resultobj
= SWIG_FromInt((int)result
);
9208 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9209 PyObject
*resultobj
;
9215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
9217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9218 result
= (int)wxLocale::GetSystemEncoding();
9220 wxPyEndAllowThreads(__tstate
);
9221 if (PyErr_Occurred()) SWIG_fail
;
9223 resultobj
= SWIG_FromInt((int)result
);
9230 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9231 PyObject
*resultobj
;
9237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
9239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9240 result
= wxLocale::GetSystemEncodingName();
9242 wxPyEndAllowThreads(__tstate
);
9243 if (PyErr_Occurred()) SWIG_fail
;
9247 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9249 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9258 static PyObject
*_wrap_Locale_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9259 PyObject
*resultobj
;
9260 wxLocale
*arg1
= (wxLocale
*) 0 ;
9262 PyObject
* obj0
= 0 ;
9264 (char *) "self", NULL
9267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
9268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9272 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
9274 wxPyEndAllowThreads(__tstate
);
9275 if (PyErr_Occurred()) SWIG_fail
;
9278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9286 static PyObject
*_wrap_Locale_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9287 PyObject
*resultobj
;
9288 wxLocale
*arg1
= (wxLocale
*) 0 ;
9290 PyObject
* obj0
= 0 ;
9292 (char *) "self", NULL
9295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
9296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9300 result
= ((wxLocale
const *)arg1
)->GetLocale();
9302 wxPyEndAllowThreads(__tstate
);
9303 if (PyErr_Occurred()) SWIG_fail
;
9307 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9309 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9318 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9319 PyObject
*resultobj
;
9320 wxLocale
*arg1
= (wxLocale
*) 0 ;
9322 PyObject
* obj0
= 0 ;
9324 (char *) "self", NULL
9327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
9328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9332 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
9334 wxPyEndAllowThreads(__tstate
);
9335 if (PyErr_Occurred()) SWIG_fail
;
9337 resultobj
= SWIG_FromInt((int)result
);
9344 static PyObject
*_wrap_Locale_GetSysName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9345 PyObject
*resultobj
;
9346 wxLocale
*arg1
= (wxLocale
*) 0 ;
9348 PyObject
* obj0
= 0 ;
9350 (char *) "self", NULL
9353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
9354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9358 result
= ((wxLocale
const *)arg1
)->GetSysName();
9360 wxPyEndAllowThreads(__tstate
);
9361 if (PyErr_Occurred()) SWIG_fail
;
9365 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9367 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9376 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9377 PyObject
*resultobj
;
9378 wxLocale
*arg1
= (wxLocale
*) 0 ;
9380 PyObject
* obj0
= 0 ;
9382 (char *) "self", NULL
9385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
9386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9390 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
9392 wxPyEndAllowThreads(__tstate
);
9393 if (PyErr_Occurred()) SWIG_fail
;
9397 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9399 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9408 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9409 PyObject
*resultobj
;
9410 wxString
*arg1
= 0 ;
9411 bool temp1
= False
;
9412 PyObject
* obj0
= 0 ;
9414 (char *) "prefix", NULL
9417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
9419 arg1
= wxString_in_helper(obj0
);
9420 if (arg1
== NULL
) SWIG_fail
;
9424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9425 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
9427 wxPyEndAllowThreads(__tstate
);
9428 if (PyErr_Occurred()) SWIG_fail
;
9430 Py_INCREF(Py_None
); resultobj
= Py_None
;
9445 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9446 PyObject
*resultobj
;
9447 wxLocale
*arg1
= (wxLocale
*) 0 ;
9448 wxString
*arg2
= 0 ;
9450 bool temp2
= False
;
9451 PyObject
* obj0
= 0 ;
9452 PyObject
* obj1
= 0 ;
9454 (char *) "self",(char *) "szDomain", NULL
9457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
9458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9461 arg2
= wxString_in_helper(obj1
);
9462 if (arg2
== NULL
) SWIG_fail
;
9466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9467 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
9469 wxPyEndAllowThreads(__tstate
);
9470 if (PyErr_Occurred()) SWIG_fail
;
9473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9489 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9490 PyObject
*resultobj
;
9491 wxLocale
*arg1
= (wxLocale
*) 0 ;
9492 wxString
*arg2
= 0 ;
9494 bool temp2
= False
;
9495 PyObject
* obj0
= 0 ;
9496 PyObject
* obj1
= 0 ;
9498 (char *) "self",(char *) "szDomain", NULL
9501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
9502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9505 arg2
= wxString_in_helper(obj1
);
9506 if (arg2
== NULL
) SWIG_fail
;
9510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9511 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
9513 wxPyEndAllowThreads(__tstate
);
9514 if (PyErr_Occurred()) SWIG_fail
;
9517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9533 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9534 PyObject
*resultobj
;
9536 wxLanguageInfo
*result
;
9537 PyObject
* obj0
= 0 ;
9539 (char *) "lang", NULL
9542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
9543 arg1
= (int) SWIG_AsInt(obj0
);
9544 if (PyErr_Occurred()) SWIG_fail
;
9546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9547 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
9549 wxPyEndAllowThreads(__tstate
);
9550 if (PyErr_Occurred()) SWIG_fail
;
9552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9559 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9560 PyObject
*resultobj
;
9563 PyObject
* obj0
= 0 ;
9565 (char *) "lang", NULL
9568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
9569 arg1
= (int) SWIG_AsInt(obj0
);
9570 if (PyErr_Occurred()) SWIG_fail
;
9572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9573 result
= wxLocale::GetLanguageName(arg1
);
9575 wxPyEndAllowThreads(__tstate
);
9576 if (PyErr_Occurred()) SWIG_fail
;
9580 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9582 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9591 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9592 PyObject
*resultobj
;
9593 wxString
*arg1
= 0 ;
9594 wxLanguageInfo
*result
;
9595 bool temp1
= False
;
9596 PyObject
* obj0
= 0 ;
9598 (char *) "locale", NULL
9601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
9603 arg1
= wxString_in_helper(obj0
);
9604 if (arg1
== NULL
) SWIG_fail
;
9608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9609 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
9611 wxPyEndAllowThreads(__tstate
);
9612 if (PyErr_Occurred()) SWIG_fail
;
9614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9629 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9630 PyObject
*resultobj
;
9631 wxLanguageInfo
*arg1
= 0 ;
9632 PyObject
* obj0
= 0 ;
9634 (char *) "info", NULL
9637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
9638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9639 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9642 PyErr_SetString(PyExc_TypeError
,"null reference");
9646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9647 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
9649 wxPyEndAllowThreads(__tstate
);
9650 if (PyErr_Occurred()) SWIG_fail
;
9652 Py_INCREF(Py_None
); resultobj
= Py_None
;
9659 static PyObject
*_wrap_Locale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9660 PyObject
*resultobj
;
9661 wxLocale
*arg1
= (wxLocale
*) 0 ;
9662 wxString
*arg2
= 0 ;
9663 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9664 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9666 bool temp2
= False
;
9667 bool temp3
= False
;
9668 PyObject
* obj0
= 0 ;
9669 PyObject
* obj1
= 0 ;
9670 PyObject
* obj2
= 0 ;
9672 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
9675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9679 arg2
= wxString_in_helper(obj1
);
9680 if (arg2
== NULL
) SWIG_fail
;
9685 arg3
= wxString_in_helper(obj2
);
9686 if (arg3
== NULL
) SWIG_fail
;
9691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9692 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9694 wxPyEndAllowThreads(__tstate
);
9695 if (PyErr_Occurred()) SWIG_fail
;
9699 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9701 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9726 static PyObject
*_wrap_Locale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9727 PyObject
*resultobj
;
9728 wxLocale
*arg1
= (wxLocale
*) 0 ;
9730 PyObject
* obj0
= 0 ;
9732 (char *) "self", NULL
9735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
9736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9741 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
9742 result
= (wxString
*) &_result_ref
;
9745 wxPyEndAllowThreads(__tstate
);
9746 if (PyErr_Occurred()) SWIG_fail
;
9750 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9752 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9761 static PyObject
* Locale_swigregister(PyObject
*self
, PyObject
*args
) {
9763 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9764 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
9766 return Py_BuildValue((char *)"");
9768 static PyObject
*_wrap_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9769 PyObject
*resultobj
;
9775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
9777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9778 result
= (wxLocale
*)wxGetLocale();
9780 wxPyEndAllowThreads(__tstate
);
9781 if (PyErr_Occurred()) SWIG_fail
;
9783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
9790 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*self
, PyObject
*args
) {
9791 PyObject
*resultobj
;
9792 wxString
*arg1
= 0 ;
9794 bool temp1
= False
;
9795 PyObject
* obj0
= 0 ;
9797 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
9799 arg1
= wxString_in_helper(obj0
);
9800 if (arg1
== NULL
) SWIG_fail
;
9804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9805 result
= wxGetTranslation((wxString
const &)*arg1
);
9807 wxPyEndAllowThreads(__tstate
);
9808 if (PyErr_Occurred()) SWIG_fail
;
9812 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9814 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9831 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*self
, PyObject
*args
) {
9832 PyObject
*resultobj
;
9833 wxString
*arg1
= 0 ;
9834 wxString
*arg2
= 0 ;
9837 bool temp1
= False
;
9838 bool temp2
= False
;
9839 PyObject
* obj0
= 0 ;
9840 PyObject
* obj1
= 0 ;
9841 PyObject
* obj2
= 0 ;
9843 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
9845 arg1
= wxString_in_helper(obj0
);
9846 if (arg1
== NULL
) SWIG_fail
;
9850 arg2
= wxString_in_helper(obj1
);
9851 if (arg2
== NULL
) SWIG_fail
;
9854 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9855 if (PyErr_Occurred()) SWIG_fail
;
9857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9858 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
9860 wxPyEndAllowThreads(__tstate
);
9861 if (PyErr_Occurred()) SWIG_fail
;
9865 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9867 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9892 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
9897 argc
= PyObject_Length(args
);
9898 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
9899 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9904 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9907 return _wrap_GetTranslation__SWIG_0(self
,args
);
9913 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9917 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9920 _v
= SWIG_CheckUnsignedLong(argv
[2]);
9922 return _wrap_GetTranslation__SWIG_1(self
,args
);
9928 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
9933 static PyObject
*_wrap_new_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9934 PyObject
*resultobj
;
9935 wxEncodingConverter
*result
;
9940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
9942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9943 result
= (wxEncodingConverter
*)new wxEncodingConverter();
9945 wxPyEndAllowThreads(__tstate
);
9946 if (PyErr_Occurred()) SWIG_fail
;
9948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
9955 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9956 PyObject
*resultobj
;
9957 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
9958 PyObject
* obj0
= 0 ;
9960 (char *) "self", NULL
9963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
9964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
9965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9970 wxPyEndAllowThreads(__tstate
);
9971 if (PyErr_Occurred()) SWIG_fail
;
9973 Py_INCREF(Py_None
); resultobj
= Py_None
;
9980 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9981 PyObject
*resultobj
;
9982 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
9985 int arg4
= (int) wxCONVERT_STRICT
;
9987 PyObject
* obj0
= 0 ;
9988 PyObject
* obj1
= 0 ;
9989 PyObject
* obj2
= 0 ;
9990 PyObject
* obj3
= 0 ;
9992 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
9995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
9997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9998 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
9999 if (PyErr_Occurred()) SWIG_fail
;
10000 arg3
= (wxFontEncoding
) SWIG_AsInt(obj2
);
10001 if (PyErr_Occurred()) SWIG_fail
;
10003 arg4
= (int) SWIG_AsInt(obj3
);
10004 if (PyErr_Occurred()) SWIG_fail
;
10007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10008 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
10010 wxPyEndAllowThreads(__tstate
);
10011 if (PyErr_Occurred()) SWIG_fail
;
10014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10022 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10023 PyObject
*resultobj
;
10024 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10025 wxString
*arg2
= 0 ;
10027 bool temp2
= False
;
10028 PyObject
* obj0
= 0 ;
10029 PyObject
* obj1
= 0 ;
10030 char *kwnames
[] = {
10031 (char *) "self",(char *) "input", NULL
10034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
10035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10038 arg2
= wxString_in_helper(obj1
);
10039 if (arg2
== NULL
) SWIG_fail
;
10043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10044 result
= (arg1
)->Convert((wxString
const &)*arg2
);
10046 wxPyEndAllowThreads(__tstate
);
10047 if (PyErr_Occurred()) SWIG_fail
;
10051 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10053 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10070 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10071 PyObject
*resultobj
;
10073 int arg2
= (int) wxPLATFORM_CURRENT
;
10074 wxFontEncodingArray result
;
10075 PyObject
* obj0
= 0 ;
10076 PyObject
* obj1
= 0 ;
10077 char *kwnames
[] = {
10078 (char *) "enc",(char *) "platform", NULL
10081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
10082 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10083 if (PyErr_Occurred()) SWIG_fail
;
10085 arg2
= (int) SWIG_AsInt(obj1
);
10086 if (PyErr_Occurred()) SWIG_fail
;
10089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10090 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
10092 wxPyEndAllowThreads(__tstate
);
10093 if (PyErr_Occurred()) SWIG_fail
;
10096 resultobj
= PyList_New(0);
10097 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10098 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10099 PyList_Append(resultobj
, number
);
10109 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10110 PyObject
*resultobj
;
10112 wxFontEncodingArray result
;
10113 PyObject
* obj0
= 0 ;
10114 char *kwnames
[] = {
10115 (char *) "enc", NULL
10118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
10119 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10120 if (PyErr_Occurred()) SWIG_fail
;
10122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10123 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
10125 wxPyEndAllowThreads(__tstate
);
10126 if (PyErr_Occurred()) SWIG_fail
;
10129 resultobj
= PyList_New(0);
10130 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10131 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10132 PyList_Append(resultobj
, number
);
10142 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10143 PyObject
*resultobj
;
10147 PyObject
* obj0
= 0 ;
10148 PyObject
* obj1
= 0 ;
10149 char *kwnames
[] = {
10150 (char *) "encIn",(char *) "encOut", NULL
10153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
10154 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10155 if (PyErr_Occurred()) SWIG_fail
;
10156 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10157 if (PyErr_Occurred()) SWIG_fail
;
10159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10160 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
10162 wxPyEndAllowThreads(__tstate
);
10163 if (PyErr_Occurred()) SWIG_fail
;
10166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10174 static PyObject
* EncodingConverter_swigregister(PyObject
*self
, PyObject
*args
) {
10176 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10177 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
10179 return Py_BuildValue((char *)"");
10181 static PyObject
*_wrap_delete_DC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10182 PyObject
*resultobj
;
10183 wxDC
*arg1
= (wxDC
*) 0 ;
10184 PyObject
* obj0
= 0 ;
10185 char *kwnames
[] = {
10186 (char *) "self", NULL
10189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
10190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10196 wxPyEndAllowThreads(__tstate
);
10197 if (PyErr_Occurred()) SWIG_fail
;
10199 Py_INCREF(Py_None
); resultobj
= Py_None
;
10206 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10207 PyObject
*resultobj
;
10208 wxDC
*arg1
= (wxDC
*) 0 ;
10209 PyObject
* obj0
= 0 ;
10210 char *kwnames
[] = {
10211 (char *) "self", NULL
10214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
10215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10219 (arg1
)->BeginDrawing();
10221 wxPyEndAllowThreads(__tstate
);
10222 if (PyErr_Occurred()) SWIG_fail
;
10224 Py_INCREF(Py_None
); resultobj
= Py_None
;
10231 static PyObject
*_wrap_DC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10232 PyObject
*resultobj
;
10233 wxDC
*arg1
= (wxDC
*) 0 ;
10234 PyObject
* obj0
= 0 ;
10235 char *kwnames
[] = {
10236 (char *) "self", NULL
10239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
10240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10244 (arg1
)->EndDrawing();
10246 wxPyEndAllowThreads(__tstate
);
10247 if (PyErr_Occurred()) SWIG_fail
;
10249 Py_INCREF(Py_None
); resultobj
= Py_None
;
10256 static PyObject
*_wrap_DC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10257 PyObject
*resultobj
;
10258 wxDC
*arg1
= (wxDC
*) 0 ;
10261 wxColour
*arg4
= 0 ;
10262 int arg5
= (int) wxFLOOD_SURFACE
;
10265 PyObject
* obj0
= 0 ;
10266 PyObject
* obj1
= 0 ;
10267 PyObject
* obj2
= 0 ;
10268 PyObject
* obj3
= 0 ;
10269 PyObject
* obj4
= 0 ;
10270 char *kwnames
[] = {
10271 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10277 arg2
= (int) SWIG_AsInt(obj1
);
10278 if (PyErr_Occurred()) SWIG_fail
;
10279 arg3
= (int) SWIG_AsInt(obj2
);
10280 if (PyErr_Occurred()) SWIG_fail
;
10283 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
10286 arg5
= (int) SWIG_AsInt(obj4
);
10287 if (PyErr_Occurred()) SWIG_fail
;
10290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10291 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
10293 wxPyEndAllowThreads(__tstate
);
10294 if (PyErr_Occurred()) SWIG_fail
;
10297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10305 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10306 PyObject
*resultobj
;
10307 wxDC
*arg1
= (wxDC
*) 0 ;
10308 wxPoint
*arg2
= 0 ;
10309 wxColour
*arg3
= 0 ;
10310 int arg4
= (int) wxFLOOD_SURFACE
;
10314 PyObject
* obj0
= 0 ;
10315 PyObject
* obj1
= 0 ;
10316 PyObject
* obj2
= 0 ;
10317 PyObject
* obj3
= 0 ;
10318 char *kwnames
[] = {
10319 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10327 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10331 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10334 arg4
= (int) SWIG_AsInt(obj3
);
10335 if (PyErr_Occurred()) SWIG_fail
;
10338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10339 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
10341 wxPyEndAllowThreads(__tstate
);
10342 if (PyErr_Occurred()) SWIG_fail
;
10345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10353 static PyObject
*_wrap_DC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10354 PyObject
*resultobj
;
10355 wxDC
*arg1
= (wxDC
*) 0 ;
10359 PyObject
* obj0
= 0 ;
10360 PyObject
* obj1
= 0 ;
10361 PyObject
* obj2
= 0 ;
10362 char *kwnames
[] = {
10363 (char *) "self",(char *) "x",(char *) "y", NULL
10366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10369 arg2
= (int) SWIG_AsInt(obj1
);
10370 if (PyErr_Occurred()) SWIG_fail
;
10371 arg3
= (int) SWIG_AsInt(obj2
);
10372 if (PyErr_Occurred()) SWIG_fail
;
10374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10375 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
10377 wxPyEndAllowThreads(__tstate
);
10378 if (PyErr_Occurred()) SWIG_fail
;
10381 wxColour
* resultptr
;
10382 resultptr
= new wxColour((wxColour
&) result
);
10383 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10391 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10392 PyObject
*resultobj
;
10393 wxDC
*arg1
= (wxDC
*) 0 ;
10394 wxPoint
*arg2
= 0 ;
10397 PyObject
* obj0
= 0 ;
10398 PyObject
* obj1
= 0 ;
10399 char *kwnames
[] = {
10400 (char *) "self",(char *) "pt", NULL
10403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10408 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10412 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
10414 wxPyEndAllowThreads(__tstate
);
10415 if (PyErr_Occurred()) SWIG_fail
;
10418 wxColour
* resultptr
;
10419 resultptr
= new wxColour((wxColour
&) result
);
10420 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10428 static PyObject
*_wrap_DC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10429 PyObject
*resultobj
;
10430 wxDC
*arg1
= (wxDC
*) 0 ;
10435 PyObject
* obj0
= 0 ;
10436 PyObject
* obj1
= 0 ;
10437 PyObject
* obj2
= 0 ;
10438 PyObject
* obj3
= 0 ;
10439 PyObject
* obj4
= 0 ;
10440 char *kwnames
[] = {
10441 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10447 arg2
= (int) SWIG_AsInt(obj1
);
10448 if (PyErr_Occurred()) SWIG_fail
;
10449 arg3
= (int) SWIG_AsInt(obj2
);
10450 if (PyErr_Occurred()) SWIG_fail
;
10451 arg4
= (int) SWIG_AsInt(obj3
);
10452 if (PyErr_Occurred()) SWIG_fail
;
10453 arg5
= (int) SWIG_AsInt(obj4
);
10454 if (PyErr_Occurred()) SWIG_fail
;
10456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10457 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
10459 wxPyEndAllowThreads(__tstate
);
10460 if (PyErr_Occurred()) SWIG_fail
;
10462 Py_INCREF(Py_None
); resultobj
= Py_None
;
10469 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10470 PyObject
*resultobj
;
10471 wxDC
*arg1
= (wxDC
*) 0 ;
10472 wxPoint
*arg2
= 0 ;
10473 wxPoint
*arg3
= 0 ;
10476 PyObject
* obj0
= 0 ;
10477 PyObject
* obj1
= 0 ;
10478 PyObject
* obj2
= 0 ;
10479 char *kwnames
[] = {
10480 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10488 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10492 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10496 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
10498 wxPyEndAllowThreads(__tstate
);
10499 if (PyErr_Occurred()) SWIG_fail
;
10501 Py_INCREF(Py_None
); resultobj
= Py_None
;
10508 static PyObject
*_wrap_DC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10509 PyObject
*resultobj
;
10510 wxDC
*arg1
= (wxDC
*) 0 ;
10513 PyObject
* obj0
= 0 ;
10514 PyObject
* obj1
= 0 ;
10515 PyObject
* obj2
= 0 ;
10516 char *kwnames
[] = {
10517 (char *) "self",(char *) "x",(char *) "y", NULL
10520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10523 arg2
= (int) SWIG_AsInt(obj1
);
10524 if (PyErr_Occurred()) SWIG_fail
;
10525 arg3
= (int) SWIG_AsInt(obj2
);
10526 if (PyErr_Occurred()) SWIG_fail
;
10528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10529 (arg1
)->CrossHair(arg2
,arg3
);
10531 wxPyEndAllowThreads(__tstate
);
10532 if (PyErr_Occurred()) SWIG_fail
;
10534 Py_INCREF(Py_None
); resultobj
= Py_None
;
10541 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10542 PyObject
*resultobj
;
10543 wxDC
*arg1
= (wxDC
*) 0 ;
10544 wxPoint
*arg2
= 0 ;
10546 PyObject
* obj0
= 0 ;
10547 PyObject
* obj1
= 0 ;
10548 char *kwnames
[] = {
10549 (char *) "self",(char *) "pt", NULL
10552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10557 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10561 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
10563 wxPyEndAllowThreads(__tstate
);
10564 if (PyErr_Occurred()) SWIG_fail
;
10566 Py_INCREF(Py_None
); resultobj
= Py_None
;
10573 static PyObject
*_wrap_DC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10574 PyObject
*resultobj
;
10575 wxDC
*arg1
= (wxDC
*) 0 ;
10582 PyObject
* obj0
= 0 ;
10583 PyObject
* obj1
= 0 ;
10584 PyObject
* obj2
= 0 ;
10585 PyObject
* obj3
= 0 ;
10586 PyObject
* obj4
= 0 ;
10587 PyObject
* obj5
= 0 ;
10588 PyObject
* obj6
= 0 ;
10589 char *kwnames
[] = {
10590 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
10593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10596 arg2
= (int) SWIG_AsInt(obj1
);
10597 if (PyErr_Occurred()) SWIG_fail
;
10598 arg3
= (int) SWIG_AsInt(obj2
);
10599 if (PyErr_Occurred()) SWIG_fail
;
10600 arg4
= (int) SWIG_AsInt(obj3
);
10601 if (PyErr_Occurred()) SWIG_fail
;
10602 arg5
= (int) SWIG_AsInt(obj4
);
10603 if (PyErr_Occurred()) SWIG_fail
;
10604 arg6
= (int) SWIG_AsInt(obj5
);
10605 if (PyErr_Occurred()) SWIG_fail
;
10606 arg7
= (int) SWIG_AsInt(obj6
);
10607 if (PyErr_Occurred()) SWIG_fail
;
10609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10610 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10612 wxPyEndAllowThreads(__tstate
);
10613 if (PyErr_Occurred()) SWIG_fail
;
10615 Py_INCREF(Py_None
); resultobj
= Py_None
;
10622 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10623 PyObject
*resultobj
;
10624 wxDC
*arg1
= (wxDC
*) 0 ;
10625 wxPoint
*arg2
= 0 ;
10626 wxPoint
*arg3
= 0 ;
10627 wxPoint
*arg4
= 0 ;
10631 PyObject
* obj0
= 0 ;
10632 PyObject
* obj1
= 0 ;
10633 PyObject
* obj2
= 0 ;
10634 PyObject
* obj3
= 0 ;
10635 char *kwnames
[] = {
10636 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
10639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10644 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10648 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10652 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10656 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
10658 wxPyEndAllowThreads(__tstate
);
10659 if (PyErr_Occurred()) SWIG_fail
;
10661 Py_INCREF(Py_None
); resultobj
= Py_None
;
10668 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10669 PyObject
*resultobj
;
10670 wxDC
*arg1
= (wxDC
*) 0 ;
10675 PyObject
* obj0
= 0 ;
10676 PyObject
* obj1
= 0 ;
10677 PyObject
* obj2
= 0 ;
10678 PyObject
* obj3
= 0 ;
10679 PyObject
* obj4
= 0 ;
10680 char *kwnames
[] = {
10681 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10687 arg2
= (int) SWIG_AsInt(obj1
);
10688 if (PyErr_Occurred()) SWIG_fail
;
10689 arg3
= (int) SWIG_AsInt(obj2
);
10690 if (PyErr_Occurred()) SWIG_fail
;
10691 arg4
= (int) SWIG_AsInt(obj3
);
10692 if (PyErr_Occurred()) SWIG_fail
;
10693 arg5
= (int) SWIG_AsInt(obj4
);
10694 if (PyErr_Occurred()) SWIG_fail
;
10696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10697 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
10699 wxPyEndAllowThreads(__tstate
);
10700 if (PyErr_Occurred()) SWIG_fail
;
10702 Py_INCREF(Py_None
); resultobj
= Py_None
;
10709 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10710 PyObject
*resultobj
;
10711 wxDC
*arg1
= (wxDC
*) 0 ;
10714 PyObject
* obj0
= 0 ;
10715 PyObject
* obj1
= 0 ;
10716 char *kwnames
[] = {
10717 (char *) "self",(char *) "rect", NULL
10720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10725 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10729 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
10731 wxPyEndAllowThreads(__tstate
);
10732 if (PyErr_Occurred()) SWIG_fail
;
10734 Py_INCREF(Py_None
); resultobj
= Py_None
;
10741 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10742 PyObject
*resultobj
;
10743 wxDC
*arg1
= (wxDC
*) 0 ;
10750 PyObject
* obj0
= 0 ;
10751 PyObject
* obj1
= 0 ;
10752 PyObject
* obj2
= 0 ;
10753 PyObject
* obj3
= 0 ;
10754 PyObject
* obj4
= 0 ;
10755 PyObject
* obj5
= 0 ;
10756 PyObject
* obj6
= 0 ;
10757 char *kwnames
[] = {
10758 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
10761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10764 arg2
= (int) SWIG_AsInt(obj1
);
10765 if (PyErr_Occurred()) SWIG_fail
;
10766 arg3
= (int) SWIG_AsInt(obj2
);
10767 if (PyErr_Occurred()) SWIG_fail
;
10768 arg4
= (int) SWIG_AsInt(obj3
);
10769 if (PyErr_Occurred()) SWIG_fail
;
10770 arg5
= (int) SWIG_AsInt(obj4
);
10771 if (PyErr_Occurred()) SWIG_fail
;
10772 arg6
= (double) SWIG_AsDouble(obj5
);
10773 if (PyErr_Occurred()) SWIG_fail
;
10774 arg7
= (double) SWIG_AsDouble(obj6
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10778 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10780 wxPyEndAllowThreads(__tstate
);
10781 if (PyErr_Occurred()) SWIG_fail
;
10783 Py_INCREF(Py_None
); resultobj
= Py_None
;
10790 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10791 PyObject
*resultobj
;
10792 wxDC
*arg1
= (wxDC
*) 0 ;
10793 wxPoint
*arg2
= 0 ;
10799 PyObject
* obj0
= 0 ;
10800 PyObject
* obj1
= 0 ;
10801 PyObject
* obj2
= 0 ;
10802 PyObject
* obj3
= 0 ;
10803 PyObject
* obj4
= 0 ;
10804 char *kwnames
[] = {
10805 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
10808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10813 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10817 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10819 arg4
= (double) SWIG_AsDouble(obj3
);
10820 if (PyErr_Occurred()) SWIG_fail
;
10821 arg5
= (double) SWIG_AsDouble(obj4
);
10822 if (PyErr_Occurred()) SWIG_fail
;
10824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10825 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
10827 wxPyEndAllowThreads(__tstate
);
10828 if (PyErr_Occurred()) SWIG_fail
;
10830 Py_INCREF(Py_None
); resultobj
= Py_None
;
10837 static PyObject
*_wrap_DC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10838 PyObject
*resultobj
;
10839 wxDC
*arg1
= (wxDC
*) 0 ;
10842 PyObject
* obj0
= 0 ;
10843 PyObject
* obj1
= 0 ;
10844 PyObject
* obj2
= 0 ;
10845 char *kwnames
[] = {
10846 (char *) "self",(char *) "x",(char *) "y", NULL
10849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10852 arg2
= (int) SWIG_AsInt(obj1
);
10853 if (PyErr_Occurred()) SWIG_fail
;
10854 arg3
= (int) SWIG_AsInt(obj2
);
10855 if (PyErr_Occurred()) SWIG_fail
;
10857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10858 (arg1
)->DrawPoint(arg2
,arg3
);
10860 wxPyEndAllowThreads(__tstate
);
10861 if (PyErr_Occurred()) SWIG_fail
;
10863 Py_INCREF(Py_None
); resultobj
= Py_None
;
10870 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10871 PyObject
*resultobj
;
10872 wxDC
*arg1
= (wxDC
*) 0 ;
10873 wxPoint
*arg2
= 0 ;
10875 PyObject
* obj0
= 0 ;
10876 PyObject
* obj1
= 0 ;
10877 char *kwnames
[] = {
10878 (char *) "self",(char *) "pt", NULL
10881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10886 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10890 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
10892 wxPyEndAllowThreads(__tstate
);
10893 if (PyErr_Occurred()) SWIG_fail
;
10895 Py_INCREF(Py_None
); resultobj
= Py_None
;
10902 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10903 PyObject
*resultobj
;
10904 wxDC
*arg1
= (wxDC
*) 0 ;
10909 PyObject
* obj0
= 0 ;
10910 PyObject
* obj1
= 0 ;
10911 PyObject
* obj2
= 0 ;
10912 PyObject
* obj3
= 0 ;
10913 PyObject
* obj4
= 0 ;
10914 char *kwnames
[] = {
10915 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10921 arg2
= (int) SWIG_AsInt(obj1
);
10922 if (PyErr_Occurred()) SWIG_fail
;
10923 arg3
= (int) SWIG_AsInt(obj2
);
10924 if (PyErr_Occurred()) SWIG_fail
;
10925 arg4
= (int) SWIG_AsInt(obj3
);
10926 if (PyErr_Occurred()) SWIG_fail
;
10927 arg5
= (int) SWIG_AsInt(obj4
);
10928 if (PyErr_Occurred()) SWIG_fail
;
10930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10931 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
10933 wxPyEndAllowThreads(__tstate
);
10934 if (PyErr_Occurred()) SWIG_fail
;
10936 Py_INCREF(Py_None
); resultobj
= Py_None
;
10943 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10944 PyObject
*resultobj
;
10945 wxDC
*arg1
= (wxDC
*) 0 ;
10948 PyObject
* obj0
= 0 ;
10949 PyObject
* obj1
= 0 ;
10950 char *kwnames
[] = {
10951 (char *) "self",(char *) "rect", NULL
10954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10959 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10963 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
10965 wxPyEndAllowThreads(__tstate
);
10966 if (PyErr_Occurred()) SWIG_fail
;
10968 Py_INCREF(Py_None
); resultobj
= Py_None
;
10975 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10976 PyObject
*resultobj
;
10977 wxDC
*arg1
= (wxDC
*) 0 ;
10978 wxPoint
*arg2
= 0 ;
10982 PyObject
* obj0
= 0 ;
10983 PyObject
* obj1
= 0 ;
10984 PyObject
* obj2
= 0 ;
10985 char *kwnames
[] = {
10986 (char *) "self",(char *) "pt",(char *) "sz", NULL
10989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10994 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10998 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11002 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11004 wxPyEndAllowThreads(__tstate
);
11005 if (PyErr_Occurred()) SWIG_fail
;
11007 Py_INCREF(Py_None
); resultobj
= Py_None
;
11014 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11015 PyObject
*resultobj
;
11016 wxDC
*arg1
= (wxDC
*) 0 ;
11022 PyObject
* obj0
= 0 ;
11023 PyObject
* obj1
= 0 ;
11024 PyObject
* obj2
= 0 ;
11025 PyObject
* obj3
= 0 ;
11026 PyObject
* obj4
= 0 ;
11027 PyObject
* obj5
= 0 ;
11028 char *kwnames
[] = {
11029 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11035 arg2
= (int) SWIG_AsInt(obj1
);
11036 if (PyErr_Occurred()) SWIG_fail
;
11037 arg3
= (int) SWIG_AsInt(obj2
);
11038 if (PyErr_Occurred()) SWIG_fail
;
11039 arg4
= (int) SWIG_AsInt(obj3
);
11040 if (PyErr_Occurred()) SWIG_fail
;
11041 arg5
= (int) SWIG_AsInt(obj4
);
11042 if (PyErr_Occurred()) SWIG_fail
;
11043 arg6
= (double) SWIG_AsDouble(obj5
);
11044 if (PyErr_Occurred()) SWIG_fail
;
11046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11047 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
11049 wxPyEndAllowThreads(__tstate
);
11050 if (PyErr_Occurred()) SWIG_fail
;
11052 Py_INCREF(Py_None
); resultobj
= Py_None
;
11059 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11060 PyObject
*resultobj
;
11061 wxDC
*arg1
= (wxDC
*) 0 ;
11065 PyObject
* obj0
= 0 ;
11066 PyObject
* obj1
= 0 ;
11067 PyObject
* obj2
= 0 ;
11068 char *kwnames
[] = {
11069 (char *) "self",(char *) "r",(char *) "radius", NULL
11072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11077 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11079 arg3
= (double) SWIG_AsDouble(obj2
);
11080 if (PyErr_Occurred()) SWIG_fail
;
11082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11083 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11085 wxPyEndAllowThreads(__tstate
);
11086 if (PyErr_Occurred()) SWIG_fail
;
11088 Py_INCREF(Py_None
); resultobj
= Py_None
;
11095 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11096 PyObject
*resultobj
;
11097 wxDC
*arg1
= (wxDC
*) 0 ;
11098 wxPoint
*arg2
= 0 ;
11103 PyObject
* obj0
= 0 ;
11104 PyObject
* obj1
= 0 ;
11105 PyObject
* obj2
= 0 ;
11106 PyObject
* obj3
= 0 ;
11107 char *kwnames
[] = {
11108 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
11111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11116 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11120 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11122 arg4
= (double) SWIG_AsDouble(obj3
);
11123 if (PyErr_Occurred()) SWIG_fail
;
11125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11126 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
11128 wxPyEndAllowThreads(__tstate
);
11129 if (PyErr_Occurred()) SWIG_fail
;
11131 Py_INCREF(Py_None
); resultobj
= Py_None
;
11138 static PyObject
*_wrap_DC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11139 PyObject
*resultobj
;
11140 wxDC
*arg1
= (wxDC
*) 0 ;
11144 PyObject
* obj0
= 0 ;
11145 PyObject
* obj1
= 0 ;
11146 PyObject
* obj2
= 0 ;
11147 PyObject
* obj3
= 0 ;
11148 char *kwnames
[] = {
11149 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11155 arg2
= (int) SWIG_AsInt(obj1
);
11156 if (PyErr_Occurred()) SWIG_fail
;
11157 arg3
= (int) SWIG_AsInt(obj2
);
11158 if (PyErr_Occurred()) SWIG_fail
;
11159 arg4
= (int) SWIG_AsInt(obj3
);
11160 if (PyErr_Occurred()) SWIG_fail
;
11162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11163 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
11165 wxPyEndAllowThreads(__tstate
);
11166 if (PyErr_Occurred()) SWIG_fail
;
11168 Py_INCREF(Py_None
); resultobj
= Py_None
;
11175 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11176 PyObject
*resultobj
;
11177 wxDC
*arg1
= (wxDC
*) 0 ;
11178 wxPoint
*arg2
= 0 ;
11181 PyObject
* obj0
= 0 ;
11182 PyObject
* obj1
= 0 ;
11183 PyObject
* obj2
= 0 ;
11184 char *kwnames
[] = {
11185 (char *) "self",(char *) "pt",(char *) "radius", NULL
11188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11193 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11195 arg3
= (int) SWIG_AsInt(obj2
);
11196 if (PyErr_Occurred()) SWIG_fail
;
11198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11199 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
11201 wxPyEndAllowThreads(__tstate
);
11202 if (PyErr_Occurred()) SWIG_fail
;
11204 Py_INCREF(Py_None
); resultobj
= Py_None
;
11211 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11212 PyObject
*resultobj
;
11213 wxDC
*arg1
= (wxDC
*) 0 ;
11218 PyObject
* obj0
= 0 ;
11219 PyObject
* obj1
= 0 ;
11220 PyObject
* obj2
= 0 ;
11221 PyObject
* obj3
= 0 ;
11222 PyObject
* obj4
= 0 ;
11223 char *kwnames
[] = {
11224 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11230 arg2
= (int) SWIG_AsInt(obj1
);
11231 if (PyErr_Occurred()) SWIG_fail
;
11232 arg3
= (int) SWIG_AsInt(obj2
);
11233 if (PyErr_Occurred()) SWIG_fail
;
11234 arg4
= (int) SWIG_AsInt(obj3
);
11235 if (PyErr_Occurred()) SWIG_fail
;
11236 arg5
= (int) SWIG_AsInt(obj4
);
11237 if (PyErr_Occurred()) SWIG_fail
;
11239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11240 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11242 wxPyEndAllowThreads(__tstate
);
11243 if (PyErr_Occurred()) SWIG_fail
;
11245 Py_INCREF(Py_None
); resultobj
= Py_None
;
11252 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11253 PyObject
*resultobj
;
11254 wxDC
*arg1
= (wxDC
*) 0 ;
11257 PyObject
* obj0
= 0 ;
11258 PyObject
* obj1
= 0 ;
11259 char *kwnames
[] = {
11260 (char *) "self",(char *) "rect", NULL
11263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11268 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11272 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11274 wxPyEndAllowThreads(__tstate
);
11275 if (PyErr_Occurred()) SWIG_fail
;
11277 Py_INCREF(Py_None
); resultobj
= Py_None
;
11284 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11285 PyObject
*resultobj
;
11286 wxDC
*arg1
= (wxDC
*) 0 ;
11287 wxPoint
*arg2
= 0 ;
11291 PyObject
* obj0
= 0 ;
11292 PyObject
* obj1
= 0 ;
11293 PyObject
* obj2
= 0 ;
11294 char *kwnames
[] = {
11295 (char *) "self",(char *) "pt",(char *) "sz", NULL
11298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11303 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11307 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11311 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11313 wxPyEndAllowThreads(__tstate
);
11314 if (PyErr_Occurred()) SWIG_fail
;
11316 Py_INCREF(Py_None
); resultobj
= Py_None
;
11323 static PyObject
*_wrap_DC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11324 PyObject
*resultobj
;
11325 wxDC
*arg1
= (wxDC
*) 0 ;
11329 PyObject
* obj0
= 0 ;
11330 PyObject
* obj1
= 0 ;
11331 PyObject
* obj2
= 0 ;
11332 PyObject
* obj3
= 0 ;
11333 char *kwnames
[] = {
11334 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11340 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11341 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11343 if (arg2
== NULL
) {
11344 PyErr_SetString(PyExc_TypeError
,"null reference");
11347 arg3
= (int) SWIG_AsInt(obj2
);
11348 if (PyErr_Occurred()) SWIG_fail
;
11349 arg4
= (int) SWIG_AsInt(obj3
);
11350 if (PyErr_Occurred()) SWIG_fail
;
11352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11353 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11355 wxPyEndAllowThreads(__tstate
);
11356 if (PyErr_Occurred()) SWIG_fail
;
11358 Py_INCREF(Py_None
); resultobj
= Py_None
;
11365 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11366 PyObject
*resultobj
;
11367 wxDC
*arg1
= (wxDC
*) 0 ;
11369 wxPoint
*arg3
= 0 ;
11371 PyObject
* obj0
= 0 ;
11372 PyObject
* obj1
= 0 ;
11373 PyObject
* obj2
= 0 ;
11374 char *kwnames
[] = {
11375 (char *) "self",(char *) "icon",(char *) "pt", NULL
11378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11381 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11382 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11384 if (arg2
== NULL
) {
11385 PyErr_SetString(PyExc_TypeError
,"null reference");
11390 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11394 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
11396 wxPyEndAllowThreads(__tstate
);
11397 if (PyErr_Occurred()) SWIG_fail
;
11399 Py_INCREF(Py_None
); resultobj
= Py_None
;
11406 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11407 PyObject
*resultobj
;
11408 wxDC
*arg1
= (wxDC
*) 0 ;
11409 wxBitmap
*arg2
= 0 ;
11412 bool arg5
= (bool) False
;
11413 PyObject
* obj0
= 0 ;
11414 PyObject
* obj1
= 0 ;
11415 PyObject
* obj2
= 0 ;
11416 PyObject
* obj3
= 0 ;
11417 PyObject
* obj4
= 0 ;
11418 char *kwnames
[] = {
11419 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11425 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11426 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11428 if (arg2
== NULL
) {
11429 PyErr_SetString(PyExc_TypeError
,"null reference");
11432 arg3
= (int) SWIG_AsInt(obj2
);
11433 if (PyErr_Occurred()) SWIG_fail
;
11434 arg4
= (int) SWIG_AsInt(obj3
);
11435 if (PyErr_Occurred()) SWIG_fail
;
11437 arg5
= (bool) SWIG_AsBool(obj4
);
11438 if (PyErr_Occurred()) SWIG_fail
;
11441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11442 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
11444 wxPyEndAllowThreads(__tstate
);
11445 if (PyErr_Occurred()) SWIG_fail
;
11447 Py_INCREF(Py_None
); resultobj
= Py_None
;
11454 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11455 PyObject
*resultobj
;
11456 wxDC
*arg1
= (wxDC
*) 0 ;
11457 wxBitmap
*arg2
= 0 ;
11458 wxPoint
*arg3
= 0 ;
11459 bool arg4
= (bool) False
;
11461 PyObject
* obj0
= 0 ;
11462 PyObject
* obj1
= 0 ;
11463 PyObject
* obj2
= 0 ;
11464 PyObject
* obj3
= 0 ;
11465 char *kwnames
[] = {
11466 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11472 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11473 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11475 if (arg2
== NULL
) {
11476 PyErr_SetString(PyExc_TypeError
,"null reference");
11481 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11484 arg4
= (bool) SWIG_AsBool(obj3
);
11485 if (PyErr_Occurred()) SWIG_fail
;
11488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11489 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11491 wxPyEndAllowThreads(__tstate
);
11492 if (PyErr_Occurred()) SWIG_fail
;
11494 Py_INCREF(Py_None
); resultobj
= Py_None
;
11501 static PyObject
*_wrap_DC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11502 PyObject
*resultobj
;
11503 wxDC
*arg1
= (wxDC
*) 0 ;
11504 wxString
*arg2
= 0 ;
11507 bool temp2
= False
;
11508 PyObject
* obj0
= 0 ;
11509 PyObject
* obj1
= 0 ;
11510 PyObject
* obj2
= 0 ;
11511 PyObject
* obj3
= 0 ;
11512 char *kwnames
[] = {
11513 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
11516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11520 arg2
= wxString_in_helper(obj1
);
11521 if (arg2
== NULL
) SWIG_fail
;
11524 arg3
= (int) SWIG_AsInt(obj2
);
11525 if (PyErr_Occurred()) SWIG_fail
;
11526 arg4
= (int) SWIG_AsInt(obj3
);
11527 if (PyErr_Occurred()) SWIG_fail
;
11529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11530 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
11532 wxPyEndAllowThreads(__tstate
);
11533 if (PyErr_Occurred()) SWIG_fail
;
11535 Py_INCREF(Py_None
); resultobj
= Py_None
;
11550 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11551 PyObject
*resultobj
;
11552 wxDC
*arg1
= (wxDC
*) 0 ;
11553 wxString
*arg2
= 0 ;
11554 wxPoint
*arg3
= 0 ;
11555 bool temp2
= False
;
11557 PyObject
* obj0
= 0 ;
11558 PyObject
* obj1
= 0 ;
11559 PyObject
* obj2
= 0 ;
11560 char *kwnames
[] = {
11561 (char *) "self",(char *) "text",(char *) "pt", NULL
11564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11568 arg2
= wxString_in_helper(obj1
);
11569 if (arg2
== NULL
) SWIG_fail
;
11574 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11578 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
11580 wxPyEndAllowThreads(__tstate
);
11581 if (PyErr_Occurred()) SWIG_fail
;
11583 Py_INCREF(Py_None
); resultobj
= Py_None
;
11598 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11599 PyObject
*resultobj
;
11600 wxDC
*arg1
= (wxDC
*) 0 ;
11601 wxString
*arg2
= 0 ;
11605 bool temp2
= False
;
11606 PyObject
* obj0
= 0 ;
11607 PyObject
* obj1
= 0 ;
11608 PyObject
* obj2
= 0 ;
11609 PyObject
* obj3
= 0 ;
11610 PyObject
* obj4
= 0 ;
11611 char *kwnames
[] = {
11612 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
11615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11619 arg2
= wxString_in_helper(obj1
);
11620 if (arg2
== NULL
) SWIG_fail
;
11623 arg3
= (int) SWIG_AsInt(obj2
);
11624 if (PyErr_Occurred()) SWIG_fail
;
11625 arg4
= (int) SWIG_AsInt(obj3
);
11626 if (PyErr_Occurred()) SWIG_fail
;
11627 arg5
= (double) SWIG_AsDouble(obj4
);
11628 if (PyErr_Occurred()) SWIG_fail
;
11630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11631 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
11633 wxPyEndAllowThreads(__tstate
);
11634 if (PyErr_Occurred()) SWIG_fail
;
11636 Py_INCREF(Py_None
); resultobj
= Py_None
;
11651 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11652 PyObject
*resultobj
;
11653 wxDC
*arg1
= (wxDC
*) 0 ;
11654 wxString
*arg2
= 0 ;
11655 wxPoint
*arg3
= 0 ;
11657 bool temp2
= False
;
11659 PyObject
* obj0
= 0 ;
11660 PyObject
* obj1
= 0 ;
11661 PyObject
* obj2
= 0 ;
11662 PyObject
* obj3
= 0 ;
11663 char *kwnames
[] = {
11664 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
11667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11671 arg2
= wxString_in_helper(obj1
);
11672 if (arg2
== NULL
) SWIG_fail
;
11677 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11679 arg4
= (double) SWIG_AsDouble(obj3
);
11680 if (PyErr_Occurred()) SWIG_fail
;
11682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11683 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11685 wxPyEndAllowThreads(__tstate
);
11686 if (PyErr_Occurred()) SWIG_fail
;
11688 Py_INCREF(Py_None
); resultobj
= Py_None
;
11703 static PyObject
*_wrap_DC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11704 PyObject
*resultobj
;
11705 wxDC
*arg1
= (wxDC
*) 0 ;
11710 wxDC
*arg6
= (wxDC
*) 0 ;
11713 int arg9
= (int) wxCOPY
;
11714 bool arg10
= (bool) False
;
11715 int arg11
= (int) -1 ;
11716 int arg12
= (int) -1 ;
11718 PyObject
* obj0
= 0 ;
11719 PyObject
* obj1
= 0 ;
11720 PyObject
* obj2
= 0 ;
11721 PyObject
* obj3
= 0 ;
11722 PyObject
* obj4
= 0 ;
11723 PyObject
* obj5
= 0 ;
11724 PyObject
* obj6
= 0 ;
11725 PyObject
* obj7
= 0 ;
11726 PyObject
* obj8
= 0 ;
11727 PyObject
* obj9
= 0 ;
11728 PyObject
* obj10
= 0 ;
11729 PyObject
* obj11
= 0 ;
11730 char *kwnames
[] = {
11731 (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
11734 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
;
11735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11737 arg2
= (int) SWIG_AsInt(obj1
);
11738 if (PyErr_Occurred()) SWIG_fail
;
11739 arg3
= (int) SWIG_AsInt(obj2
);
11740 if (PyErr_Occurred()) SWIG_fail
;
11741 arg4
= (int) SWIG_AsInt(obj3
);
11742 if (PyErr_Occurred()) SWIG_fail
;
11743 arg5
= (int) SWIG_AsInt(obj4
);
11744 if (PyErr_Occurred()) SWIG_fail
;
11745 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
11746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11747 arg7
= (int) SWIG_AsInt(obj6
);
11748 if (PyErr_Occurred()) SWIG_fail
;
11749 arg8
= (int) SWIG_AsInt(obj7
);
11750 if (PyErr_Occurred()) SWIG_fail
;
11752 arg9
= (int) SWIG_AsInt(obj8
);
11753 if (PyErr_Occurred()) SWIG_fail
;
11756 arg10
= (bool) SWIG_AsBool(obj9
);
11757 if (PyErr_Occurred()) SWIG_fail
;
11760 arg11
= (int) SWIG_AsInt(obj10
);
11761 if (PyErr_Occurred()) SWIG_fail
;
11764 arg12
= (int) SWIG_AsInt(obj11
);
11765 if (PyErr_Occurred()) SWIG_fail
;
11768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11769 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
11771 wxPyEndAllowThreads(__tstate
);
11772 if (PyErr_Occurred()) SWIG_fail
;
11775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11783 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11784 PyObject
*resultobj
;
11785 wxDC
*arg1
= (wxDC
*) 0 ;
11786 wxPoint
*arg2
= 0 ;
11788 wxDC
*arg4
= (wxDC
*) 0 ;
11789 wxPoint
*arg5
= 0 ;
11790 int arg6
= (int) wxCOPY
;
11791 bool arg7
= (bool) False
;
11792 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
11793 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
11799 PyObject
* obj0
= 0 ;
11800 PyObject
* obj1
= 0 ;
11801 PyObject
* obj2
= 0 ;
11802 PyObject
* obj3
= 0 ;
11803 PyObject
* obj4
= 0 ;
11804 PyObject
* obj5
= 0 ;
11805 PyObject
* obj6
= 0 ;
11806 PyObject
* obj7
= 0 ;
11807 char *kwnames
[] = {
11808 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
11811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11816 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11820 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11822 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
11823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11826 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11829 arg6
= (int) SWIG_AsInt(obj5
);
11830 if (PyErr_Occurred()) SWIG_fail
;
11833 arg7
= (bool) SWIG_AsBool(obj6
);
11834 if (PyErr_Occurred()) SWIG_fail
;
11839 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
11843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11844 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
11846 wxPyEndAllowThreads(__tstate
);
11847 if (PyErr_Occurred()) SWIG_fail
;
11850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11858 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11859 PyObject
*resultobj
;
11860 wxDC
*arg1
= (wxDC
*) 0 ;
11865 PyObject
* obj0
= 0 ;
11866 PyObject
* obj1
= 0 ;
11867 PyObject
* obj2
= 0 ;
11868 PyObject
* obj3
= 0 ;
11869 PyObject
* obj4
= 0 ;
11870 char *kwnames
[] = {
11871 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11877 arg2
= (int) SWIG_AsInt(obj1
);
11878 if (PyErr_Occurred()) SWIG_fail
;
11879 arg3
= (int) SWIG_AsInt(obj2
);
11880 if (PyErr_Occurred()) SWIG_fail
;
11881 arg4
= (int) SWIG_AsInt(obj3
);
11882 if (PyErr_Occurred()) SWIG_fail
;
11883 arg5
= (int) SWIG_AsInt(obj4
);
11884 if (PyErr_Occurred()) SWIG_fail
;
11886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11887 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
11889 wxPyEndAllowThreads(__tstate
);
11890 if (PyErr_Occurred()) SWIG_fail
;
11892 Py_INCREF(Py_None
); resultobj
= Py_None
;
11899 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11900 PyObject
*resultobj
;
11901 wxDC
*arg1
= (wxDC
*) 0 ;
11902 wxPoint
*arg2
= 0 ;
11906 PyObject
* obj0
= 0 ;
11907 PyObject
* obj1
= 0 ;
11908 PyObject
* obj2
= 0 ;
11909 char *kwnames
[] = {
11910 (char *) "self",(char *) "pt",(char *) "sz", NULL
11913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11918 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11922 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11926 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11928 wxPyEndAllowThreads(__tstate
);
11929 if (PyErr_Occurred()) SWIG_fail
;
11931 Py_INCREF(Py_None
); resultobj
= Py_None
;
11938 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11939 PyObject
*resultobj
;
11940 wxDC
*arg1
= (wxDC
*) 0 ;
11941 wxRegion
*arg2
= 0 ;
11942 PyObject
* obj0
= 0 ;
11943 PyObject
* obj1
= 0 ;
11944 char *kwnames
[] = {
11945 (char *) "self",(char *) "region", NULL
11948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
11949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11951 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
11952 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11954 if (arg2
== NULL
) {
11955 PyErr_SetString(PyExc_TypeError
,"null reference");
11959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11960 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
11962 wxPyEndAllowThreads(__tstate
);
11963 if (PyErr_Occurred()) SWIG_fail
;
11965 Py_INCREF(Py_None
); resultobj
= Py_None
;
11972 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11973 PyObject
*resultobj
;
11974 wxDC
*arg1
= (wxDC
*) 0 ;
11977 PyObject
* obj0
= 0 ;
11978 PyObject
* obj1
= 0 ;
11979 char *kwnames
[] = {
11980 (char *) "self",(char *) "rect", NULL
11983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11988 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11992 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
11994 wxPyEndAllowThreads(__tstate
);
11995 if (PyErr_Occurred()) SWIG_fail
;
11997 Py_INCREF(Py_None
); resultobj
= Py_None
;
12004 static PyObject
*_wrap_DC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12005 PyObject
*resultobj
;
12006 wxDC
*arg1
= (wxDC
*) 0 ;
12008 wxPoint
*arg3
= (wxPoint
*) 0 ;
12009 int arg4
= (int) 0 ;
12010 int arg5
= (int) 0 ;
12011 PyObject
* obj0
= 0 ;
12012 PyObject
* obj1
= 0 ;
12013 PyObject
* obj2
= 0 ;
12014 PyObject
* obj3
= 0 ;
12015 char *kwnames
[] = {
12016 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
12019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12023 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12024 if (arg3
== NULL
) SWIG_fail
;
12027 arg4
= (int) SWIG_AsInt(obj2
);
12028 if (PyErr_Occurred()) SWIG_fail
;
12031 arg5
= (int) SWIG_AsInt(obj3
);
12032 if (PyErr_Occurred()) SWIG_fail
;
12035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12036 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
12038 wxPyEndAllowThreads(__tstate
);
12039 if (PyErr_Occurred()) SWIG_fail
;
12041 Py_INCREF(Py_None
); resultobj
= Py_None
;
12043 if (arg3
) delete [] arg3
;
12048 if (arg3
) delete [] arg3
;
12054 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12055 PyObject
*resultobj
;
12056 wxDC
*arg1
= (wxDC
*) 0 ;
12058 wxPoint
*arg3
= (wxPoint
*) 0 ;
12059 int arg4
= (int) 0 ;
12060 int arg5
= (int) 0 ;
12061 int arg6
= (int) wxODDEVEN_RULE
;
12062 PyObject
* obj0
= 0 ;
12063 PyObject
* obj1
= 0 ;
12064 PyObject
* obj2
= 0 ;
12065 PyObject
* obj3
= 0 ;
12066 PyObject
* obj4
= 0 ;
12067 char *kwnames
[] = {
12068 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
12071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12075 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12076 if (arg3
== NULL
) SWIG_fail
;
12079 arg4
= (int) SWIG_AsInt(obj2
);
12080 if (PyErr_Occurred()) SWIG_fail
;
12083 arg5
= (int) SWIG_AsInt(obj3
);
12084 if (PyErr_Occurred()) SWIG_fail
;
12087 arg6
= (int) SWIG_AsInt(obj4
);
12088 if (PyErr_Occurred()) SWIG_fail
;
12091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12092 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
12094 wxPyEndAllowThreads(__tstate
);
12095 if (PyErr_Occurred()) SWIG_fail
;
12097 Py_INCREF(Py_None
); resultobj
= Py_None
;
12099 if (arg3
) delete [] arg3
;
12104 if (arg3
) delete [] arg3
;
12110 static PyObject
*_wrap_DC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12111 PyObject
*resultobj
;
12112 wxDC
*arg1
= (wxDC
*) 0 ;
12113 wxString
*arg2
= 0 ;
12115 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12116 int arg5
= (int) -1 ;
12117 bool temp2
= False
;
12119 PyObject
* obj0
= 0 ;
12120 PyObject
* obj1
= 0 ;
12121 PyObject
* obj2
= 0 ;
12122 PyObject
* obj3
= 0 ;
12123 PyObject
* obj4
= 0 ;
12124 char *kwnames
[] = {
12125 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12132 arg2
= wxString_in_helper(obj1
);
12133 if (arg2
== NULL
) SWIG_fail
;
12138 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
12141 arg4
= (int) SWIG_AsInt(obj3
);
12142 if (PyErr_Occurred()) SWIG_fail
;
12145 arg5
= (int) SWIG_AsInt(obj4
);
12146 if (PyErr_Occurred()) SWIG_fail
;
12149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12150 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
12152 wxPyEndAllowThreads(__tstate
);
12153 if (PyErr_Occurred()) SWIG_fail
;
12155 Py_INCREF(Py_None
); resultobj
= Py_None
;
12170 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12171 PyObject
*resultobj
;
12172 wxDC
*arg1
= (wxDC
*) 0 ;
12173 wxString
*arg2
= 0 ;
12174 wxBitmap
*arg3
= 0 ;
12176 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12177 int arg6
= (int) -1 ;
12179 bool temp2
= False
;
12181 PyObject
* obj0
= 0 ;
12182 PyObject
* obj1
= 0 ;
12183 PyObject
* obj2
= 0 ;
12184 PyObject
* obj3
= 0 ;
12185 PyObject
* obj4
= 0 ;
12186 PyObject
* obj5
= 0 ;
12187 char *kwnames
[] = {
12188 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12195 arg2
= wxString_in_helper(obj1
);
12196 if (arg2
== NULL
) SWIG_fail
;
12199 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
12200 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12202 if (arg3
== NULL
) {
12203 PyErr_SetString(PyExc_TypeError
,"null reference");
12208 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
12211 arg5
= (int) SWIG_AsInt(obj4
);
12212 if (PyErr_Occurred()) SWIG_fail
;
12215 arg6
= (int) SWIG_AsInt(obj5
);
12216 if (PyErr_Occurred()) SWIG_fail
;
12219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12220 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
12222 wxPyEndAllowThreads(__tstate
);
12223 if (PyErr_Occurred()) SWIG_fail
;
12226 wxRect
* resultptr
;
12227 resultptr
= new wxRect((wxRect
&) result
);
12228 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12244 static PyObject
*_wrap_DC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12245 PyObject
*resultobj
;
12246 wxDC
*arg1
= (wxDC
*) 0 ;
12248 wxPoint
*arg3
= (wxPoint
*) 0 ;
12249 PyObject
* obj0
= 0 ;
12250 PyObject
* obj1
= 0 ;
12251 char *kwnames
[] = {
12252 (char *) "self",(char *) "points", NULL
12255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
12256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12259 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12260 if (arg3
== NULL
) SWIG_fail
;
12263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12264 (arg1
)->DrawSpline(arg2
,arg3
);
12266 wxPyEndAllowThreads(__tstate
);
12267 if (PyErr_Occurred()) SWIG_fail
;
12269 Py_INCREF(Py_None
); resultobj
= Py_None
;
12271 if (arg3
) delete [] arg3
;
12276 if (arg3
) delete [] arg3
;
12282 static PyObject
*_wrap_DC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12283 PyObject
*resultobj
;
12284 wxDC
*arg1
= (wxDC
*) 0 ;
12285 PyObject
* obj0
= 0 ;
12286 char *kwnames
[] = {
12287 (char *) "self", NULL
12290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
12291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12297 wxPyEndAllowThreads(__tstate
);
12298 if (PyErr_Occurred()) SWIG_fail
;
12300 Py_INCREF(Py_None
); resultobj
= Py_None
;
12307 static PyObject
*_wrap_DC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12308 PyObject
*resultobj
;
12309 wxDC
*arg1
= (wxDC
*) 0 ;
12310 wxString
*arg2
= 0 ;
12312 bool temp2
= False
;
12313 PyObject
* obj0
= 0 ;
12314 PyObject
* obj1
= 0 ;
12315 char *kwnames
[] = {
12316 (char *) "self",(char *) "message", NULL
12319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
12320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12323 arg2
= wxString_in_helper(obj1
);
12324 if (arg2
== NULL
) SWIG_fail
;
12328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12329 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
12331 wxPyEndAllowThreads(__tstate
);
12332 if (PyErr_Occurred()) SWIG_fail
;
12335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12351 static PyObject
*_wrap_DC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12352 PyObject
*resultobj
;
12353 wxDC
*arg1
= (wxDC
*) 0 ;
12354 PyObject
* obj0
= 0 ;
12355 char *kwnames
[] = {
12356 (char *) "self", NULL
12359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
12360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12366 wxPyEndAllowThreads(__tstate
);
12367 if (PyErr_Occurred()) SWIG_fail
;
12369 Py_INCREF(Py_None
); resultobj
= Py_None
;
12376 static PyObject
*_wrap_DC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12377 PyObject
*resultobj
;
12378 wxDC
*arg1
= (wxDC
*) 0 ;
12379 PyObject
* obj0
= 0 ;
12380 char *kwnames
[] = {
12381 (char *) "self", NULL
12384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
12385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12389 (arg1
)->StartPage();
12391 wxPyEndAllowThreads(__tstate
);
12392 if (PyErr_Occurred()) SWIG_fail
;
12394 Py_INCREF(Py_None
); resultobj
= Py_None
;
12401 static PyObject
*_wrap_DC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12402 PyObject
*resultobj
;
12403 wxDC
*arg1
= (wxDC
*) 0 ;
12404 PyObject
* obj0
= 0 ;
12405 char *kwnames
[] = {
12406 (char *) "self", NULL
12409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
12410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12416 wxPyEndAllowThreads(__tstate
);
12417 if (PyErr_Occurred()) SWIG_fail
;
12419 Py_INCREF(Py_None
); resultobj
= Py_None
;
12426 static PyObject
*_wrap_DC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12427 PyObject
*resultobj
;
12428 wxDC
*arg1
= (wxDC
*) 0 ;
12430 PyObject
* obj0
= 0 ;
12431 PyObject
* obj1
= 0 ;
12432 char *kwnames
[] = {
12433 (char *) "self",(char *) "font", NULL
12436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12439 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12440 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12442 if (arg2
== NULL
) {
12443 PyErr_SetString(PyExc_TypeError
,"null reference");
12447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12448 (arg1
)->SetFont((wxFont
const &)*arg2
);
12450 wxPyEndAllowThreads(__tstate
);
12451 if (PyErr_Occurred()) SWIG_fail
;
12453 Py_INCREF(Py_None
); resultobj
= Py_None
;
12460 static PyObject
*_wrap_DC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12461 PyObject
*resultobj
;
12462 wxDC
*arg1
= (wxDC
*) 0 ;
12464 PyObject
* obj0
= 0 ;
12465 PyObject
* obj1
= 0 ;
12466 char *kwnames
[] = {
12467 (char *) "self",(char *) "pen", NULL
12470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
12471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12473 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
12474 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12476 if (arg2
== NULL
) {
12477 PyErr_SetString(PyExc_TypeError
,"null reference");
12481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12482 (arg1
)->SetPen((wxPen
const &)*arg2
);
12484 wxPyEndAllowThreads(__tstate
);
12485 if (PyErr_Occurred()) SWIG_fail
;
12487 Py_INCREF(Py_None
); resultobj
= Py_None
;
12494 static PyObject
*_wrap_DC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12495 PyObject
*resultobj
;
12496 wxDC
*arg1
= (wxDC
*) 0 ;
12497 wxBrush
*arg2
= 0 ;
12498 PyObject
* obj0
= 0 ;
12499 PyObject
* obj1
= 0 ;
12500 char *kwnames
[] = {
12501 (char *) "self",(char *) "brush", NULL
12504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
12505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12507 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12508 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12510 if (arg2
== NULL
) {
12511 PyErr_SetString(PyExc_TypeError
,"null reference");
12515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12516 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
12518 wxPyEndAllowThreads(__tstate
);
12519 if (PyErr_Occurred()) SWIG_fail
;
12521 Py_INCREF(Py_None
); resultobj
= Py_None
;
12528 static PyObject
*_wrap_DC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12529 PyObject
*resultobj
;
12530 wxDC
*arg1
= (wxDC
*) 0 ;
12531 wxBrush
*arg2
= 0 ;
12532 PyObject
* obj0
= 0 ;
12533 PyObject
* obj1
= 0 ;
12534 char *kwnames
[] = {
12535 (char *) "self",(char *) "brush", NULL
12538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12541 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12542 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12544 if (arg2
== NULL
) {
12545 PyErr_SetString(PyExc_TypeError
,"null reference");
12549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12550 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
12552 wxPyEndAllowThreads(__tstate
);
12553 if (PyErr_Occurred()) SWIG_fail
;
12555 Py_INCREF(Py_None
); resultobj
= Py_None
;
12562 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12563 PyObject
*resultobj
;
12564 wxDC
*arg1
= (wxDC
*) 0 ;
12566 PyObject
* obj0
= 0 ;
12567 PyObject
* obj1
= 0 ;
12568 char *kwnames
[] = {
12569 (char *) "self",(char *) "mode", NULL
12572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
12573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12575 arg2
= (int) SWIG_AsInt(obj1
);
12576 if (PyErr_Occurred()) SWIG_fail
;
12578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12579 (arg1
)->SetBackgroundMode(arg2
);
12581 wxPyEndAllowThreads(__tstate
);
12582 if (PyErr_Occurred()) SWIG_fail
;
12584 Py_INCREF(Py_None
); resultobj
= Py_None
;
12591 static PyObject
*_wrap_DC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12592 PyObject
*resultobj
;
12593 wxDC
*arg1
= (wxDC
*) 0 ;
12594 wxPalette
*arg2
= 0 ;
12595 PyObject
* obj0
= 0 ;
12596 PyObject
* obj1
= 0 ;
12597 char *kwnames
[] = {
12598 (char *) "self",(char *) "palette", NULL
12601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
12602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12604 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
12605 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12607 if (arg2
== NULL
) {
12608 PyErr_SetString(PyExc_TypeError
,"null reference");
12612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12613 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
12615 wxPyEndAllowThreads(__tstate
);
12616 if (PyErr_Occurred()) SWIG_fail
;
12618 Py_INCREF(Py_None
); resultobj
= Py_None
;
12625 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12626 PyObject
*resultobj
;
12627 wxDC
*arg1
= (wxDC
*) 0 ;
12628 PyObject
* obj0
= 0 ;
12629 char *kwnames
[] = {
12630 (char *) "self", NULL
12633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
12634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12638 (arg1
)->DestroyClippingRegion();
12640 wxPyEndAllowThreads(__tstate
);
12641 if (PyErr_Occurred()) SWIG_fail
;
12643 Py_INCREF(Py_None
); resultobj
= Py_None
;
12650 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12651 PyObject
*resultobj
;
12652 wxDC
*arg1
= (wxDC
*) 0 ;
12653 int *arg2
= (int *) 0 ;
12654 int *arg3
= (int *) 0 ;
12655 int *arg4
= (int *) 0 ;
12656 int *arg5
= (int *) 0 ;
12661 PyObject
* obj0
= 0 ;
12662 char *kwnames
[] = {
12663 (char *) "self", NULL
12670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
12671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12675 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
12677 wxPyEndAllowThreads(__tstate
);
12678 if (PyErr_Occurred()) SWIG_fail
;
12680 Py_INCREF(Py_None
); resultobj
= Py_None
;
12682 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12683 resultobj
= t_output_helper(resultobj
,o
);
12686 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12687 resultobj
= t_output_helper(resultobj
,o
);
12690 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12691 resultobj
= t_output_helper(resultobj
,o
);
12694 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12695 resultobj
= t_output_helper(resultobj
,o
);
12703 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12704 PyObject
*resultobj
;
12705 wxDC
*arg1
= (wxDC
*) 0 ;
12707 PyObject
* obj0
= 0 ;
12708 char *kwnames
[] = {
12709 (char *) "self", NULL
12712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
12713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12717 result
= wxDC_GetClippingRect(arg1
);
12719 wxPyEndAllowThreads(__tstate
);
12720 if (PyErr_Occurred()) SWIG_fail
;
12723 wxRect
* resultptr
;
12724 resultptr
= new wxRect((wxRect
&) result
);
12725 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12733 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12734 PyObject
*resultobj
;
12735 wxDC
*arg1
= (wxDC
*) 0 ;
12737 PyObject
* obj0
= 0 ;
12738 char *kwnames
[] = {
12739 (char *) "self", NULL
12742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
12743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12747 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
12749 wxPyEndAllowThreads(__tstate
);
12750 if (PyErr_Occurred()) SWIG_fail
;
12752 resultobj
= SWIG_FromInt((int)result
);
12759 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12760 PyObject
*resultobj
;
12761 wxDC
*arg1
= (wxDC
*) 0 ;
12763 PyObject
* obj0
= 0 ;
12764 char *kwnames
[] = {
12765 (char *) "self", NULL
12768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
12769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12773 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
12775 wxPyEndAllowThreads(__tstate
);
12776 if (PyErr_Occurred()) SWIG_fail
;
12778 resultobj
= SWIG_FromInt((int)result
);
12785 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12786 PyObject
*resultobj
;
12787 wxDC
*arg1
= (wxDC
*) 0 ;
12788 wxString
*arg2
= 0 ;
12789 int *arg3
= (int *) 0 ;
12790 int *arg4
= (int *) 0 ;
12791 bool temp2
= False
;
12794 PyObject
* obj0
= 0 ;
12795 PyObject
* obj1
= 0 ;
12796 char *kwnames
[] = {
12797 (char *) "self",(char *) "string", NULL
12802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
12803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12806 arg2
= wxString_in_helper(obj1
);
12807 if (arg2
== NULL
) SWIG_fail
;
12811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12812 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
12814 wxPyEndAllowThreads(__tstate
);
12815 if (PyErr_Occurred()) SWIG_fail
;
12817 Py_INCREF(Py_None
); resultobj
= Py_None
;
12819 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12820 resultobj
= t_output_helper(resultobj
,o
);
12823 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12824 resultobj
= t_output_helper(resultobj
,o
);
12840 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12841 PyObject
*resultobj
;
12842 wxDC
*arg1
= (wxDC
*) 0 ;
12843 wxString
*arg2
= 0 ;
12844 int *arg3
= (int *) 0 ;
12845 int *arg4
= (int *) 0 ;
12846 int *arg5
= (int *) 0 ;
12847 int *arg6
= (int *) 0 ;
12848 wxFont
*arg7
= (wxFont
*) NULL
;
12849 bool temp2
= False
;
12854 PyObject
* obj0
= 0 ;
12855 PyObject
* obj1
= 0 ;
12856 PyObject
* obj2
= 0 ;
12857 char *kwnames
[] = {
12858 (char *) "self",(char *) "string",(char *) "font", NULL
12865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12869 arg2
= wxString_in_helper(obj1
);
12870 if (arg2
== NULL
) SWIG_fail
;
12874 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
12875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12879 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12881 wxPyEndAllowThreads(__tstate
);
12882 if (PyErr_Occurred()) SWIG_fail
;
12884 Py_INCREF(Py_None
); resultobj
= Py_None
;
12886 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12887 resultobj
= t_output_helper(resultobj
,o
);
12890 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12891 resultobj
= t_output_helper(resultobj
,o
);
12894 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12895 resultobj
= t_output_helper(resultobj
,o
);
12898 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
12899 resultobj
= t_output_helper(resultobj
,o
);
12915 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12916 PyObject
*resultobj
;
12917 wxDC
*arg1
= (wxDC
*) 0 ;
12918 wxString
*arg2
= 0 ;
12919 int *arg3
= (int *) 0 ;
12920 int *arg4
= (int *) 0 ;
12921 int *arg5
= (int *) 0 ;
12922 wxFont
*arg6
= (wxFont
*) NULL
;
12923 bool temp2
= False
;
12927 PyObject
* obj0
= 0 ;
12928 PyObject
* obj1
= 0 ;
12929 PyObject
* obj2
= 0 ;
12930 char *kwnames
[] = {
12931 (char *) "self",(char *) "text",(char *) "font", NULL
12937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12941 arg2
= wxString_in_helper(obj1
);
12942 if (arg2
== NULL
) SWIG_fail
;
12946 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
12947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12951 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
12953 wxPyEndAllowThreads(__tstate
);
12954 if (PyErr_Occurred()) SWIG_fail
;
12956 Py_INCREF(Py_None
); resultobj
= Py_None
;
12958 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12959 resultobj
= t_output_helper(resultobj
,o
);
12962 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12963 resultobj
= t_output_helper(resultobj
,o
);
12966 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12967 resultobj
= t_output_helper(resultobj
,o
);
12983 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12984 PyObject
*resultobj
;
12985 wxDC
*arg1
= (wxDC
*) 0 ;
12986 wxString
*arg2
= 0 ;
12988 bool temp2
= False
;
12989 PyObject
* obj0
= 0 ;
12990 PyObject
* obj1
= 0 ;
12991 char *kwnames
[] = {
12992 (char *) "self",(char *) "text", NULL
12995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
12996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12999 arg2
= wxString_in_helper(obj1
);
13000 if (arg2
== NULL
) SWIG_fail
;
13004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13005 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
13007 wxPyEndAllowThreads(__tstate
);
13008 if (PyErr_Occurred()) SWIG_fail
;
13011 resultobj
= PyList_New(0);
13013 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13014 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13015 PyList_Append(resultobj
, val
);
13033 static PyObject
*_wrap_DC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13034 PyObject
*resultobj
;
13035 wxDC
*arg1
= (wxDC
*) 0 ;
13037 PyObject
* obj0
= 0 ;
13038 char *kwnames
[] = {
13039 (char *) "self", NULL
13042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
13043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13047 result
= (arg1
)->GetSize();
13049 wxPyEndAllowThreads(__tstate
);
13050 if (PyErr_Occurred()) SWIG_fail
;
13053 wxSize
* resultptr
;
13054 resultptr
= new wxSize((wxSize
&) result
);
13055 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13063 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13064 PyObject
*resultobj
;
13065 wxDC
*arg1
= (wxDC
*) 0 ;
13066 int *arg2
= (int *) 0 ;
13067 int *arg3
= (int *) 0 ;
13070 PyObject
* obj0
= 0 ;
13071 char *kwnames
[] = {
13072 (char *) "self", NULL
13077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
13078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13082 (arg1
)->GetSize(arg2
,arg3
);
13084 wxPyEndAllowThreads(__tstate
);
13085 if (PyErr_Occurred()) SWIG_fail
;
13087 Py_INCREF(Py_None
); resultobj
= Py_None
;
13089 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13090 resultobj
= t_output_helper(resultobj
,o
);
13093 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13094 resultobj
= t_output_helper(resultobj
,o
);
13102 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13103 PyObject
*resultobj
;
13104 wxDC
*arg1
= (wxDC
*) 0 ;
13106 PyObject
* obj0
= 0 ;
13107 char *kwnames
[] = {
13108 (char *) "self", NULL
13111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
13112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13116 result
= ((wxDC
const *)arg1
)->GetSizeMM();
13118 wxPyEndAllowThreads(__tstate
);
13119 if (PyErr_Occurred()) SWIG_fail
;
13122 wxSize
* resultptr
;
13123 resultptr
= new wxSize((wxSize
&) result
);
13124 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13132 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13133 PyObject
*resultobj
;
13134 wxDC
*arg1
= (wxDC
*) 0 ;
13135 int *arg2
= (int *) 0 ;
13136 int *arg3
= (int *) 0 ;
13139 PyObject
* obj0
= 0 ;
13140 char *kwnames
[] = {
13141 (char *) "self", NULL
13146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13151 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13153 wxPyEndAllowThreads(__tstate
);
13154 if (PyErr_Occurred()) SWIG_fail
;
13156 Py_INCREF(Py_None
); resultobj
= Py_None
;
13158 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13159 resultobj
= t_output_helper(resultobj
,o
);
13162 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13163 resultobj
= t_output_helper(resultobj
,o
);
13171 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13172 PyObject
*resultobj
;
13173 wxDC
*arg1
= (wxDC
*) 0 ;
13176 PyObject
* obj0
= 0 ;
13177 PyObject
* obj1
= 0 ;
13178 char *kwnames
[] = {
13179 (char *) "self",(char *) "x", NULL
13182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
13183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13185 arg2
= (int) SWIG_AsInt(obj1
);
13186 if (PyErr_Occurred()) SWIG_fail
;
13188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13189 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
13191 wxPyEndAllowThreads(__tstate
);
13192 if (PyErr_Occurred()) SWIG_fail
;
13194 resultobj
= SWIG_FromInt((int)result
);
13201 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13202 PyObject
*resultobj
;
13203 wxDC
*arg1
= (wxDC
*) 0 ;
13206 PyObject
* obj0
= 0 ;
13207 PyObject
* obj1
= 0 ;
13208 char *kwnames
[] = {
13209 (char *) "self",(char *) "y", NULL
13212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
13213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13215 arg2
= (int) SWIG_AsInt(obj1
);
13216 if (PyErr_Occurred()) SWIG_fail
;
13218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13219 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
13221 wxPyEndAllowThreads(__tstate
);
13222 if (PyErr_Occurred()) SWIG_fail
;
13224 resultobj
= SWIG_FromInt((int)result
);
13231 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13232 PyObject
*resultobj
;
13233 wxDC
*arg1
= (wxDC
*) 0 ;
13236 PyObject
* obj0
= 0 ;
13237 PyObject
* obj1
= 0 ;
13238 char *kwnames
[] = {
13239 (char *) "self",(char *) "x", NULL
13242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13245 arg2
= (int) SWIG_AsInt(obj1
);
13246 if (PyErr_Occurred()) SWIG_fail
;
13248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13249 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
13251 wxPyEndAllowThreads(__tstate
);
13252 if (PyErr_Occurred()) SWIG_fail
;
13254 resultobj
= SWIG_FromInt((int)result
);
13261 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13262 PyObject
*resultobj
;
13263 wxDC
*arg1
= (wxDC
*) 0 ;
13266 PyObject
* obj0
= 0 ;
13267 PyObject
* obj1
= 0 ;
13268 char *kwnames
[] = {
13269 (char *) "self",(char *) "y", NULL
13272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13275 arg2
= (int) SWIG_AsInt(obj1
);
13276 if (PyErr_Occurred()) SWIG_fail
;
13278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13279 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
13281 wxPyEndAllowThreads(__tstate
);
13282 if (PyErr_Occurred()) SWIG_fail
;
13284 resultobj
= SWIG_FromInt((int)result
);
13291 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13292 PyObject
*resultobj
;
13293 wxDC
*arg1
= (wxDC
*) 0 ;
13296 PyObject
* obj0
= 0 ;
13297 PyObject
* obj1
= 0 ;
13298 char *kwnames
[] = {
13299 (char *) "self",(char *) "x", NULL
13302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
13303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13305 arg2
= (int) SWIG_AsInt(obj1
);
13306 if (PyErr_Occurred()) SWIG_fail
;
13308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13309 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
13311 wxPyEndAllowThreads(__tstate
);
13312 if (PyErr_Occurred()) SWIG_fail
;
13314 resultobj
= SWIG_FromInt((int)result
);
13321 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13322 PyObject
*resultobj
;
13323 wxDC
*arg1
= (wxDC
*) 0 ;
13326 PyObject
* obj0
= 0 ;
13327 PyObject
* obj1
= 0 ;
13328 char *kwnames
[] = {
13329 (char *) "self",(char *) "y", NULL
13332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13335 arg2
= (int) SWIG_AsInt(obj1
);
13336 if (PyErr_Occurred()) SWIG_fail
;
13338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13339 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
13341 wxPyEndAllowThreads(__tstate
);
13342 if (PyErr_Occurred()) SWIG_fail
;
13344 resultobj
= SWIG_FromInt((int)result
);
13351 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13352 PyObject
*resultobj
;
13353 wxDC
*arg1
= (wxDC
*) 0 ;
13356 PyObject
* obj0
= 0 ;
13357 PyObject
* obj1
= 0 ;
13358 char *kwnames
[] = {
13359 (char *) "self",(char *) "x", NULL
13362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13365 arg2
= (int) SWIG_AsInt(obj1
);
13366 if (PyErr_Occurred()) SWIG_fail
;
13368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13369 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
13371 wxPyEndAllowThreads(__tstate
);
13372 if (PyErr_Occurred()) SWIG_fail
;
13374 resultobj
= SWIG_FromInt((int)result
);
13381 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13382 PyObject
*resultobj
;
13383 wxDC
*arg1
= (wxDC
*) 0 ;
13386 PyObject
* obj0
= 0 ;
13387 PyObject
* obj1
= 0 ;
13388 char *kwnames
[] = {
13389 (char *) "self",(char *) "y", NULL
13392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13395 arg2
= (int) SWIG_AsInt(obj1
);
13396 if (PyErr_Occurred()) SWIG_fail
;
13398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13399 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
13401 wxPyEndAllowThreads(__tstate
);
13402 if (PyErr_Occurred()) SWIG_fail
;
13404 resultobj
= SWIG_FromInt((int)result
);
13411 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13412 PyObject
*resultobj
;
13413 wxDC
*arg1
= (wxDC
*) 0 ;
13415 PyObject
* obj0
= 0 ;
13416 char *kwnames
[] = {
13417 (char *) "self", NULL
13420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
13421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13425 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
13427 wxPyEndAllowThreads(__tstate
);
13428 if (PyErr_Occurred()) SWIG_fail
;
13431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13439 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13440 PyObject
*resultobj
;
13441 wxDC
*arg1
= (wxDC
*) 0 ;
13443 PyObject
* obj0
= 0 ;
13444 char *kwnames
[] = {
13445 (char *) "self", NULL
13448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
13449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13453 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
13455 wxPyEndAllowThreads(__tstate
);
13456 if (PyErr_Occurred()) SWIG_fail
;
13459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13467 static PyObject
*_wrap_DC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13468 PyObject
*resultobj
;
13469 wxDC
*arg1
= (wxDC
*) 0 ;
13471 PyObject
* obj0
= 0 ;
13472 char *kwnames
[] = {
13473 (char *) "self", NULL
13476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
13477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13481 result
= (int)((wxDC
const *)arg1
)->GetDepth();
13483 wxPyEndAllowThreads(__tstate
);
13484 if (PyErr_Occurred()) SWIG_fail
;
13486 resultobj
= SWIG_FromInt((int)result
);
13493 static PyObject
*_wrap_DC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13494 PyObject
*resultobj
;
13495 wxDC
*arg1
= (wxDC
*) 0 ;
13497 PyObject
* obj0
= 0 ;
13498 char *kwnames
[] = {
13499 (char *) "self", NULL
13502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
13503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13507 result
= ((wxDC
const *)arg1
)->GetPPI();
13509 wxPyEndAllowThreads(__tstate
);
13510 if (PyErr_Occurred()) SWIG_fail
;
13513 wxSize
* resultptr
;
13514 resultptr
= new wxSize((wxSize
&) result
);
13515 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13523 static PyObject
*_wrap_DC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13524 PyObject
*resultobj
;
13525 wxDC
*arg1
= (wxDC
*) 0 ;
13527 PyObject
* obj0
= 0 ;
13528 char *kwnames
[] = {
13529 (char *) "self", NULL
13532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
13533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13537 result
= (bool)((wxDC
const *)arg1
)->Ok();
13539 wxPyEndAllowThreads(__tstate
);
13540 if (PyErr_Occurred()) SWIG_fail
;
13543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13551 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13552 PyObject
*resultobj
;
13553 wxDC
*arg1
= (wxDC
*) 0 ;
13555 PyObject
* obj0
= 0 ;
13556 char *kwnames
[] = {
13557 (char *) "self", NULL
13560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
13561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13565 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
13567 wxPyEndAllowThreads(__tstate
);
13568 if (PyErr_Occurred()) SWIG_fail
;
13570 resultobj
= SWIG_FromInt((int)result
);
13577 static PyObject
*_wrap_DC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13578 PyObject
*resultobj
;
13579 wxDC
*arg1
= (wxDC
*) 0 ;
13581 PyObject
* obj0
= 0 ;
13582 char *kwnames
[] = {
13583 (char *) "self", NULL
13586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
13587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13592 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
13593 result
= (wxBrush
*) &_result_ref
;
13596 wxPyEndAllowThreads(__tstate
);
13597 if (PyErr_Occurred()) SWIG_fail
;
13600 wxBrush
* resultptr
= new wxBrush(*result
);
13601 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13609 static PyObject
*_wrap_DC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13610 PyObject
*resultobj
;
13611 wxDC
*arg1
= (wxDC
*) 0 ;
13613 PyObject
* obj0
= 0 ;
13614 char *kwnames
[] = {
13615 (char *) "self", NULL
13618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
13619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13624 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
13625 result
= (wxBrush
*) &_result_ref
;
13628 wxPyEndAllowThreads(__tstate
);
13629 if (PyErr_Occurred()) SWIG_fail
;
13632 wxBrush
* resultptr
= new wxBrush(*result
);
13633 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13641 static PyObject
*_wrap_DC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13642 PyObject
*resultobj
;
13643 wxDC
*arg1
= (wxDC
*) 0 ;
13645 PyObject
* obj0
= 0 ;
13646 char *kwnames
[] = {
13647 (char *) "self", NULL
13650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
13651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13656 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
13657 result
= (wxFont
*) &_result_ref
;
13660 wxPyEndAllowThreads(__tstate
);
13661 if (PyErr_Occurred()) SWIG_fail
;
13664 wxFont
* resultptr
= new wxFont(*result
);
13665 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13673 static PyObject
*_wrap_DC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13674 PyObject
*resultobj
;
13675 wxDC
*arg1
= (wxDC
*) 0 ;
13677 PyObject
* obj0
= 0 ;
13678 char *kwnames
[] = {
13679 (char *) "self", NULL
13682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
13683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13688 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
13689 result
= (wxPen
*) &_result_ref
;
13692 wxPyEndAllowThreads(__tstate
);
13693 if (PyErr_Occurred()) SWIG_fail
;
13696 wxPen
* resultptr
= new wxPen(*result
);
13697 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
13705 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13706 PyObject
*resultobj
;
13707 wxDC
*arg1
= (wxDC
*) 0 ;
13709 PyObject
* obj0
= 0 ;
13710 char *kwnames
[] = {
13711 (char *) "self", NULL
13714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
13715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13720 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
13721 result
= (wxColour
*) &_result_ref
;
13724 wxPyEndAllowThreads(__tstate
);
13725 if (PyErr_Occurred()) SWIG_fail
;
13727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
13734 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13735 PyObject
*resultobj
;
13736 wxDC
*arg1
= (wxDC
*) 0 ;
13738 PyObject
* obj0
= 0 ;
13739 char *kwnames
[] = {
13740 (char *) "self", NULL
13743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
13744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13749 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
13750 result
= (wxColour
*) &_result_ref
;
13753 wxPyEndAllowThreads(__tstate
);
13754 if (PyErr_Occurred()) SWIG_fail
;
13756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
13763 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13764 PyObject
*resultobj
;
13765 wxDC
*arg1
= (wxDC
*) 0 ;
13766 wxColour
*arg2
= 0 ;
13768 PyObject
* obj0
= 0 ;
13769 PyObject
* obj1
= 0 ;
13770 char *kwnames
[] = {
13771 (char *) "self",(char *) "colour", NULL
13774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
13775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13779 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13783 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
13785 wxPyEndAllowThreads(__tstate
);
13786 if (PyErr_Occurred()) SWIG_fail
;
13788 Py_INCREF(Py_None
); resultobj
= Py_None
;
13795 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13796 PyObject
*resultobj
;
13797 wxDC
*arg1
= (wxDC
*) 0 ;
13798 wxColour
*arg2
= 0 ;
13800 PyObject
* obj0
= 0 ;
13801 PyObject
* obj1
= 0 ;
13802 char *kwnames
[] = {
13803 (char *) "self",(char *) "colour", NULL
13806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13811 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13815 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
13817 wxPyEndAllowThreads(__tstate
);
13818 if (PyErr_Occurred()) SWIG_fail
;
13820 Py_INCREF(Py_None
); resultobj
= Py_None
;
13827 static PyObject
*_wrap_DC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13828 PyObject
*resultobj
;
13829 wxDC
*arg1
= (wxDC
*) 0 ;
13831 PyObject
* obj0
= 0 ;
13832 char *kwnames
[] = {
13833 (char *) "self", NULL
13836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
13837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13841 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
13843 wxPyEndAllowThreads(__tstate
);
13844 if (PyErr_Occurred()) SWIG_fail
;
13846 resultobj
= SWIG_FromInt((int)result
);
13853 static PyObject
*_wrap_DC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13854 PyObject
*resultobj
;
13855 wxDC
*arg1
= (wxDC
*) 0 ;
13857 PyObject
* obj0
= 0 ;
13858 PyObject
* obj1
= 0 ;
13859 char *kwnames
[] = {
13860 (char *) "self",(char *) "mode", NULL
13863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
13864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13866 arg2
= (int) SWIG_AsInt(obj1
);
13867 if (PyErr_Occurred()) SWIG_fail
;
13869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13870 (arg1
)->SetMapMode(arg2
);
13872 wxPyEndAllowThreads(__tstate
);
13873 if (PyErr_Occurred()) SWIG_fail
;
13875 Py_INCREF(Py_None
); resultobj
= Py_None
;
13882 static PyObject
*_wrap_DC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13883 PyObject
*resultobj
;
13884 wxDC
*arg1
= (wxDC
*) 0 ;
13885 double *arg2
= (double *) 0 ;
13886 double *arg3
= (double *) 0 ;
13889 PyObject
* obj0
= 0 ;
13890 char *kwnames
[] = {
13891 (char *) "self", NULL
13896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
13897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13901 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
13903 wxPyEndAllowThreads(__tstate
);
13904 if (PyErr_Occurred()) SWIG_fail
;
13906 Py_INCREF(Py_None
); resultobj
= Py_None
;
13908 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
13909 resultobj
= t_output_helper(resultobj
,o
);
13912 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
13913 resultobj
= t_output_helper(resultobj
,o
);
13921 static PyObject
*_wrap_DC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13922 PyObject
*resultobj
;
13923 wxDC
*arg1
= (wxDC
*) 0 ;
13926 PyObject
* obj0
= 0 ;
13927 PyObject
* obj1
= 0 ;
13928 PyObject
* obj2
= 0 ;
13929 char *kwnames
[] = {
13930 (char *) "self",(char *) "x",(char *) "y", NULL
13933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13936 arg2
= (double) SWIG_AsDouble(obj1
);
13937 if (PyErr_Occurred()) SWIG_fail
;
13938 arg3
= (double) SWIG_AsDouble(obj2
);
13939 if (PyErr_Occurred()) SWIG_fail
;
13941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13942 (arg1
)->SetUserScale(arg2
,arg3
);
13944 wxPyEndAllowThreads(__tstate
);
13945 if (PyErr_Occurred()) SWIG_fail
;
13947 Py_INCREF(Py_None
); resultobj
= Py_None
;
13954 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13955 PyObject
*resultobj
;
13956 wxDC
*arg1
= (wxDC
*) 0 ;
13957 double *arg2
= (double *) 0 ;
13958 double *arg3
= (double *) 0 ;
13961 PyObject
* obj0
= 0 ;
13962 char *kwnames
[] = {
13963 (char *) "self", NULL
13968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
13969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13973 (arg1
)->GetLogicalScale(arg2
,arg3
);
13975 wxPyEndAllowThreads(__tstate
);
13976 if (PyErr_Occurred()) SWIG_fail
;
13978 Py_INCREF(Py_None
); resultobj
= Py_None
;
13980 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
13981 resultobj
= t_output_helper(resultobj
,o
);
13984 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
13985 resultobj
= t_output_helper(resultobj
,o
);
13993 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13994 PyObject
*resultobj
;
13995 wxDC
*arg1
= (wxDC
*) 0 ;
13998 PyObject
* obj0
= 0 ;
13999 PyObject
* obj1
= 0 ;
14000 PyObject
* obj2
= 0 ;
14001 char *kwnames
[] = {
14002 (char *) "self",(char *) "x",(char *) "y", NULL
14005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14008 arg2
= (double) SWIG_AsDouble(obj1
);
14009 if (PyErr_Occurred()) SWIG_fail
;
14010 arg3
= (double) SWIG_AsDouble(obj2
);
14011 if (PyErr_Occurred()) SWIG_fail
;
14013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14014 (arg1
)->SetLogicalScale(arg2
,arg3
);
14016 wxPyEndAllowThreads(__tstate
);
14017 if (PyErr_Occurred()) SWIG_fail
;
14019 Py_INCREF(Py_None
); resultobj
= Py_None
;
14026 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14027 PyObject
*resultobj
;
14028 wxDC
*arg1
= (wxDC
*) 0 ;
14030 PyObject
* obj0
= 0 ;
14031 char *kwnames
[] = {
14032 (char *) "self", NULL
14035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
14036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14040 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
14042 wxPyEndAllowThreads(__tstate
);
14043 if (PyErr_Occurred()) SWIG_fail
;
14046 wxPoint
* resultptr
;
14047 resultptr
= new wxPoint((wxPoint
&) result
);
14048 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14056 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14057 PyObject
*resultobj
;
14058 wxDC
*arg1
= (wxDC
*) 0 ;
14059 int *arg2
= (int *) 0 ;
14060 int *arg3
= (int *) 0 ;
14063 PyObject
* obj0
= 0 ;
14064 char *kwnames
[] = {
14065 (char *) "self", NULL
14070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
14071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14075 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
14077 wxPyEndAllowThreads(__tstate
);
14078 if (PyErr_Occurred()) SWIG_fail
;
14080 Py_INCREF(Py_None
); resultobj
= Py_None
;
14082 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14083 resultobj
= t_output_helper(resultobj
,o
);
14086 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14087 resultobj
= t_output_helper(resultobj
,o
);
14095 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14096 PyObject
*resultobj
;
14097 wxDC
*arg1
= (wxDC
*) 0 ;
14100 PyObject
* obj0
= 0 ;
14101 PyObject
* obj1
= 0 ;
14102 PyObject
* obj2
= 0 ;
14103 char *kwnames
[] = {
14104 (char *) "self",(char *) "x",(char *) "y", NULL
14107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14110 arg2
= (int) SWIG_AsInt(obj1
);
14111 if (PyErr_Occurred()) SWIG_fail
;
14112 arg3
= (int) SWIG_AsInt(obj2
);
14113 if (PyErr_Occurred()) SWIG_fail
;
14115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14116 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
14118 wxPyEndAllowThreads(__tstate
);
14119 if (PyErr_Occurred()) SWIG_fail
;
14121 Py_INCREF(Py_None
); resultobj
= Py_None
;
14128 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14129 PyObject
*resultobj
;
14130 wxDC
*arg1
= (wxDC
*) 0 ;
14131 wxPoint
*arg2
= 0 ;
14133 PyObject
* obj0
= 0 ;
14134 PyObject
* obj1
= 0 ;
14135 char *kwnames
[] = {
14136 (char *) "self",(char *) "point", NULL
14139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14144 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14148 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14150 wxPyEndAllowThreads(__tstate
);
14151 if (PyErr_Occurred()) SWIG_fail
;
14153 Py_INCREF(Py_None
); resultobj
= Py_None
;
14160 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14161 PyObject
*resultobj
;
14162 wxDC
*arg1
= (wxDC
*) 0 ;
14164 PyObject
* obj0
= 0 ;
14165 char *kwnames
[] = {
14166 (char *) "self", NULL
14169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
14170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14174 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
14176 wxPyEndAllowThreads(__tstate
);
14177 if (PyErr_Occurred()) SWIG_fail
;
14180 wxPoint
* resultptr
;
14181 resultptr
= new wxPoint((wxPoint
&) result
);
14182 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14190 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14191 PyObject
*resultobj
;
14192 wxDC
*arg1
= (wxDC
*) 0 ;
14193 int *arg2
= (int *) 0 ;
14194 int *arg3
= (int *) 0 ;
14197 PyObject
* obj0
= 0 ;
14198 char *kwnames
[] = {
14199 (char *) "self", NULL
14204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
14205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14209 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
14211 wxPyEndAllowThreads(__tstate
);
14212 if (PyErr_Occurred()) SWIG_fail
;
14214 Py_INCREF(Py_None
); resultobj
= Py_None
;
14216 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14217 resultobj
= t_output_helper(resultobj
,o
);
14220 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14221 resultobj
= t_output_helper(resultobj
,o
);
14229 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14230 PyObject
*resultobj
;
14231 wxDC
*arg1
= (wxDC
*) 0 ;
14234 PyObject
* obj0
= 0 ;
14235 PyObject
* obj1
= 0 ;
14236 PyObject
* obj2
= 0 ;
14237 char *kwnames
[] = {
14238 (char *) "self",(char *) "x",(char *) "y", NULL
14241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14244 arg2
= (int) SWIG_AsInt(obj1
);
14245 if (PyErr_Occurred()) SWIG_fail
;
14246 arg3
= (int) SWIG_AsInt(obj2
);
14247 if (PyErr_Occurred()) SWIG_fail
;
14249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14250 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
14252 wxPyEndAllowThreads(__tstate
);
14253 if (PyErr_Occurred()) SWIG_fail
;
14255 Py_INCREF(Py_None
); resultobj
= Py_None
;
14262 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14263 PyObject
*resultobj
;
14264 wxDC
*arg1
= (wxDC
*) 0 ;
14265 wxPoint
*arg2
= 0 ;
14267 PyObject
* obj0
= 0 ;
14268 PyObject
* obj1
= 0 ;
14269 char *kwnames
[] = {
14270 (char *) "self",(char *) "point", NULL
14273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14278 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14282 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14284 wxPyEndAllowThreads(__tstate
);
14285 if (PyErr_Occurred()) SWIG_fail
;
14287 Py_INCREF(Py_None
); resultobj
= Py_None
;
14294 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14295 PyObject
*resultobj
;
14296 wxDC
*arg1
= (wxDC
*) 0 ;
14299 PyObject
* obj0
= 0 ;
14300 PyObject
* obj1
= 0 ;
14301 PyObject
* obj2
= 0 ;
14302 char *kwnames
[] = {
14303 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14309 arg2
= (bool) SWIG_AsBool(obj1
);
14310 if (PyErr_Occurred()) SWIG_fail
;
14311 arg3
= (bool) SWIG_AsBool(obj2
);
14312 if (PyErr_Occurred()) SWIG_fail
;
14314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14315 (arg1
)->SetAxisOrientation(arg2
,arg3
);
14317 wxPyEndAllowThreads(__tstate
);
14318 if (PyErr_Occurred()) SWIG_fail
;
14320 Py_INCREF(Py_None
); resultobj
= Py_None
;
14327 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14328 PyObject
*resultobj
;
14329 wxDC
*arg1
= (wxDC
*) 0 ;
14331 PyObject
* obj0
= 0 ;
14332 char *kwnames
[] = {
14333 (char *) "self", NULL
14336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
14337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14341 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
14343 wxPyEndAllowThreads(__tstate
);
14344 if (PyErr_Occurred()) SWIG_fail
;
14346 resultobj
= SWIG_FromInt((int)result
);
14353 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14354 PyObject
*resultobj
;
14355 wxDC
*arg1
= (wxDC
*) 0 ;
14357 PyObject
* obj0
= 0 ;
14358 PyObject
* obj1
= 0 ;
14359 char *kwnames
[] = {
14360 (char *) "self",(char *) "function", NULL
14363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
14364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14366 arg2
= (int) SWIG_AsInt(obj1
);
14367 if (PyErr_Occurred()) SWIG_fail
;
14369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14370 (arg1
)->SetLogicalFunction(arg2
);
14372 wxPyEndAllowThreads(__tstate
);
14373 if (PyErr_Occurred()) SWIG_fail
;
14375 Py_INCREF(Py_None
); resultobj
= Py_None
;
14382 static PyObject
*_wrap_DC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14383 PyObject
*resultobj
;
14384 wxDC
*arg1
= (wxDC
*) 0 ;
14386 PyObject
* obj0
= 0 ;
14387 PyObject
* obj1
= 0 ;
14388 char *kwnames
[] = {
14389 (char *) "self",(char *) "opt", NULL
14392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
14393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14395 arg2
= (bool) SWIG_AsBool(obj1
);
14396 if (PyErr_Occurred()) SWIG_fail
;
14398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14399 (arg1
)->SetOptimization(arg2
);
14401 wxPyEndAllowThreads(__tstate
);
14402 if (PyErr_Occurred()) SWIG_fail
;
14404 Py_INCREF(Py_None
); resultobj
= Py_None
;
14411 static PyObject
*_wrap_DC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14412 PyObject
*resultobj
;
14413 wxDC
*arg1
= (wxDC
*) 0 ;
14415 PyObject
* obj0
= 0 ;
14416 char *kwnames
[] = {
14417 (char *) "self", NULL
14420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
14421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14425 result
= (bool)(arg1
)->GetOptimization();
14427 wxPyEndAllowThreads(__tstate
);
14428 if (PyErr_Occurred()) SWIG_fail
;
14431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14439 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14440 PyObject
*resultobj
;
14441 wxDC
*arg1
= (wxDC
*) 0 ;
14444 PyObject
* obj0
= 0 ;
14445 PyObject
* obj1
= 0 ;
14446 PyObject
* obj2
= 0 ;
14447 char *kwnames
[] = {
14448 (char *) "self",(char *) "x",(char *) "y", NULL
14451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14454 arg2
= (int) SWIG_AsInt(obj1
);
14455 if (PyErr_Occurred()) SWIG_fail
;
14456 arg3
= (int) SWIG_AsInt(obj2
);
14457 if (PyErr_Occurred()) SWIG_fail
;
14459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14460 (arg1
)->CalcBoundingBox(arg2
,arg3
);
14462 wxPyEndAllowThreads(__tstate
);
14463 if (PyErr_Occurred()) SWIG_fail
;
14465 Py_INCREF(Py_None
); resultobj
= Py_None
;
14472 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14473 PyObject
*resultobj
;
14474 wxDC
*arg1
= (wxDC
*) 0 ;
14475 wxPoint
*arg2
= 0 ;
14477 PyObject
* obj0
= 0 ;
14478 PyObject
* obj1
= 0 ;
14479 char *kwnames
[] = {
14480 (char *) "self",(char *) "point", NULL
14483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14488 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14492 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
14494 wxPyEndAllowThreads(__tstate
);
14495 if (PyErr_Occurred()) SWIG_fail
;
14497 Py_INCREF(Py_None
); resultobj
= Py_None
;
14504 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14505 PyObject
*resultobj
;
14506 wxDC
*arg1
= (wxDC
*) 0 ;
14507 PyObject
* obj0
= 0 ;
14508 char *kwnames
[] = {
14509 (char *) "self", NULL
14512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
14513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14517 (arg1
)->ResetBoundingBox();
14519 wxPyEndAllowThreads(__tstate
);
14520 if (PyErr_Occurred()) SWIG_fail
;
14522 Py_INCREF(Py_None
); resultobj
= Py_None
;
14529 static PyObject
*_wrap_DC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14530 PyObject
*resultobj
;
14531 wxDC
*arg1
= (wxDC
*) 0 ;
14533 PyObject
* obj0
= 0 ;
14534 char *kwnames
[] = {
14535 (char *) "self", NULL
14538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
14539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14543 result
= (int)((wxDC
const *)arg1
)->MinX();
14545 wxPyEndAllowThreads(__tstate
);
14546 if (PyErr_Occurred()) SWIG_fail
;
14548 resultobj
= SWIG_FromInt((int)result
);
14555 static PyObject
*_wrap_DC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14556 PyObject
*resultobj
;
14557 wxDC
*arg1
= (wxDC
*) 0 ;
14559 PyObject
* obj0
= 0 ;
14560 char *kwnames
[] = {
14561 (char *) "self", NULL
14564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
14565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14569 result
= (int)((wxDC
const *)arg1
)->MaxX();
14571 wxPyEndAllowThreads(__tstate
);
14572 if (PyErr_Occurred()) SWIG_fail
;
14574 resultobj
= SWIG_FromInt((int)result
);
14581 static PyObject
*_wrap_DC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14582 PyObject
*resultobj
;
14583 wxDC
*arg1
= (wxDC
*) 0 ;
14585 PyObject
* obj0
= 0 ;
14586 char *kwnames
[] = {
14587 (char *) "self", NULL
14590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
14591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14595 result
= (int)((wxDC
const *)arg1
)->MinY();
14597 wxPyEndAllowThreads(__tstate
);
14598 if (PyErr_Occurred()) SWIG_fail
;
14600 resultobj
= SWIG_FromInt((int)result
);
14607 static PyObject
*_wrap_DC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14608 PyObject
*resultobj
;
14609 wxDC
*arg1
= (wxDC
*) 0 ;
14611 PyObject
* obj0
= 0 ;
14612 char *kwnames
[] = {
14613 (char *) "self", NULL
14616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
14617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14621 result
= (int)((wxDC
const *)arg1
)->MaxY();
14623 wxPyEndAllowThreads(__tstate
);
14624 if (PyErr_Occurred()) SWIG_fail
;
14626 resultobj
= SWIG_FromInt((int)result
);
14633 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14634 PyObject
*resultobj
;
14635 wxDC
*arg1
= (wxDC
*) 0 ;
14636 int *arg2
= (int *) 0 ;
14637 int *arg3
= (int *) 0 ;
14638 int *arg4
= (int *) 0 ;
14639 int *arg5
= (int *) 0 ;
14644 PyObject
* obj0
= 0 ;
14645 char *kwnames
[] = {
14646 (char *) "self", NULL
14653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
14654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14658 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
14660 wxPyEndAllowThreads(__tstate
);
14661 if (PyErr_Occurred()) SWIG_fail
;
14663 Py_INCREF(Py_None
); resultobj
= Py_None
;
14665 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14666 resultobj
= t_output_helper(resultobj
,o
);
14669 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14670 resultobj
= t_output_helper(resultobj
,o
);
14673 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
14674 resultobj
= t_output_helper(resultobj
,o
);
14677 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
14678 resultobj
= t_output_helper(resultobj
,o
);
14686 static PyObject
*_wrap_DC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14687 PyObject
*resultobj
;
14688 wxDC
*arg1
= (wxDC
*) 0 ;
14689 PyObject
*arg2
= (PyObject
*) 0 ;
14690 PyObject
*arg3
= (PyObject
*) 0 ;
14691 PyObject
*arg4
= (PyObject
*) 0 ;
14693 PyObject
* obj0
= 0 ;
14694 PyObject
* obj1
= 0 ;
14695 PyObject
* obj2
= 0 ;
14696 PyObject
* obj3
= 0 ;
14697 char *kwnames
[] = {
14698 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14709 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
14711 wxPyEndAllowThreads(__tstate
);
14712 if (PyErr_Occurred()) SWIG_fail
;
14714 resultobj
= result
;
14721 static PyObject
*_wrap_DC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14722 PyObject
*resultobj
;
14723 wxDC
*arg1
= (wxDC
*) 0 ;
14724 PyObject
*arg2
= (PyObject
*) 0 ;
14725 PyObject
*arg3
= (PyObject
*) 0 ;
14726 PyObject
*arg4
= (PyObject
*) 0 ;
14728 PyObject
* obj0
= 0 ;
14729 PyObject
* obj1
= 0 ;
14730 PyObject
* obj2
= 0 ;
14731 PyObject
* obj3
= 0 ;
14732 char *kwnames
[] = {
14733 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14744 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
14746 wxPyEndAllowThreads(__tstate
);
14747 if (PyErr_Occurred()) SWIG_fail
;
14749 resultobj
= result
;
14756 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14757 PyObject
*resultobj
;
14758 wxDC
*arg1
= (wxDC
*) 0 ;
14759 PyObject
*arg2
= (PyObject
*) 0 ;
14760 PyObject
*arg3
= (PyObject
*) 0 ;
14761 PyObject
*arg4
= (PyObject
*) 0 ;
14763 PyObject
* obj0
= 0 ;
14764 PyObject
* obj1
= 0 ;
14765 PyObject
* obj2
= 0 ;
14766 PyObject
* obj3
= 0 ;
14767 char *kwnames
[] = {
14768 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14779 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
14781 wxPyEndAllowThreads(__tstate
);
14782 if (PyErr_Occurred()) SWIG_fail
;
14784 resultobj
= result
;
14791 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14792 PyObject
*resultobj
;
14793 wxDC
*arg1
= (wxDC
*) 0 ;
14794 PyObject
*arg2
= (PyObject
*) 0 ;
14795 PyObject
*arg3
= (PyObject
*) 0 ;
14796 PyObject
*arg4
= (PyObject
*) 0 ;
14798 PyObject
* obj0
= 0 ;
14799 PyObject
* obj1
= 0 ;
14800 PyObject
* obj2
= 0 ;
14801 PyObject
* obj3
= 0 ;
14802 char *kwnames
[] = {
14803 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14814 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
14816 wxPyEndAllowThreads(__tstate
);
14817 if (PyErr_Occurred()) SWIG_fail
;
14819 resultobj
= result
;
14826 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14827 PyObject
*resultobj
;
14828 wxDC
*arg1
= (wxDC
*) 0 ;
14829 PyObject
*arg2
= (PyObject
*) 0 ;
14830 PyObject
*arg3
= (PyObject
*) 0 ;
14831 PyObject
*arg4
= (PyObject
*) 0 ;
14833 PyObject
* obj0
= 0 ;
14834 PyObject
* obj1
= 0 ;
14835 PyObject
* obj2
= 0 ;
14836 PyObject
* obj3
= 0 ;
14837 char *kwnames
[] = {
14838 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14849 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
14851 wxPyEndAllowThreads(__tstate
);
14852 if (PyErr_Occurred()) SWIG_fail
;
14854 resultobj
= result
;
14861 static PyObject
*_wrap_DC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14862 PyObject
*resultobj
;
14863 wxDC
*arg1
= (wxDC
*) 0 ;
14864 PyObject
*arg2
= (PyObject
*) 0 ;
14865 PyObject
*arg3
= (PyObject
*) 0 ;
14866 PyObject
*arg4
= (PyObject
*) 0 ;
14867 PyObject
*arg5
= (PyObject
*) 0 ;
14869 PyObject
* obj0
= 0 ;
14870 PyObject
* obj1
= 0 ;
14871 PyObject
* obj2
= 0 ;
14872 PyObject
* obj3
= 0 ;
14873 PyObject
* obj4
= 0 ;
14874 char *kwnames
[] = {
14875 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
14878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14887 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
14889 wxPyEndAllowThreads(__tstate
);
14890 if (PyErr_Occurred()) SWIG_fail
;
14892 resultobj
= result
;
14899 static PyObject
* DC_swigregister(PyObject
*self
, PyObject
*args
) {
14901 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14902 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
14904 return Py_BuildValue((char *)"");
14906 static PyObject
*_wrap_new_MemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14907 PyObject
*resultobj
;
14908 wxMemoryDC
*result
;
14909 char *kwnames
[] = {
14913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
14915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14916 result
= (wxMemoryDC
*)new wxMemoryDC();
14918 wxPyEndAllowThreads(__tstate
);
14919 if (PyErr_Occurred()) SWIG_fail
;
14921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
14928 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14929 PyObject
*resultobj
;
14930 wxDC
*arg1
= (wxDC
*) 0 ;
14931 wxMemoryDC
*result
;
14932 PyObject
* obj0
= 0 ;
14933 char *kwnames
[] = {
14934 (char *) "oldDC", NULL
14937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
14938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14942 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
14944 wxPyEndAllowThreads(__tstate
);
14945 if (PyErr_Occurred()) SWIG_fail
;
14947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
14954 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14955 PyObject
*resultobj
;
14956 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
14957 wxBitmap
*arg2
= 0 ;
14958 PyObject
* obj0
= 0 ;
14959 PyObject
* obj1
= 0 ;
14960 char *kwnames
[] = {
14961 (char *) "self",(char *) "bitmap", NULL
14964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
14965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
14966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14967 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
14968 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14970 if (arg2
== NULL
) {
14971 PyErr_SetString(PyExc_TypeError
,"null reference");
14975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14976 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
14978 wxPyEndAllowThreads(__tstate
);
14979 if (PyErr_Occurred()) SWIG_fail
;
14981 Py_INCREF(Py_None
); resultobj
= Py_None
;
14988 static PyObject
* MemoryDC_swigregister(PyObject
*self
, PyObject
*args
) {
14990 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14991 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
14993 return Py_BuildValue((char *)"");
14995 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*self
, PyObject
*args
) {
14996 PyObject
*resultobj
;
14997 wxDC
*arg1
= (wxDC
*) 0 ;
14998 wxBitmap
*arg2
= 0 ;
14999 wxBufferedDC
*result
;
15000 PyObject
* obj0
= 0 ;
15001 PyObject
* obj1
= 0 ;
15003 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15006 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15007 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15009 if (arg2
== NULL
) {
15010 PyErr_SetString(PyExc_TypeError
,"null reference");
15014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15015 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
15017 wxPyEndAllowThreads(__tstate
);
15018 if (PyErr_Occurred()) SWIG_fail
;
15020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15027 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*self
, PyObject
*args
) {
15028 PyObject
*resultobj
;
15029 wxDC
*arg1
= (wxDC
*) 0 ;
15031 wxBufferedDC
*result
;
15033 PyObject
* obj0
= 0 ;
15034 PyObject
* obj1
= 0 ;
15036 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15041 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15045 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15047 wxPyEndAllowThreads(__tstate
);
15048 if (PyErr_Occurred()) SWIG_fail
;
15050 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15057 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
15062 argc
= PyObject_Length(args
);
15063 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
15064 argv
[ii
] = PyTuple_GetItem(args
,ii
);
15070 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15080 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
15088 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
15096 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15105 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
15108 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
15113 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
15118 static PyObject
*_wrap_new_BufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
) {
15119 PyObject
*resultobj
;
15120 wxDC
*arg1
= (wxDC
*) 0 ;
15122 wxBufferedDC
*result
;
15124 PyObject
* obj0
= 0 ;
15125 PyObject
* obj1
= 0 ;
15127 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDCInternalBuffer",&obj0
,&obj1
)) goto fail
;
15128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15132 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15136 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15138 wxPyEndAllowThreads(__tstate
);
15139 if (PyErr_Occurred()) SWIG_fail
;
15141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15148 static PyObject
*_wrap_delete_BufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15149 PyObject
*resultobj
;
15150 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15151 PyObject
* obj0
= 0 ;
15152 char *kwnames
[] = {
15153 (char *) "self", NULL
15156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
15157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15163 wxPyEndAllowThreads(__tstate
);
15164 if (PyErr_Occurred()) SWIG_fail
;
15166 Py_INCREF(Py_None
); resultobj
= Py_None
;
15173 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15174 PyObject
*resultobj
;
15175 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15176 PyObject
* obj0
= 0 ;
15177 char *kwnames
[] = {
15178 (char *) "self", NULL
15181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
15182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15188 wxPyEndAllowThreads(__tstate
);
15189 if (PyErr_Occurred()) SWIG_fail
;
15191 Py_INCREF(Py_None
); resultobj
= Py_None
;
15198 static PyObject
* BufferedDC_swigregister(PyObject
*self
, PyObject
*args
) {
15200 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15201 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
15203 return Py_BuildValue((char *)"");
15205 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15206 PyObject
*resultobj
;
15207 wxWindow
*arg1
= (wxWindow
*) 0 ;
15208 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
15209 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
15210 wxBufferedPaintDC
*result
;
15211 PyObject
* obj0
= 0 ;
15212 PyObject
* obj1
= 0 ;
15213 char *kwnames
[] = {
15214 (char *) "window",(char *) "buffer", NULL
15217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15221 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15222 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15224 if (arg2
== NULL
) {
15225 PyErr_SetString(PyExc_TypeError
,"null reference");
15230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15231 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
15233 wxPyEndAllowThreads(__tstate
);
15234 if (PyErr_Occurred()) SWIG_fail
;
15236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
15243 static PyObject
* BufferedPaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15246 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
15248 return Py_BuildValue((char *)"");
15250 static PyObject
*_wrap_new_ScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15251 PyObject
*resultobj
;
15252 wxScreenDC
*result
;
15253 char *kwnames
[] = {
15257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
15259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15260 result
= (wxScreenDC
*)new wxScreenDC();
15262 wxPyEndAllowThreads(__tstate
);
15263 if (PyErr_Occurred()) SWIG_fail
;
15265 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
15272 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15273 PyObject
*resultobj
;
15274 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15275 wxWindow
*arg2
= (wxWindow
*) 0 ;
15277 PyObject
* obj0
= 0 ;
15278 PyObject
* obj1
= 0 ;
15279 char *kwnames
[] = {
15280 (char *) "self",(char *) "window", NULL
15283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
15284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15286 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15290 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15292 wxPyEndAllowThreads(__tstate
);
15293 if (PyErr_Occurred()) SWIG_fail
;
15296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15304 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15305 PyObject
*resultobj
;
15306 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15307 wxRect
*arg2
= (wxRect
*) NULL
;
15309 PyObject
* obj0
= 0 ;
15310 PyObject
* obj1
= 0 ;
15311 char *kwnames
[] = {
15312 (char *) "self",(char *) "rect", NULL
15315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
15316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15319 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
15320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15324 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15326 wxPyEndAllowThreads(__tstate
);
15327 if (PyErr_Occurred()) SWIG_fail
;
15330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15338 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15339 PyObject
*resultobj
;
15340 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15342 PyObject
* obj0
= 0 ;
15343 char *kwnames
[] = {
15344 (char *) "self", NULL
15347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
15348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15352 result
= (bool)(arg1
)->EndDrawingOnTop();
15354 wxPyEndAllowThreads(__tstate
);
15355 if (PyErr_Occurred()) SWIG_fail
;
15358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15366 static PyObject
* ScreenDC_swigregister(PyObject
*self
, PyObject
*args
) {
15368 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15369 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
15371 return Py_BuildValue((char *)"");
15373 static PyObject
*_wrap_new_ClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15374 PyObject
*resultobj
;
15375 wxWindow
*arg1
= (wxWindow
*) 0 ;
15376 wxClientDC
*result
;
15377 PyObject
* obj0
= 0 ;
15378 char *kwnames
[] = {
15379 (char *) "win", NULL
15382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
15383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15387 result
= (wxClientDC
*)new wxClientDC(arg1
);
15389 wxPyEndAllowThreads(__tstate
);
15390 if (PyErr_Occurred()) SWIG_fail
;
15392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
15399 static PyObject
* ClientDC_swigregister(PyObject
*self
, PyObject
*args
) {
15401 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15402 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
15404 return Py_BuildValue((char *)"");
15406 static PyObject
*_wrap_new_PaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15407 PyObject
*resultobj
;
15408 wxWindow
*arg1
= (wxWindow
*) 0 ;
15410 PyObject
* obj0
= 0 ;
15411 char *kwnames
[] = {
15412 (char *) "win", NULL
15415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
15416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15420 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
15422 wxPyEndAllowThreads(__tstate
);
15423 if (PyErr_Occurred()) SWIG_fail
;
15425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
15432 static PyObject
* PaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15434 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15435 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
15437 return Py_BuildValue((char *)"");
15439 static PyObject
*_wrap_new_WindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15440 PyObject
*resultobj
;
15441 wxWindow
*arg1
= (wxWindow
*) 0 ;
15442 wxWindowDC
*result
;
15443 PyObject
* obj0
= 0 ;
15444 char *kwnames
[] = {
15445 (char *) "win", NULL
15448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
15449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15453 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
15455 wxPyEndAllowThreads(__tstate
);
15456 if (PyErr_Occurred()) SWIG_fail
;
15458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
15465 static PyObject
* WindowDC_swigregister(PyObject
*self
, PyObject
*args
) {
15467 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15468 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
15470 return Py_BuildValue((char *)"");
15472 static PyObject
*_wrap_new_MirrorDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15473 PyObject
*resultobj
;
15476 wxMirrorDC
*result
;
15477 PyObject
* obj0
= 0 ;
15478 PyObject
* obj1
= 0 ;
15479 char *kwnames
[] = {
15480 (char *) "dc",(char *) "mirror", NULL
15483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15485 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15487 if (arg1
== NULL
) {
15488 PyErr_SetString(PyExc_TypeError
,"null reference");
15491 arg2
= (bool) SWIG_AsBool(obj1
);
15492 if (PyErr_Occurred()) SWIG_fail
;
15494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15495 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
15497 wxPyEndAllowThreads(__tstate
);
15498 if (PyErr_Occurred()) SWIG_fail
;
15500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
15507 static PyObject
* MirrorDC_swigregister(PyObject
*self
, PyObject
*args
) {
15509 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15510 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
15512 return Py_BuildValue((char *)"");
15514 static PyObject
*_wrap_new_PostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15515 PyObject
*resultobj
;
15516 wxPrintData
*arg1
= 0 ;
15517 wxPostScriptDC
*result
;
15518 PyObject
* obj0
= 0 ;
15519 char *kwnames
[] = {
15520 (char *) "printData", NULL
15523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
15524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15525 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15527 if (arg1
== NULL
) {
15528 PyErr_SetString(PyExc_TypeError
,"null reference");
15532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15533 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
15535 wxPyEndAllowThreads(__tstate
);
15536 if (PyErr_Occurred()) SWIG_fail
;
15538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
15545 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15546 PyObject
*resultobj
;
15547 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15548 wxPrintData
*result
;
15549 PyObject
* obj0
= 0 ;
15550 char *kwnames
[] = {
15551 (char *) "self", NULL
15554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
15555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15560 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
15561 result
= (wxPrintData
*) &_result_ref
;
15564 wxPyEndAllowThreads(__tstate
);
15565 if (PyErr_Occurred()) SWIG_fail
;
15567 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
15574 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15575 PyObject
*resultobj
;
15576 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15577 wxPrintData
*arg2
= 0 ;
15578 PyObject
* obj0
= 0 ;
15579 PyObject
* obj1
= 0 ;
15580 char *kwnames
[] = {
15581 (char *) "self",(char *) "data", NULL
15584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
15585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15587 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
15588 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15590 if (arg2
== NULL
) {
15591 PyErr_SetString(PyExc_TypeError
,"null reference");
15595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15596 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
15598 wxPyEndAllowThreads(__tstate
);
15599 if (PyErr_Occurred()) SWIG_fail
;
15601 Py_INCREF(Py_None
); resultobj
= Py_None
;
15608 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15609 PyObject
*resultobj
;
15611 PyObject
* obj0
= 0 ;
15612 char *kwnames
[] = {
15613 (char *) "ppi", NULL
15616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
15617 arg1
= (int) SWIG_AsInt(obj0
);
15618 if (PyErr_Occurred()) SWIG_fail
;
15620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15621 wxPostScriptDC::SetResolution(arg1
);
15623 wxPyEndAllowThreads(__tstate
);
15624 if (PyErr_Occurred()) SWIG_fail
;
15626 Py_INCREF(Py_None
); resultobj
= Py_None
;
15633 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15634 PyObject
*resultobj
;
15636 char *kwnames
[] = {
15640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
15642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15643 result
= (int)wxPostScriptDC::GetResolution();
15645 wxPyEndAllowThreads(__tstate
);
15646 if (PyErr_Occurred()) SWIG_fail
;
15648 resultobj
= SWIG_FromInt((int)result
);
15655 static PyObject
* PostScriptDC_swigregister(PyObject
*self
, PyObject
*args
) {
15657 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15658 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
15660 return Py_BuildValue((char *)"");
15662 static PyObject
*_wrap_new_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15663 PyObject
*resultobj
;
15664 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15665 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15666 wxMetaFile
*result
;
15667 bool temp1
= False
;
15668 PyObject
* obj0
= 0 ;
15669 char *kwnames
[] = {
15670 (char *) "filename", NULL
15673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
15676 arg1
= wxString_in_helper(obj0
);
15677 if (arg1
== NULL
) SWIG_fail
;
15682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15683 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
15685 wxPyEndAllowThreads(__tstate
);
15686 if (PyErr_Occurred()) SWIG_fail
;
15688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
15703 static PyObject
*_wrap_delete_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15704 PyObject
*resultobj
;
15705 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15706 PyObject
* obj0
= 0 ;
15707 char *kwnames
[] = {
15708 (char *) "self", NULL
15711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
;
15712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15718 wxPyEndAllowThreads(__tstate
);
15719 if (PyErr_Occurred()) SWIG_fail
;
15721 Py_INCREF(Py_None
); resultobj
= Py_None
;
15728 static PyObject
*_wrap_MetaFile_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15729 PyObject
*resultobj
;
15730 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15732 PyObject
* obj0
= 0 ;
15733 char *kwnames
[] = {
15734 (char *) "self", NULL
15737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
;
15738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15742 result
= (bool)(arg1
)->Ok();
15744 wxPyEndAllowThreads(__tstate
);
15745 if (PyErr_Occurred()) SWIG_fail
;
15748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15756 static PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15757 PyObject
*resultobj
;
15758 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15759 int arg2
= (int) 0 ;
15760 int arg3
= (int) 0 ;
15762 PyObject
* obj0
= 0 ;
15763 PyObject
* obj1
= 0 ;
15764 PyObject
* obj2
= 0 ;
15765 char *kwnames
[] = {
15766 (char *) "self",(char *) "width",(char *) "height", NULL
15769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15773 arg2
= (int) SWIG_AsInt(obj1
);
15774 if (PyErr_Occurred()) SWIG_fail
;
15777 arg3
= (int) SWIG_AsInt(obj2
);
15778 if (PyErr_Occurred()) SWIG_fail
;
15781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15782 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
15784 wxPyEndAllowThreads(__tstate
);
15785 if (PyErr_Occurred()) SWIG_fail
;
15788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15796 static PyObject
*_wrap_MetaFile_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15797 PyObject
*resultobj
;
15798 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15800 PyObject
* obj0
= 0 ;
15801 char *kwnames
[] = {
15802 (char *) "self", NULL
15805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
;
15806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15810 result
= (arg1
)->GetSize();
15812 wxPyEndAllowThreads(__tstate
);
15813 if (PyErr_Occurred()) SWIG_fail
;
15816 wxSize
* resultptr
;
15817 resultptr
= new wxSize((wxSize
&) result
);
15818 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15826 static PyObject
*_wrap_MetaFile_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15827 PyObject
*resultobj
;
15828 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15830 PyObject
* obj0
= 0 ;
15831 char *kwnames
[] = {
15832 (char *) "self", NULL
15835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
;
15836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15840 result
= (int)(arg1
)->GetWidth();
15842 wxPyEndAllowThreads(__tstate
);
15843 if (PyErr_Occurred()) SWIG_fail
;
15845 resultobj
= SWIG_FromInt((int)result
);
15852 static PyObject
*_wrap_MetaFile_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15853 PyObject
*resultobj
;
15854 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15856 PyObject
* obj0
= 0 ;
15857 char *kwnames
[] = {
15858 (char *) "self", NULL
15861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
;
15862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15866 result
= (int)(arg1
)->GetHeight();
15868 wxPyEndAllowThreads(__tstate
);
15869 if (PyErr_Occurred()) SWIG_fail
;
15871 resultobj
= SWIG_FromInt((int)result
);
15878 static PyObject
* MetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
15880 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15881 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
15883 return Py_BuildValue((char *)"");
15885 static PyObject
*_wrap_new_MetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15886 PyObject
*resultobj
;
15887 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15888 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15889 int arg2
= (int) 0 ;
15890 int arg3
= (int) 0 ;
15891 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15892 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15893 wxMetaFileDC
*result
;
15894 bool temp1
= False
;
15895 bool temp4
= False
;
15896 PyObject
* obj0
= 0 ;
15897 PyObject
* obj1
= 0 ;
15898 PyObject
* obj2
= 0 ;
15899 PyObject
* obj3
= 0 ;
15900 char *kwnames
[] = {
15901 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
15904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15907 arg1
= wxString_in_helper(obj0
);
15908 if (arg1
== NULL
) SWIG_fail
;
15913 arg2
= (int) SWIG_AsInt(obj1
);
15914 if (PyErr_Occurred()) SWIG_fail
;
15917 arg3
= (int) SWIG_AsInt(obj2
);
15918 if (PyErr_Occurred()) SWIG_fail
;
15922 arg4
= wxString_in_helper(obj3
);
15923 if (arg4
== NULL
) SWIG_fail
;
15928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15929 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
15931 wxPyEndAllowThreads(__tstate
);
15932 if (PyErr_Occurred()) SWIG_fail
;
15934 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
15957 static PyObject
*_wrap_MetaFileDC_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15958 PyObject
*resultobj
;
15959 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
15960 wxMetaFile
*result
;
15961 PyObject
* obj0
= 0 ;
15962 char *kwnames
[] = {
15963 (char *) "self", NULL
15966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
;
15967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFileDC
,
15968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15971 result
= (wxMetaFile
*)(arg1
)->Close();
15973 wxPyEndAllowThreads(__tstate
);
15974 if (PyErr_Occurred()) SWIG_fail
;
15976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 0);
15983 static PyObject
* MetaFileDC_swigregister(PyObject
*self
, PyObject
*args
) {
15985 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15986 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
15988 return Py_BuildValue((char *)"");
15990 static PyObject
*_wrap_new_PrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15991 PyObject
*resultobj
;
15992 wxPrintData
*arg1
= 0 ;
15993 wxPrinterDC
*result
;
15994 PyObject
* obj0
= 0 ;
15995 char *kwnames
[] = {
15996 (char *) "printData", NULL
15999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
16000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16001 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16003 if (arg1
== NULL
) {
16004 PyErr_SetString(PyExc_TypeError
,"null reference");
16008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16009 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
16011 wxPyEndAllowThreads(__tstate
);
16012 if (PyErr_Occurred()) SWIG_fail
;
16014 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
16021 static PyObject
* PrinterDC_swigregister(PyObject
*self
, PyObject
*args
) {
16023 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16024 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
16026 return Py_BuildValue((char *)"");
16028 static PyObject
*_wrap_new_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16029 PyObject
*resultobj
;
16032 int arg3
= (int) True
;
16033 int arg4
= (int) 1 ;
16034 wxImageList
*result
;
16035 PyObject
* obj0
= 0 ;
16036 PyObject
* obj1
= 0 ;
16037 PyObject
* obj2
= 0 ;
16038 PyObject
* obj3
= 0 ;
16039 char *kwnames
[] = {
16040 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
16043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16044 arg1
= (int) SWIG_AsInt(obj0
);
16045 if (PyErr_Occurred()) SWIG_fail
;
16046 arg2
= (int) SWIG_AsInt(obj1
);
16047 if (PyErr_Occurred()) SWIG_fail
;
16049 arg3
= (int) SWIG_AsInt(obj2
);
16050 if (PyErr_Occurred()) SWIG_fail
;
16053 arg4
= (int) SWIG_AsInt(obj3
);
16054 if (PyErr_Occurred()) SWIG_fail
;
16057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16058 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
16060 wxPyEndAllowThreads(__tstate
);
16061 if (PyErr_Occurred()) SWIG_fail
;
16064 resultobj
= wxPyMake_wxObject(result
);
16072 static PyObject
*_wrap_delete_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16073 PyObject
*resultobj
;
16074 wxImageList
*arg1
= (wxImageList
*) 0 ;
16075 PyObject
* obj0
= 0 ;
16076 char *kwnames
[] = {
16077 (char *) "self", NULL
16080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
16081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16087 wxPyEndAllowThreads(__tstate
);
16088 if (PyErr_Occurred()) SWIG_fail
;
16090 Py_INCREF(Py_None
); resultobj
= Py_None
;
16097 static PyObject
*_wrap_ImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16098 PyObject
*resultobj
;
16099 wxImageList
*arg1
= (wxImageList
*) 0 ;
16100 wxBitmap
*arg2
= 0 ;
16101 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
16102 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
16104 PyObject
* obj0
= 0 ;
16105 PyObject
* obj1
= 0 ;
16106 PyObject
* obj2
= 0 ;
16107 char *kwnames
[] = {
16108 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
16111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16114 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16115 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16117 if (arg2
== NULL
) {
16118 PyErr_SetString(PyExc_TypeError
,"null reference");
16122 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16123 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16125 if (arg3
== NULL
) {
16126 PyErr_SetString(PyExc_TypeError
,"null reference");
16131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16132 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
16134 wxPyEndAllowThreads(__tstate
);
16135 if (PyErr_Occurred()) SWIG_fail
;
16137 resultobj
= SWIG_FromInt((int)result
);
16144 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16145 PyObject
*resultobj
;
16146 wxImageList
*arg1
= (wxImageList
*) 0 ;
16147 wxBitmap
*arg2
= 0 ;
16148 wxColour
*arg3
= 0 ;
16151 PyObject
* obj0
= 0 ;
16152 PyObject
* obj1
= 0 ;
16153 PyObject
* obj2
= 0 ;
16154 char *kwnames
[] = {
16155 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
16158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16161 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16162 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16164 if (arg2
== NULL
) {
16165 PyErr_SetString(PyExc_TypeError
,"null reference");
16170 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16174 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
16176 wxPyEndAllowThreads(__tstate
);
16177 if (PyErr_Occurred()) SWIG_fail
;
16179 resultobj
= SWIG_FromInt((int)result
);
16186 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16187 PyObject
*resultobj
;
16188 wxImageList
*arg1
= (wxImageList
*) 0 ;
16191 PyObject
* obj0
= 0 ;
16192 PyObject
* obj1
= 0 ;
16193 char *kwnames
[] = {
16194 (char *) "self",(char *) "icon", NULL
16197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
16198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16200 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
16201 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16203 if (arg2
== NULL
) {
16204 PyErr_SetString(PyExc_TypeError
,"null reference");
16208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16209 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
16211 wxPyEndAllowThreads(__tstate
);
16212 if (PyErr_Occurred()) SWIG_fail
;
16214 resultobj
= SWIG_FromInt((int)result
);
16221 static PyObject
*_wrap_ImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16222 PyObject
*resultobj
;
16223 wxImageList
*arg1
= (wxImageList
*) 0 ;
16225 wxBitmap
*arg3
= 0 ;
16227 PyObject
* obj0
= 0 ;
16228 PyObject
* obj1
= 0 ;
16229 PyObject
* obj2
= 0 ;
16230 char *kwnames
[] = {
16231 (char *) "self",(char *) "index",(char *) "bitmap", NULL
16234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16237 arg2
= (int) SWIG_AsInt(obj1
);
16238 if (PyErr_Occurred()) SWIG_fail
;
16239 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16240 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16242 if (arg3
== NULL
) {
16243 PyErr_SetString(PyExc_TypeError
,"null reference");
16247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16248 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
16250 wxPyEndAllowThreads(__tstate
);
16251 if (PyErr_Occurred()) SWIG_fail
;
16254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16262 static PyObject
*_wrap_ImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16263 PyObject
*resultobj
;
16264 wxImageList
*arg1
= (wxImageList
*) 0 ;
16269 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
16270 bool arg7
= (bool) (bool)False
;
16272 PyObject
* obj0
= 0 ;
16273 PyObject
* obj1
= 0 ;
16274 PyObject
* obj2
= 0 ;
16275 PyObject
* obj3
= 0 ;
16276 PyObject
* obj4
= 0 ;
16277 PyObject
* obj5
= 0 ;
16278 PyObject
* obj6
= 0 ;
16279 char *kwnames
[] = {
16280 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
16283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16286 arg2
= (int) SWIG_AsInt(obj1
);
16287 if (PyErr_Occurred()) SWIG_fail
;
16288 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
16289 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16291 if (arg3
== NULL
) {
16292 PyErr_SetString(PyExc_TypeError
,"null reference");
16295 arg4
= (int) SWIG_AsInt(obj3
);
16296 if (PyErr_Occurred()) SWIG_fail
;
16297 arg5
= (int) SWIG_AsInt(obj4
);
16298 if (PyErr_Occurred()) SWIG_fail
;
16300 arg6
= (int) SWIG_AsInt(obj5
);
16301 if (PyErr_Occurred()) SWIG_fail
;
16304 arg7
= (bool const) SWIG_AsBool(obj6
);
16305 if (PyErr_Occurred()) SWIG_fail
;
16308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16309 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
16311 wxPyEndAllowThreads(__tstate
);
16312 if (PyErr_Occurred()) SWIG_fail
;
16315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16323 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16324 PyObject
*resultobj
;
16325 wxImageList
*arg1
= (wxImageList
*) 0 ;
16327 PyObject
* obj0
= 0 ;
16328 char *kwnames
[] = {
16329 (char *) "self", NULL
16332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
16333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16337 result
= (int)(arg1
)->GetImageCount();
16339 wxPyEndAllowThreads(__tstate
);
16340 if (PyErr_Occurred()) SWIG_fail
;
16342 resultobj
= SWIG_FromInt((int)result
);
16349 static PyObject
*_wrap_ImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16350 PyObject
*resultobj
;
16351 wxImageList
*arg1
= (wxImageList
*) 0 ;
16354 PyObject
* obj0
= 0 ;
16355 PyObject
* obj1
= 0 ;
16356 char *kwnames
[] = {
16357 (char *) "self",(char *) "index", NULL
16360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
16361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16363 arg2
= (int) SWIG_AsInt(obj1
);
16364 if (PyErr_Occurred()) SWIG_fail
;
16366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16367 result
= (bool)(arg1
)->Remove(arg2
);
16369 wxPyEndAllowThreads(__tstate
);
16370 if (PyErr_Occurred()) SWIG_fail
;
16373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16381 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16382 PyObject
*resultobj
;
16383 wxImageList
*arg1
= (wxImageList
*) 0 ;
16385 PyObject
* obj0
= 0 ;
16386 char *kwnames
[] = {
16387 (char *) "self", NULL
16390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
16391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16395 result
= (bool)(arg1
)->RemoveAll();
16397 wxPyEndAllowThreads(__tstate
);
16398 if (PyErr_Occurred()) SWIG_fail
;
16401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16409 static PyObject
*_wrap_ImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16410 PyObject
*resultobj
;
16411 wxImageList
*arg1
= (wxImageList
*) 0 ;
16417 PyObject
* obj0
= 0 ;
16418 PyObject
* obj1
= 0 ;
16419 char *kwnames
[] = {
16420 (char *) "self",(char *) "index", NULL
16425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16428 arg2
= (int) SWIG_AsInt(obj1
);
16429 if (PyErr_Occurred()) SWIG_fail
;
16431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16432 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
16434 wxPyEndAllowThreads(__tstate
);
16435 if (PyErr_Occurred()) SWIG_fail
;
16437 Py_INCREF(Py_None
); resultobj
= Py_None
;
16439 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16440 resultobj
= t_output_helper(resultobj
,o
);
16443 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
16444 resultobj
= t_output_helper(resultobj
,o
);
16452 static PyObject
* ImageList_swigregister(PyObject
*self
, PyObject
*args
) {
16454 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16455 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
16457 return Py_BuildValue((char *)"");
16459 static int _wrap_NORMAL_FONT_set(PyObject
*_val
) {
16460 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
16465 static PyObject
*_wrap_NORMAL_FONT_get() {
16468 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
16473 static int _wrap_SMALL_FONT_set(PyObject
*_val
) {
16474 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
16479 static PyObject
*_wrap_SMALL_FONT_get() {
16482 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
16487 static int _wrap_ITALIC_FONT_set(PyObject
*_val
) {
16488 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
16493 static PyObject
*_wrap_ITALIC_FONT_get() {
16496 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
16501 static int _wrap_SWISS_FONT_set(PyObject
*_val
) {
16502 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
16507 static PyObject
*_wrap_SWISS_FONT_get() {
16510 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
16515 static int _wrap_RED_PEN_set(PyObject
*_val
) {
16516 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
16521 static PyObject
*_wrap_RED_PEN_get() {
16524 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
16529 static int _wrap_CYAN_PEN_set(PyObject
*_val
) {
16530 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
16535 static PyObject
*_wrap_CYAN_PEN_get() {
16538 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
16543 static int _wrap_GREEN_PEN_set(PyObject
*_val
) {
16544 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
16549 static PyObject
*_wrap_GREEN_PEN_get() {
16552 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
16557 static int _wrap_BLACK_PEN_set(PyObject
*_val
) {
16558 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
16563 static PyObject
*_wrap_BLACK_PEN_get() {
16566 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
16571 static int _wrap_WHITE_PEN_set(PyObject
*_val
) {
16572 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
16577 static PyObject
*_wrap_WHITE_PEN_get() {
16580 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
16585 static int _wrap_TRANSPARENT_PEN_set(PyObject
*_val
) {
16586 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
16591 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
16594 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
16599 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*_val
) {
16600 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
16605 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
16608 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
16613 static int _wrap_GREY_PEN_set(PyObject
*_val
) {
16614 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
16619 static PyObject
*_wrap_GREY_PEN_get() {
16622 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16627 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*_val
) {
16628 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
16633 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
16636 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16641 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*_val
) {
16642 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
16647 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
16650 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16655 static int _wrap_BLUE_BRUSH_set(PyObject
*_val
) {
16656 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
16661 static PyObject
*_wrap_BLUE_BRUSH_get() {
16664 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16669 static int _wrap_GREEN_BRUSH_set(PyObject
*_val
) {
16670 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
16675 static PyObject
*_wrap_GREEN_BRUSH_get() {
16678 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16683 static int _wrap_WHITE_BRUSH_set(PyObject
*_val
) {
16684 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
16689 static PyObject
*_wrap_WHITE_BRUSH_get() {
16692 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16697 static int _wrap_BLACK_BRUSH_set(PyObject
*_val
) {
16698 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
16703 static PyObject
*_wrap_BLACK_BRUSH_get() {
16706 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16711 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*_val
) {
16712 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
16717 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
16720 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16725 static int _wrap_CYAN_BRUSH_set(PyObject
*_val
) {
16726 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
16731 static PyObject
*_wrap_CYAN_BRUSH_get() {
16734 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16739 static int _wrap_RED_BRUSH_set(PyObject
*_val
) {
16740 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
16745 static PyObject
*_wrap_RED_BRUSH_get() {
16748 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16753 static int _wrap_GREY_BRUSH_set(PyObject
*_val
) {
16754 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
16759 static PyObject
*_wrap_GREY_BRUSH_get() {
16762 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16767 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*_val
) {
16768 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
16773 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
16776 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16781 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*_val
) {
16782 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
16787 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
16790 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16795 static int _wrap_BLACK_set(PyObject
*_val
) {
16796 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
16801 static PyObject
*_wrap_BLACK_get() {
16804 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
16809 static int _wrap_WHITE_set(PyObject
*_val
) {
16810 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
16815 static PyObject
*_wrap_WHITE_get() {
16818 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
16823 static int _wrap_RED_set(PyObject
*_val
) {
16824 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
16829 static PyObject
*_wrap_RED_get() {
16832 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
16837 static int _wrap_BLUE_set(PyObject
*_val
) {
16838 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
16843 static PyObject
*_wrap_BLUE_get() {
16846 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
16851 static int _wrap_GREEN_set(PyObject
*_val
) {
16852 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
16857 static PyObject
*_wrap_GREEN_get() {
16860 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
16865 static int _wrap_CYAN_set(PyObject
*_val
) {
16866 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
16871 static PyObject
*_wrap_CYAN_get() {
16874 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
16879 static int _wrap_LIGHT_GREY_set(PyObject
*_val
) {
16880 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
16885 static PyObject
*_wrap_LIGHT_GREY_get() {
16888 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
16893 static int _wrap_STANDARD_CURSOR_set(PyObject
*_val
) {
16894 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
16899 static PyObject
*_wrap_STANDARD_CURSOR_get() {
16902 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16907 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*_val
) {
16908 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
16913 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
16916 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16921 static int _wrap_CROSS_CURSOR_set(PyObject
*_val
) {
16922 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
16927 static PyObject
*_wrap_CROSS_CURSOR_get() {
16930 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16935 static int _wrap_NullBitmap_set(PyObject
*_val
) {
16936 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
16941 static PyObject
*_wrap_NullBitmap_get() {
16944 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
16949 static int _wrap_NullIcon_set(PyObject
*_val
) {
16950 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
16955 static PyObject
*_wrap_NullIcon_get() {
16958 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
16963 static int _wrap_NullCursor_set(PyObject
*_val
) {
16964 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
16969 static PyObject
*_wrap_NullCursor_get() {
16972 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
16977 static int _wrap_NullPen_set(PyObject
*_val
) {
16978 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
16983 static PyObject
*_wrap_NullPen_get() {
16986 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
16991 static int _wrap_NullBrush_set(PyObject
*_val
) {
16992 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
16997 static PyObject
*_wrap_NullBrush_get() {
17000 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
17005 static int _wrap_NullPalette_set(PyObject
*_val
) {
17006 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
17011 static PyObject
*_wrap_NullPalette_get() {
17014 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
17019 static int _wrap_NullFont_set(PyObject
*_val
) {
17020 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
17025 static PyObject
*_wrap_NullFont_get() {
17028 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
17033 static int _wrap_NullColour_set(PyObject
*_val
) {
17034 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
17039 static PyObject
*_wrap_NullColour_get() {
17042 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
17047 static PyObject
*_wrap_PenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17048 PyObject
*resultobj
;
17049 wxPenList
*arg1
= (wxPenList
*) 0 ;
17050 wxPen
*arg2
= (wxPen
*) 0 ;
17051 PyObject
* obj0
= 0 ;
17052 PyObject
* obj1
= 0 ;
17053 char *kwnames
[] = {
17054 (char *) "self",(char *) "pen", NULL
17057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
17058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17060 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17064 (arg1
)->AddPen(arg2
);
17066 wxPyEndAllowThreads(__tstate
);
17067 if (PyErr_Occurred()) SWIG_fail
;
17069 Py_INCREF(Py_None
); resultobj
= Py_None
;
17076 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17077 PyObject
*resultobj
;
17078 wxPenList
*arg1
= (wxPenList
*) 0 ;
17079 wxColour
*arg2
= 0 ;
17084 PyObject
* obj0
= 0 ;
17085 PyObject
* obj1
= 0 ;
17086 PyObject
* obj2
= 0 ;
17087 PyObject
* obj3
= 0 ;
17088 char *kwnames
[] = {
17089 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
17092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17097 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17099 arg3
= (int) SWIG_AsInt(obj2
);
17100 if (PyErr_Occurred()) SWIG_fail
;
17101 arg4
= (int) SWIG_AsInt(obj3
);
17102 if (PyErr_Occurred()) SWIG_fail
;
17104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17105 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
17107 wxPyEndAllowThreads(__tstate
);
17108 if (PyErr_Occurred()) SWIG_fail
;
17110 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
17117 static PyObject
*_wrap_PenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17118 PyObject
*resultobj
;
17119 wxPenList
*arg1
= (wxPenList
*) 0 ;
17120 wxPen
*arg2
= (wxPen
*) 0 ;
17121 PyObject
* obj0
= 0 ;
17122 PyObject
* obj1
= 0 ;
17123 char *kwnames
[] = {
17124 (char *) "self",(char *) "pen", NULL
17127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
17128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17130 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17134 (arg1
)->RemovePen(arg2
);
17136 wxPyEndAllowThreads(__tstate
);
17137 if (PyErr_Occurred()) SWIG_fail
;
17139 Py_INCREF(Py_None
); resultobj
= Py_None
;
17146 static PyObject
*_wrap_PenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17147 PyObject
*resultobj
;
17148 wxPenList
*arg1
= (wxPenList
*) 0 ;
17150 PyObject
* obj0
= 0 ;
17151 char *kwnames
[] = {
17152 (char *) "self", NULL
17155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
17156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17160 result
= (int)(arg1
)->GetCount();
17162 wxPyEndAllowThreads(__tstate
);
17163 if (PyErr_Occurred()) SWIG_fail
;
17165 resultobj
= SWIG_FromInt((int)result
);
17172 static PyObject
* PenList_swigregister(PyObject
*self
, PyObject
*args
) {
17174 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17175 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
17177 return Py_BuildValue((char *)"");
17179 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17180 PyObject
*resultobj
;
17181 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17182 wxBrush
*arg2
= (wxBrush
*) 0 ;
17183 PyObject
* obj0
= 0 ;
17184 PyObject
* obj1
= 0 ;
17185 char *kwnames
[] = {
17186 (char *) "self",(char *) "brush", NULL
17189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17192 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17196 (arg1
)->AddBrush(arg2
);
17198 wxPyEndAllowThreads(__tstate
);
17199 if (PyErr_Occurred()) SWIG_fail
;
17201 Py_INCREF(Py_None
); resultobj
= Py_None
;
17208 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17209 PyObject
*resultobj
;
17210 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17211 wxColour
*arg2
= 0 ;
17215 PyObject
* obj0
= 0 ;
17216 PyObject
* obj1
= 0 ;
17217 PyObject
* obj2
= 0 ;
17218 char *kwnames
[] = {
17219 (char *) "self",(char *) "colour",(char *) "style", NULL
17222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17227 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17229 arg3
= (int) SWIG_AsInt(obj2
);
17230 if (PyErr_Occurred()) SWIG_fail
;
17232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17233 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
17235 wxPyEndAllowThreads(__tstate
);
17236 if (PyErr_Occurred()) SWIG_fail
;
17238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
17245 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17246 PyObject
*resultobj
;
17247 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17248 wxBrush
*arg2
= (wxBrush
*) 0 ;
17249 PyObject
* obj0
= 0 ;
17250 PyObject
* obj1
= 0 ;
17251 char *kwnames
[] = {
17252 (char *) "self",(char *) "brush", NULL
17255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17258 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17262 (arg1
)->RemoveBrush(arg2
);
17264 wxPyEndAllowThreads(__tstate
);
17265 if (PyErr_Occurred()) SWIG_fail
;
17267 Py_INCREF(Py_None
); resultobj
= Py_None
;
17274 static PyObject
*_wrap_BrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17275 PyObject
*resultobj
;
17276 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17278 PyObject
* obj0
= 0 ;
17279 char *kwnames
[] = {
17280 (char *) "self", NULL
17283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
17284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17288 result
= (int)(arg1
)->GetCount();
17290 wxPyEndAllowThreads(__tstate
);
17291 if (PyErr_Occurred()) SWIG_fail
;
17293 resultobj
= SWIG_FromInt((int)result
);
17300 static PyObject
* BrushList_swigregister(PyObject
*self
, PyObject
*args
) {
17302 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17303 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
17305 return Py_BuildValue((char *)"");
17307 static PyObject
*_wrap_new_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17308 PyObject
*resultobj
;
17309 wxColourDatabase
*result
;
17310 char *kwnames
[] = {
17314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
17316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17317 result
= (wxColourDatabase
*)new wxColourDatabase();
17319 wxPyEndAllowThreads(__tstate
);
17320 if (PyErr_Occurred()) SWIG_fail
;
17322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
17329 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17330 PyObject
*resultobj
;
17331 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17332 PyObject
* obj0
= 0 ;
17333 char *kwnames
[] = {
17334 (char *) "self", NULL
17337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
17338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17344 wxPyEndAllowThreads(__tstate
);
17345 if (PyErr_Occurred()) SWIG_fail
;
17347 Py_INCREF(Py_None
); resultobj
= Py_None
;
17354 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17355 PyObject
*resultobj
;
17356 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17357 wxString
*arg2
= 0 ;
17359 bool temp2
= False
;
17360 PyObject
* obj0
= 0 ;
17361 PyObject
* obj1
= 0 ;
17362 char *kwnames
[] = {
17363 (char *) "self",(char *) "name", NULL
17366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
17367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17370 arg2
= wxString_in_helper(obj1
);
17371 if (arg2
== NULL
) SWIG_fail
;
17375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17376 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
17378 wxPyEndAllowThreads(__tstate
);
17379 if (PyErr_Occurred()) SWIG_fail
;
17382 wxColour
* resultptr
;
17383 resultptr
= new wxColour((wxColour
&) result
);
17384 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17400 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17401 PyObject
*resultobj
;
17402 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17403 wxColour
*arg2
= 0 ;
17406 PyObject
* obj0
= 0 ;
17407 PyObject
* obj1
= 0 ;
17408 char *kwnames
[] = {
17409 (char *) "self",(char *) "colour", NULL
17412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
17413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17417 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17421 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
17423 wxPyEndAllowThreads(__tstate
);
17424 if (PyErr_Occurred()) SWIG_fail
;
17428 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17430 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17439 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17440 PyObject
*resultobj
;
17441 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17442 wxString
*arg2
= 0 ;
17443 wxColour
*arg3
= 0 ;
17444 bool temp2
= False
;
17446 PyObject
* obj0
= 0 ;
17447 PyObject
* obj1
= 0 ;
17448 PyObject
* obj2
= 0 ;
17449 char *kwnames
[] = {
17450 (char *) "self",(char *) "name",(char *) "colour", NULL
17453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17457 arg2
= wxString_in_helper(obj1
);
17458 if (arg2
== NULL
) SWIG_fail
;
17463 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17467 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
17469 wxPyEndAllowThreads(__tstate
);
17470 if (PyErr_Occurred()) SWIG_fail
;
17472 Py_INCREF(Py_None
); resultobj
= Py_None
;
17487 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17488 PyObject
*resultobj
;
17489 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17490 wxString
*arg2
= 0 ;
17494 bool temp2
= False
;
17495 PyObject
* obj0
= 0 ;
17496 PyObject
* obj1
= 0 ;
17497 PyObject
* obj2
= 0 ;
17498 PyObject
* obj3
= 0 ;
17499 PyObject
* obj4
= 0 ;
17500 char *kwnames
[] = {
17501 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
17504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17508 arg2
= wxString_in_helper(obj1
);
17509 if (arg2
== NULL
) SWIG_fail
;
17512 arg3
= (int) SWIG_AsInt(obj2
);
17513 if (PyErr_Occurred()) SWIG_fail
;
17514 arg4
= (int) SWIG_AsInt(obj3
);
17515 if (PyErr_Occurred()) SWIG_fail
;
17516 arg5
= (int) SWIG_AsInt(obj4
);
17517 if (PyErr_Occurred()) SWIG_fail
;
17519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17520 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17522 wxPyEndAllowThreads(__tstate
);
17523 if (PyErr_Occurred()) SWIG_fail
;
17525 Py_INCREF(Py_None
); resultobj
= Py_None
;
17540 static PyObject
* ColourDatabase_swigregister(PyObject
*self
, PyObject
*args
) {
17542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17543 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
17545 return Py_BuildValue((char *)"");
17547 static PyObject
*_wrap_FontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17548 PyObject
*resultobj
;
17549 wxFontList
*arg1
= (wxFontList
*) 0 ;
17550 wxFont
*arg2
= (wxFont
*) 0 ;
17551 PyObject
* obj0
= 0 ;
17552 PyObject
* obj1
= 0 ;
17553 char *kwnames
[] = {
17554 (char *) "self",(char *) "font", NULL
17557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17560 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17564 (arg1
)->AddFont(arg2
);
17566 wxPyEndAllowThreads(__tstate
);
17567 if (PyErr_Occurred()) SWIG_fail
;
17569 Py_INCREF(Py_None
); resultobj
= Py_None
;
17576 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17577 PyObject
*resultobj
;
17578 wxFontList
*arg1
= (wxFontList
*) 0 ;
17583 bool arg6
= (bool) False
;
17584 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17585 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17586 int arg8
= (int) wxFONTENCODING_DEFAULT
;
17588 bool temp7
= False
;
17589 PyObject
* obj0
= 0 ;
17590 PyObject
* obj1
= 0 ;
17591 PyObject
* obj2
= 0 ;
17592 PyObject
* obj3
= 0 ;
17593 PyObject
* obj4
= 0 ;
17594 PyObject
* obj5
= 0 ;
17595 PyObject
* obj6
= 0 ;
17596 PyObject
* obj7
= 0 ;
17597 char *kwnames
[] = {
17598 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
17601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17604 arg2
= (int) SWIG_AsInt(obj1
);
17605 if (PyErr_Occurred()) SWIG_fail
;
17606 arg3
= (int) SWIG_AsInt(obj2
);
17607 if (PyErr_Occurred()) SWIG_fail
;
17608 arg4
= (int) SWIG_AsInt(obj3
);
17609 if (PyErr_Occurred()) SWIG_fail
;
17610 arg5
= (int) SWIG_AsInt(obj4
);
17611 if (PyErr_Occurred()) SWIG_fail
;
17613 arg6
= (bool) SWIG_AsBool(obj5
);
17614 if (PyErr_Occurred()) SWIG_fail
;
17618 arg7
= wxString_in_helper(obj6
);
17619 if (arg7
== NULL
) SWIG_fail
;
17624 arg8
= (wxFontEncoding
) SWIG_AsInt(obj7
);
17625 if (PyErr_Occurred()) SWIG_fail
;
17628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17629 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
17631 wxPyEndAllowThreads(__tstate
);
17632 if (PyErr_Occurred()) SWIG_fail
;
17634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
17649 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17650 PyObject
*resultobj
;
17651 wxFontList
*arg1
= (wxFontList
*) 0 ;
17652 wxFont
*arg2
= (wxFont
*) 0 ;
17653 PyObject
* obj0
= 0 ;
17654 PyObject
* obj1
= 0 ;
17655 char *kwnames
[] = {
17656 (char *) "self",(char *) "font", NULL
17659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17662 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17666 (arg1
)->RemoveFont(arg2
);
17668 wxPyEndAllowThreads(__tstate
);
17669 if (PyErr_Occurred()) SWIG_fail
;
17671 Py_INCREF(Py_None
); resultobj
= Py_None
;
17678 static PyObject
*_wrap_FontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17679 PyObject
*resultobj
;
17680 wxFontList
*arg1
= (wxFontList
*) 0 ;
17682 PyObject
* obj0
= 0 ;
17683 char *kwnames
[] = {
17684 (char *) "self", NULL
17687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
17688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17692 result
= (int)(arg1
)->GetCount();
17694 wxPyEndAllowThreads(__tstate
);
17695 if (PyErr_Occurred()) SWIG_fail
;
17697 resultobj
= SWIG_FromInt((int)result
);
17704 static PyObject
* FontList_swigregister(PyObject
*self
, PyObject
*args
) {
17706 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17707 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
17709 return Py_BuildValue((char *)"");
17711 static int _wrap_TheFontList_set(PyObject
*_val
) {
17712 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
17717 static PyObject
*_wrap_TheFontList_get() {
17720 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
17725 static int _wrap_ThePenList_set(PyObject
*_val
) {
17726 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
17731 static PyObject
*_wrap_ThePenList_get() {
17734 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
17739 static int _wrap_TheBrushList_set(PyObject
*_val
) {
17740 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
17745 static PyObject
*_wrap_TheBrushList_get() {
17748 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
17753 static int _wrap_TheColourDatabase_set(PyObject
*_val
) {
17754 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
17759 static PyObject
*_wrap_TheColourDatabase_get() {
17762 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
17767 static PyObject
*_wrap_new_Effects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17768 PyObject
*resultobj
;
17770 char *kwnames
[] = {
17774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
17776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17777 result
= (wxEffects
*)new wxEffects();
17779 wxPyEndAllowThreads(__tstate
);
17780 if (PyErr_Occurred()) SWIG_fail
;
17782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
17789 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17790 PyObject
*resultobj
;
17791 wxEffects
*arg1
= (wxEffects
*) 0 ;
17793 PyObject
* obj0
= 0 ;
17794 char *kwnames
[] = {
17795 (char *) "self", NULL
17798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
17799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17803 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
17805 wxPyEndAllowThreads(__tstate
);
17806 if (PyErr_Occurred()) SWIG_fail
;
17809 wxColour
* resultptr
;
17810 resultptr
= new wxColour((wxColour
&) result
);
17811 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17819 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17820 PyObject
*resultobj
;
17821 wxEffects
*arg1
= (wxEffects
*) 0 ;
17823 PyObject
* obj0
= 0 ;
17824 char *kwnames
[] = {
17825 (char *) "self", NULL
17828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
17829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17833 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
17835 wxPyEndAllowThreads(__tstate
);
17836 if (PyErr_Occurred()) SWIG_fail
;
17839 wxColour
* resultptr
;
17840 resultptr
= new wxColour((wxColour
&) result
);
17841 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17849 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17850 PyObject
*resultobj
;
17851 wxEffects
*arg1
= (wxEffects
*) 0 ;
17853 PyObject
* obj0
= 0 ;
17854 char *kwnames
[] = {
17855 (char *) "self", NULL
17858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
17859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17863 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
17865 wxPyEndAllowThreads(__tstate
);
17866 if (PyErr_Occurred()) SWIG_fail
;
17869 wxColour
* resultptr
;
17870 resultptr
= new wxColour((wxColour
&) result
);
17871 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17879 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17880 PyObject
*resultobj
;
17881 wxEffects
*arg1
= (wxEffects
*) 0 ;
17883 PyObject
* obj0
= 0 ;
17884 char *kwnames
[] = {
17885 (char *) "self", NULL
17888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
17889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17893 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
17895 wxPyEndAllowThreads(__tstate
);
17896 if (PyErr_Occurred()) SWIG_fail
;
17899 wxColour
* resultptr
;
17900 resultptr
= new wxColour((wxColour
&) result
);
17901 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17909 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17910 PyObject
*resultobj
;
17911 wxEffects
*arg1
= (wxEffects
*) 0 ;
17913 PyObject
* obj0
= 0 ;
17914 char *kwnames
[] = {
17915 (char *) "self", NULL
17918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
17919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17923 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
17925 wxPyEndAllowThreads(__tstate
);
17926 if (PyErr_Occurred()) SWIG_fail
;
17929 wxColour
* resultptr
;
17930 resultptr
= new wxColour((wxColour
&) result
);
17931 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17939 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17940 PyObject
*resultobj
;
17941 wxEffects
*arg1
= (wxEffects
*) 0 ;
17942 wxColour
*arg2
= 0 ;
17944 PyObject
* obj0
= 0 ;
17945 PyObject
* obj1
= 0 ;
17946 char *kwnames
[] = {
17947 (char *) "self",(char *) "c", NULL
17950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17955 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17959 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
17961 wxPyEndAllowThreads(__tstate
);
17962 if (PyErr_Occurred()) SWIG_fail
;
17964 Py_INCREF(Py_None
); resultobj
= Py_None
;
17971 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17972 PyObject
*resultobj
;
17973 wxEffects
*arg1
= (wxEffects
*) 0 ;
17974 wxColour
*arg2
= 0 ;
17976 PyObject
* obj0
= 0 ;
17977 PyObject
* obj1
= 0 ;
17978 char *kwnames
[] = {
17979 (char *) "self",(char *) "c", NULL
17982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17987 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17991 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
17993 wxPyEndAllowThreads(__tstate
);
17994 if (PyErr_Occurred()) SWIG_fail
;
17996 Py_INCREF(Py_None
); resultobj
= Py_None
;
18003 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18004 PyObject
*resultobj
;
18005 wxEffects
*arg1
= (wxEffects
*) 0 ;
18006 wxColour
*arg2
= 0 ;
18008 PyObject
* obj0
= 0 ;
18009 PyObject
* obj1
= 0 ;
18010 char *kwnames
[] = {
18011 (char *) "self",(char *) "c", NULL
18014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18019 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18023 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
18025 wxPyEndAllowThreads(__tstate
);
18026 if (PyErr_Occurred()) SWIG_fail
;
18028 Py_INCREF(Py_None
); resultobj
= Py_None
;
18035 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18036 PyObject
*resultobj
;
18037 wxEffects
*arg1
= (wxEffects
*) 0 ;
18038 wxColour
*arg2
= 0 ;
18040 PyObject
* obj0
= 0 ;
18041 PyObject
* obj1
= 0 ;
18042 char *kwnames
[] = {
18043 (char *) "self",(char *) "c", NULL
18046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18051 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18055 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
18057 wxPyEndAllowThreads(__tstate
);
18058 if (PyErr_Occurred()) SWIG_fail
;
18060 Py_INCREF(Py_None
); resultobj
= Py_None
;
18067 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18068 PyObject
*resultobj
;
18069 wxEffects
*arg1
= (wxEffects
*) 0 ;
18070 wxColour
*arg2
= 0 ;
18072 PyObject
* obj0
= 0 ;
18073 PyObject
* obj1
= 0 ;
18074 char *kwnames
[] = {
18075 (char *) "self",(char *) "c", NULL
18078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18083 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18087 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
18089 wxPyEndAllowThreads(__tstate
);
18090 if (PyErr_Occurred()) SWIG_fail
;
18092 Py_INCREF(Py_None
); resultobj
= Py_None
;
18099 static PyObject
*_wrap_Effects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18100 PyObject
*resultobj
;
18101 wxEffects
*arg1
= (wxEffects
*) 0 ;
18102 wxColour
*arg2
= 0 ;
18103 wxColour
*arg3
= 0 ;
18104 wxColour
*arg4
= 0 ;
18105 wxColour
*arg5
= 0 ;
18106 wxColour
*arg6
= 0 ;
18112 PyObject
* obj0
= 0 ;
18113 PyObject
* obj1
= 0 ;
18114 PyObject
* obj2
= 0 ;
18115 PyObject
* obj3
= 0 ;
18116 PyObject
* obj4
= 0 ;
18117 PyObject
* obj5
= 0 ;
18118 char *kwnames
[] = {
18119 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
18122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18127 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18131 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18135 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18139 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
18143 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
18146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18147 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
18149 wxPyEndAllowThreads(__tstate
);
18150 if (PyErr_Occurred()) SWIG_fail
;
18152 Py_INCREF(Py_None
); resultobj
= Py_None
;
18159 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18160 PyObject
*resultobj
;
18161 wxEffects
*arg1
= (wxEffects
*) 0 ;
18164 int arg4
= (int) 1 ;
18166 PyObject
* obj0
= 0 ;
18167 PyObject
* obj1
= 0 ;
18168 PyObject
* obj2
= 0 ;
18169 PyObject
* obj3
= 0 ;
18170 char *kwnames
[] = {
18171 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
18174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18177 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18178 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18180 if (arg2
== NULL
) {
18181 PyErr_SetString(PyExc_TypeError
,"null reference");
18186 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
18189 arg4
= (int) SWIG_AsInt(obj3
);
18190 if (PyErr_Occurred()) SWIG_fail
;
18193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18194 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
18196 wxPyEndAllowThreads(__tstate
);
18197 if (PyErr_Occurred()) SWIG_fail
;
18199 Py_INCREF(Py_None
); resultobj
= Py_None
;
18206 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18207 PyObject
*resultobj
;
18208 wxEffects
*arg1
= (wxEffects
*) 0 ;
18211 wxBitmap
*arg4
= 0 ;
18214 PyObject
* obj0
= 0 ;
18215 PyObject
* obj1
= 0 ;
18216 PyObject
* obj2
= 0 ;
18217 PyObject
* obj3
= 0 ;
18218 char *kwnames
[] = {
18219 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
18222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18227 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18229 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
18230 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18232 if (arg3
== NULL
) {
18233 PyErr_SetString(PyExc_TypeError
,"null reference");
18236 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
18237 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18239 if (arg4
== NULL
) {
18240 PyErr_SetString(PyExc_TypeError
,"null reference");
18244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18245 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
18247 wxPyEndAllowThreads(__tstate
);
18248 if (PyErr_Occurred()) SWIG_fail
;
18251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18259 static PyObject
* Effects_swigregister(PyObject
*self
, PyObject
*args
) {
18261 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18262 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
18264 return Py_BuildValue((char *)"");
18266 static PyMethodDef SwigMethods
[] = {
18267 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18268 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18269 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18270 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18271 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
18272 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
},
18273 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18274 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
},
18275 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
},
18276 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18277 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
},
18278 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
},
18279 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
18280 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18281 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
},
18282 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18283 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
},
18284 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18285 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18286 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18287 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
},
18288 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18289 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
},
18290 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18291 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18292 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18293 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18294 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18295 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
},
18296 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18297 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18298 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
18299 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18300 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18301 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18302 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18303 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18304 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
18305 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18306 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18307 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18308 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18309 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18310 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18311 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18312 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18313 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18314 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
},
18315 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18316 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18317 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18318 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18319 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18320 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18321 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18322 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18323 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18324 { (char *)"Brush_MacGetTheme", (PyCFunction
) _wrap_Brush_MacGetTheme
, METH_VARARGS
| METH_KEYWORDS
},
18325 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
},
18326 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
},
18327 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18328 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18329 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18330 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18331 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18332 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18333 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
18334 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18335 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18336 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18337 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18338 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18339 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
},
18340 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
18341 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
18342 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
18343 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18344 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
18345 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
18346 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18347 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18348 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18349 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18350 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
18351 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18352 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18353 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
},
18354 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
},
18355 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
},
18356 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18357 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18358 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
18359 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
18360 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18361 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18362 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18363 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18364 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18365 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18366 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18367 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18368 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18369 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18370 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
},
18371 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18372 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18373 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18374 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18375 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18376 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18377 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18378 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
},
18379 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
18380 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
18381 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18382 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
18383 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
18384 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
18385 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
18386 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
},
18387 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
18388 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
18389 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
},
18390 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18391 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18392 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
},
18393 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
},
18394 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18395 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
},
18396 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
},
18397 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
},
18398 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
},
18399 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
18400 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
18401 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
18402 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
18403 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
18404 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
18405 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
18406 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
18407 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
},
18408 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
18409 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
18410 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
18411 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
18412 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
18413 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
},
18414 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
18415 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
18416 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18417 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18418 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
},
18419 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
18420 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
18421 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
18422 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
18423 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
18424 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18425 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
18426 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18427 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
18428 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
18429 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
18430 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
18431 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
18432 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
},
18433 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18434 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18435 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
18436 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
},
18437 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18438 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18439 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18440 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18441 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18442 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18443 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18444 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18445 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18446 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18447 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18448 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18449 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18450 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18451 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18452 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18453 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
18454 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
18455 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
18456 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
},
18457 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
},
18458 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
},
18459 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
},
18460 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
},
18461 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18462 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18463 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18464 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18465 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
},
18466 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18467 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18468 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18469 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18470 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
18471 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
18472 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18473 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
},
18474 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18475 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18476 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
18477 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
},
18478 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
18479 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18480 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18481 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18482 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
18483 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
18484 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
18485 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
},
18486 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
},
18487 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
},
18488 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
18489 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
},
18490 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
},
18491 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18492 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18493 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18494 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18495 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18496 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18497 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18498 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18499 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18500 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18501 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18502 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
18503 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
18504 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18505 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18506 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18507 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18508 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18509 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18510 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18511 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18512 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18513 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
},
18514 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18515 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
18516 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
18517 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
18518 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18519 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18520 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18521 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18522 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
},
18523 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18524 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18525 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
18526 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18527 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18528 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18529 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18530 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
},
18531 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
18532 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
18533 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
18534 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
18535 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
18536 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
18537 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
},
18538 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18539 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18540 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
},
18541 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
},
18542 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18543 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18544 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18545 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18546 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18547 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18548 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
18549 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
18550 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
18551 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
18552 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
18553 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18554 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
},
18555 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18556 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18557 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
18558 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
18559 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
},
18560 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18561 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
},
18562 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18563 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18564 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
18565 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
18566 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18567 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18568 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
},
18569 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
},
18570 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
},
18571 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18572 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18573 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
18574 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
},
18575 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18576 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
},
18577 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
18578 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
},
18579 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
18580 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
},
18581 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
18582 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
},
18583 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
},
18584 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
},
18585 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
18586 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18587 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
18588 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
},
18589 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18590 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18591 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
},
18592 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18593 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18594 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
},
18595 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
18596 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
},
18597 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
18598 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
},
18599 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
},
18600 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
18601 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
},
18602 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18603 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
},
18604 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
18605 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
},
18606 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
18607 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
},
18608 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
18609 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18610 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18611 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18612 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
18613 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18614 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
18615 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
18616 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
18617 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
18618 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
18619 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
18620 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
18621 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
18622 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
18623 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
18624 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
18625 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
18626 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18627 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18628 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18629 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
18630 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18631 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
18632 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18633 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
18634 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
18635 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18636 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18637 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18638 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
},
18639 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18640 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
18641 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
18642 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
},
18643 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
18644 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
18645 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
18646 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
18647 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
18648 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
18649 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
18650 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
18651 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18652 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18653 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18654 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
18655 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18656 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18657 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18658 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18659 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
18660 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
18661 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18662 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18663 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18664 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18665 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18666 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18667 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18668 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18669 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18670 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18671 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18672 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18673 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18674 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
},
18675 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18676 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18677 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18678 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
},
18679 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
18680 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18681 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18682 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18683 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18684 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18685 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
},
18686 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18687 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
18688 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
18689 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
18690 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
18691 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18692 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
18693 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
18694 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
18695 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
18696 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
18697 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
18698 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
},
18699 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
18700 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
18701 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
18702 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
},
18703 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
},
18704 { (char *)"new_BufferedDCInternalBuffer", _wrap_new_BufferedDCInternalBuffer
, METH_VARARGS
},
18705 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
18706 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
18707 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
},
18708 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
18709 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
},
18710 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
18711 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
18712 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18713 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18714 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
},
18715 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
},
18716 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
},
18717 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
},
18718 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
},
18719 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
},
18720 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
},
18721 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
18722 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
},
18723 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
18724 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18725 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18726 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18727 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18728 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
},
18729 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
18730 { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
18731 { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18732 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
},
18733 { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18734 { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18735 { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18736 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
},
18737 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
18738 { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
},
18739 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
},
18740 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
18741 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
},
18742 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18743 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18744 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
18745 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
18746 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
18747 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
18748 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
18749 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
18750 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
18751 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
18752 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18753 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
},
18754 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
18755 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
18756 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
18757 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18758 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
},
18759 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
18760 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
18761 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
18762 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18763 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
},
18764 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18765 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18766 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
},
18767 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
18768 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
18769 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
18770 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
},
18771 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
18772 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
18773 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
18774 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18775 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
},
18776 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
},
18777 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
18778 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
18779 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
18780 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
18781 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
18782 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
18783 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
18784 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
18785 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
18786 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
18787 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
},
18788 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
18789 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18790 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
},
18795 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
18797 static void *_p_wxControlTo_p_wxWindow(void *x
) {
18798 return (void *)((wxWindow
*) ((wxControl
*) x
));
18800 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
18801 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
18803 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
18804 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
18806 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
18807 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
18809 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
18810 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18812 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
18813 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
18815 static void *_p_wxPenTo_p_wxObject(void *x
) {
18816 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
18818 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
18819 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
18821 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
18822 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
18824 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
18825 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
18827 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
18828 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
18830 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
18831 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
18833 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
18834 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
18836 static void *_p_wxIconTo_p_wxObject(void *x
) {
18837 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
18839 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
18840 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
18842 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
18843 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
18845 static void *_p_wxSizerTo_p_wxObject(void *x
) {
18846 return (void *)((wxObject
*) ((wxSizer
*) x
));
18848 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
18849 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
18851 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
18852 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18854 static void *_p_wxPenListTo_p_wxObject(void *x
) {
18855 return (void *)((wxObject
*) ((wxPenList
*) x
));
18857 static void *_p_wxEventTo_p_wxObject(void *x
) {
18858 return (void *)((wxObject
*) ((wxEvent
*) x
));
18860 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
18861 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
18863 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
18864 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
18866 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
18867 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
18869 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
18870 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
18872 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
18873 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
18875 static void *_p_wxDCTo_p_wxObject(void *x
) {
18876 return (void *)((wxObject
*) ((wxDC
*) x
));
18878 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
18879 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18881 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
18882 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18884 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
18885 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18887 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
18888 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18890 static void *_p_wxControlTo_p_wxObject(void *x
) {
18891 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
18893 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
18894 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
18896 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
18897 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
18899 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
18900 return (void *)((wxObject
*) ((wxFSFile
*) x
));
18902 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
18903 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
18905 static void *_p_wxRegionTo_p_wxObject(void *x
) {
18906 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
18908 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
18909 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
18911 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
18912 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
18914 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
18915 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
18917 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
18918 return (void *)((wxObject
*) ((wxEffects
*) x
));
18920 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
18921 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
18923 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
18924 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18926 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
18927 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
18929 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
18930 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
18932 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
18933 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
18935 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
18936 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
18938 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
18939 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18941 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
18942 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18944 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
18945 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
18947 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
18948 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
18950 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
18951 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
18953 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
18954 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
18956 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
18957 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
18959 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
18960 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
18962 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
18963 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
18965 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
18966 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
18968 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
18969 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
18971 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
18972 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
18974 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
18975 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
18977 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
18978 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
18980 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
18981 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
18983 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
18984 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
18986 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
18987 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
18989 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
18990 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
18992 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
18993 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
18995 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
18996 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
18998 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
18999 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19001 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
19002 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
19004 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
19005 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
19007 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
19008 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
19010 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
19011 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
19013 static void *_p_wxImageTo_p_wxObject(void *x
) {
19014 return (void *)((wxObject
*) ((wxImage
*) x
));
19016 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
19017 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
19019 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
19020 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
19022 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
19023 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
19025 static void *_p_wxImageListTo_p_wxObject(void *x
) {
19026 return (void *)((wxObject
*) ((wxImageList
*) x
));
19028 static void *_p_wxCursorTo_p_wxObject(void *x
) {
19029 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
19031 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
19032 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
19034 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
19035 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
19037 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
19038 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19040 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
19041 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
19043 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
19044 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
19046 static void *_p_wxWindowTo_p_wxObject(void *x
) {
19047 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
19049 static void *_p_wxMenuTo_p_wxObject(void *x
) {
19050 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
19052 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
19053 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
19055 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
19056 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
19058 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
19059 return (void *)((wxObject
*) ((wxBrushList
*) x
));
19061 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
19062 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
19064 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
19065 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
19067 static void *_p_wxMaskTo_p_wxObject(void *x
) {
19068 return (void *)((wxObject
*) ((wxMask
*) x
));
19070 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
19071 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19073 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
19074 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
19076 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
19077 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
19079 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
19080 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
19082 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
19083 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
19085 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
19086 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
19088 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
19089 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19091 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
19092 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
19094 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
19095 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
19097 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
19098 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
19100 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
19101 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19103 static void *_p_wxFontTo_p_wxObject(void *x
) {
19104 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
19106 static void *_p_wxBrushTo_p_wxObject(void *x
) {
19107 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
19109 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
19110 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
19112 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
19113 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19115 static void *_p_wxColourTo_p_wxObject(void *x
) {
19116 return (void *)((wxObject
*) ((wxColour
*) x
));
19118 static void *_p_wxFontListTo_p_wxObject(void *x
) {
19119 return (void *)((wxObject
*) ((wxFontList
*) x
));
19121 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
19122 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
19124 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
19125 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
19127 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
19128 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19130 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
19131 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
19133 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
19134 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
19136 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
19137 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
19139 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
19140 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
19142 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
19143 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
19145 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
19146 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
19148 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
19149 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19151 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
19152 return (void *)((wxDC
*) ((wxClientDC
*) x
));
19154 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
19155 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
19157 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
19158 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
19160 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
19161 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
19163 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
19164 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
19166 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
19167 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
19169 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
19170 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
19172 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
19173 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
19175 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
19176 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
19178 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
19179 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
19181 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
19182 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
19184 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
19185 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
19187 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}};
19188 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}};
19189 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}};
19190 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}};
19191 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}};
19192 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}};
19193 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}};
19194 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}};
19195 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}};
19196 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}};
19197 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}};
19198 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}};
19199 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}};
19200 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}};
19201 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}};
19202 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}};
19203 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}};
19204 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}};
19205 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}};
19206 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}};
19207 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}};
19208 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}};
19209 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}};
19210 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}};
19211 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}};
19212 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}};
19213 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}};
19214 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}};
19215 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}};
19216 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}};
19217 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}};
19218 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}};
19219 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}};
19220 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}};
19221 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}};
19222 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}};
19223 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}};
19224 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}};
19225 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}};
19226 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}};
19227 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}};
19228 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}};
19229 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}};
19230 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}};
19231 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}};
19232 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}};
19233 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}};
19234 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}};
19235 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}};
19236 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}};
19237 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}};
19238 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}};
19239 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}};
19240 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}};
19241 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}};
19243 static swig_type_info
*swig_types_initial
[] = {
19244 _swigt__p_wxPostScriptDC
,
19246 _swigt__p_wxColour
,
19248 _swigt__p_wxMirrorDC
,
19250 _swigt__p_wxPyFontEnumerator
,
19252 _swigt__p_wxIconLocation
,
19254 _swigt__p_wxMetaFileDC
,
19258 _swigt__p_wxWindow
,
19260 _swigt__p_wxMemoryDC
,
19261 _swigt__p_wxFontMapper
,
19262 _swigt__p_wxEffects
,
19263 _swigt__p_wxNativeEncodingInfo
,
19264 _swigt__p_wxPalette
,
19265 _swigt__p_wxBitmap
,
19266 _swigt__p_wxObject
,
19267 _swigt__p_wxRegionIterator
,
19269 _swigt__p_wxString
,
19270 _swigt__p_wxPrinterDC
,
19271 _swigt__p_wxIconBundle
,
19274 _swigt__p_wxScreenDC
,
19275 _swigt__p_wxCursor
,
19276 _swigt__p_wxClientDC
,
19277 _swigt__p_wxBufferedDC
,
19278 _swigt__p_wxImageList
,
19279 _swigt__p_unsigned_char
,
19280 _swigt__p_wxGDIObject
,
19282 _swigt__p_wxLocale
,
19283 _swigt__p_wxRegion
,
19284 _swigt__p_wxLanguageInfo
,
19285 _swigt__p_wxConfigBase
,
19286 _swigt__p_wxWindowDC
,
19287 _swigt__p_wxPrintData
,
19288 _swigt__p_wxBrushList
,
19289 _swigt__p_wxFontList
,
19291 _swigt__p_wxBufferedPaintDC
,
19292 _swigt__p_wxPaintDC
,
19293 _swigt__p_wxPenList
,
19295 _swigt__p_wxMetaFile
,
19296 _swigt__p_wxNativeFontInfo
,
19297 _swigt__p_wxEncodingConverter
,
19298 _swigt__p_wxColourDatabase
,
19303 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19305 static swig_const_info swig_const_table
[] = {
19315 SWIGEXPORT(void) SWIG_init(void) {
19316 static PyObject
*SWIG_globals
= 0;
19317 static int typeinit
= 0;
19320 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
19321 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
19322 d
= PyModule_GetDict(m
);
19325 for (i
= 0; swig_types_initial
[i
]; i
++) {
19326 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
19330 SWIG_InstallConstants(d
,swig_const_table
);
19332 PyDict_SetItemString(d
,"OutRegion", SWIG_FromInt((int)wxOutRegion
));
19333 PyDict_SetItemString(d
,"PartRegion", SWIG_FromInt((int)wxPartRegion
));
19334 PyDict_SetItemString(d
,"InRegion", SWIG_FromInt((int)wxInRegion
));
19335 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_FromInt((int)wxFONTFAMILY_DEFAULT
));
19336 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_FromInt((int)wxFONTFAMILY_DECORATIVE
));
19337 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_FromInt((int)wxFONTFAMILY_ROMAN
));
19338 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_FromInt((int)wxFONTFAMILY_SCRIPT
));
19339 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_FromInt((int)wxFONTFAMILY_SWISS
));
19340 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_FromInt((int)wxFONTFAMILY_MODERN
));
19341 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_FromInt((int)wxFONTFAMILY_TELETYPE
));
19342 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_FromInt((int)wxFONTFAMILY_MAX
));
19343 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_FromInt((int)wxFONTFAMILY_UNKNOWN
));
19344 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_FromInt((int)wxFONTSTYLE_NORMAL
));
19345 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_FromInt((int)wxFONTSTYLE_ITALIC
));
19346 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_FromInt((int)wxFONTSTYLE_SLANT
));
19347 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_FromInt((int)wxFONTSTYLE_MAX
));
19348 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_FromInt((int)wxFONTWEIGHT_NORMAL
));
19349 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_FromInt((int)wxFONTWEIGHT_LIGHT
));
19350 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_FromInt((int)wxFONTWEIGHT_BOLD
));
19351 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_FromInt((int)wxFONTWEIGHT_MAX
));
19352 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_FromInt((int)wxFONTFLAG_DEFAULT
));
19353 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_FromInt((int)wxFONTFLAG_ITALIC
));
19354 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_FromInt((int)wxFONTFLAG_SLANT
));
19355 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_FromInt((int)wxFONTFLAG_LIGHT
));
19356 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_FromInt((int)wxFONTFLAG_BOLD
));
19357 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_ANTIALIASED
));
19358 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_NOT_ANTIALIASED
));
19359 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_FromInt((int)wxFONTFLAG_UNDERLINED
));
19360 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_FromInt((int)wxFONTFLAG_STRIKETHROUGH
));
19361 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_FromInt((int)wxFONTFLAG_MASK
));
19362 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_FromInt((int)wxFONTENCODING_SYSTEM
));
19363 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_FromInt((int)wxFONTENCODING_DEFAULT
));
19364 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_FromInt((int)wxFONTENCODING_ISO8859_1
));
19365 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_FromInt((int)wxFONTENCODING_ISO8859_2
));
19366 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_FromInt((int)wxFONTENCODING_ISO8859_3
));
19367 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_FromInt((int)wxFONTENCODING_ISO8859_4
));
19368 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_FromInt((int)wxFONTENCODING_ISO8859_5
));
19369 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_FromInt((int)wxFONTENCODING_ISO8859_6
));
19370 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_FromInt((int)wxFONTENCODING_ISO8859_7
));
19371 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_FromInt((int)wxFONTENCODING_ISO8859_8
));
19372 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_FromInt((int)wxFONTENCODING_ISO8859_9
));
19373 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_FromInt((int)wxFONTENCODING_ISO8859_10
));
19374 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_FromInt((int)wxFONTENCODING_ISO8859_11
));
19375 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_FromInt((int)wxFONTENCODING_ISO8859_12
));
19376 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_FromInt((int)wxFONTENCODING_ISO8859_13
));
19377 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_FromInt((int)wxFONTENCODING_ISO8859_14
));
19378 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_FromInt((int)wxFONTENCODING_ISO8859_15
));
19379 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_FromInt((int)wxFONTENCODING_ISO8859_MAX
));
19380 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_FromInt((int)wxFONTENCODING_KOI8
));
19381 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_FromInt((int)wxFONTENCODING_KOI8_U
));
19382 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_FromInt((int)wxFONTENCODING_ALTERNATIVE
));
19383 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_FromInt((int)wxFONTENCODING_BULGARIAN
));
19384 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_FromInt((int)wxFONTENCODING_CP437
));
19385 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_FromInt((int)wxFONTENCODING_CP850
));
19386 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_FromInt((int)wxFONTENCODING_CP852
));
19387 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_FromInt((int)wxFONTENCODING_CP855
));
19388 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_FromInt((int)wxFONTENCODING_CP866
));
19389 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_FromInt((int)wxFONTENCODING_CP874
));
19390 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_FromInt((int)wxFONTENCODING_CP932
));
19391 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_FromInt((int)wxFONTENCODING_CP936
));
19392 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_FromInt((int)wxFONTENCODING_CP949
));
19393 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_FromInt((int)wxFONTENCODING_CP950
));
19394 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_FromInt((int)wxFONTENCODING_CP1250
));
19395 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_FromInt((int)wxFONTENCODING_CP1251
));
19396 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_FromInt((int)wxFONTENCODING_CP1252
));
19397 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_FromInt((int)wxFONTENCODING_CP1253
));
19398 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_FromInt((int)wxFONTENCODING_CP1254
));
19399 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_FromInt((int)wxFONTENCODING_CP1255
));
19400 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_FromInt((int)wxFONTENCODING_CP1256
));
19401 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_FromInt((int)wxFONTENCODING_CP1257
));
19402 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_FromInt((int)wxFONTENCODING_CP12_MAX
));
19403 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_FromInt((int)wxFONTENCODING_UTF7
));
19404 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_FromInt((int)wxFONTENCODING_UTF8
));
19405 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_FromInt((int)wxFONTENCODING_EUC_JP
));
19406 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_FromInt((int)wxFONTENCODING_UTF16BE
));
19407 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_FromInt((int)wxFONTENCODING_UTF16LE
));
19408 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_FromInt((int)wxFONTENCODING_UTF32BE
));
19409 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_FromInt((int)wxFONTENCODING_UTF32LE
));
19410 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_FromInt((int)wxFONTENCODING_MACROMAN
));
19411 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_FromInt((int)wxFONTENCODING_MACJAPANESE
));
19412 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_FromInt((int)wxFONTENCODING_MACCHINESETRAD
));
19413 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_FromInt((int)wxFONTENCODING_MACKOREAN
));
19414 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_FromInt((int)wxFONTENCODING_MACARABIC
));
19415 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_FromInt((int)wxFONTENCODING_MACHEBREW
));
19416 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_FromInt((int)wxFONTENCODING_MACGREEK
));
19417 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_FromInt((int)wxFONTENCODING_MACCYRILLIC
));
19418 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_FromInt((int)wxFONTENCODING_MACDEVANAGARI
));
19419 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_FromInt((int)wxFONTENCODING_MACGURMUKHI
));
19420 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_FromInt((int)wxFONTENCODING_MACGUJARATI
));
19421 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_FromInt((int)wxFONTENCODING_MACORIYA
));
19422 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_FromInt((int)wxFONTENCODING_MACBENGALI
));
19423 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_FromInt((int)wxFONTENCODING_MACTAMIL
));
19424 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_FromInt((int)wxFONTENCODING_MACTELUGU
));
19425 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_FromInt((int)wxFONTENCODING_MACKANNADA
));
19426 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_FromInt((int)wxFONTENCODING_MACMALAJALAM
));
19427 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_FromInt((int)wxFONTENCODING_MACSINHALESE
));
19428 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_FromInt((int)wxFONTENCODING_MACBURMESE
));
19429 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_FromInt((int)wxFONTENCODING_MACKHMER
));
19430 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_FromInt((int)wxFONTENCODING_MACTHAI
));
19431 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_FromInt((int)wxFONTENCODING_MACLAOTIAN
));
19432 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_FromInt((int)wxFONTENCODING_MACGEORGIAN
));
19433 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_FromInt((int)wxFONTENCODING_MACARMENIAN
));
19434 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_FromInt((int)wxFONTENCODING_MACCHINESESIMP
));
19435 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_FromInt((int)wxFONTENCODING_MACTIBETAN
));
19436 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_FromInt((int)wxFONTENCODING_MACMONGOLIAN
));
19437 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_FromInt((int)wxFONTENCODING_MACETHIOPIC
));
19438 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_FromInt((int)wxFONTENCODING_MACCENTRALEUR
));
19439 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_FromInt((int)wxFONTENCODING_MACVIATNAMESE
));
19440 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_FromInt((int)wxFONTENCODING_MACARABICEXT
));
19441 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_FromInt((int)wxFONTENCODING_MACSYMBOL
));
19442 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_FromInt((int)wxFONTENCODING_MACDINGBATS
));
19443 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_FromInt((int)wxFONTENCODING_MACTURKISH
));
19444 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_FromInt((int)wxFONTENCODING_MACCROATIAN
));
19445 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_FromInt((int)wxFONTENCODING_MACICELANDIC
));
19446 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_FromInt((int)wxFONTENCODING_MACROMANIAN
));
19447 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_FromInt((int)wxFONTENCODING_MACCELTIC
));
19448 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_FromInt((int)wxFONTENCODING_MACGAELIC
));
19449 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_FromInt((int)wxFONTENCODING_MACKEYBOARD
));
19450 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_FromInt((int)wxFONTENCODING_MACMIN
));
19451 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_FromInt((int)wxFONTENCODING_MACMAX
));
19452 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_FromInt((int)wxFONTENCODING_MAX
));
19453 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_FromInt((int)wxFONTENCODING_UTF16
));
19454 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_FromInt((int)wxFONTENCODING_UTF32
));
19455 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_FromInt((int)wxFONTENCODING_UNICODE
));
19456 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_FromInt((int)wxFONTENCODING_GB2312
));
19457 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_FromInt((int)wxFONTENCODING_BIG5
));
19458 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_FromInt((int)wxFONTENCODING_SHIFT_JIS
));
19460 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
19462 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_FromInt((int)wxLANGUAGE_DEFAULT
));
19463 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_FromInt((int)wxLANGUAGE_UNKNOWN
));
19464 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_FromInt((int)wxLANGUAGE_ABKHAZIAN
));
19465 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_FromInt((int)wxLANGUAGE_AFAR
));
19466 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_FromInt((int)wxLANGUAGE_AFRIKAANS
));
19467 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_FromInt((int)wxLANGUAGE_ALBANIAN
));
19468 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_FromInt((int)wxLANGUAGE_AMHARIC
));
19469 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_FromInt((int)wxLANGUAGE_ARABIC
));
19470 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_ALGERIA
));
19471 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_BAHRAIN
));
19472 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_EGYPT
));
19473 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_FromInt((int)wxLANGUAGE_ARABIC_IRAQ
));
19474 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_JORDAN
));
19475 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_KUWAIT
));
19476 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LEBANON
));
19477 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LIBYA
));
19478 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_FromInt((int)wxLANGUAGE_ARABIC_MOROCCO
));
19479 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_OMAN
));
19480 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_FromInt((int)wxLANGUAGE_ARABIC_QATAR
));
19481 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
19482 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SUDAN
));
19483 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SYRIA
));
19484 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_TUNISIA
));
19485 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_FromInt((int)wxLANGUAGE_ARABIC_UAE
));
19486 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_YEMEN
));
19487 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_FromInt((int)wxLANGUAGE_ARMENIAN
));
19488 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_FromInt((int)wxLANGUAGE_ASSAMESE
));
19489 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_FromInt((int)wxLANGUAGE_AYMARA
));
19490 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_FromInt((int)wxLANGUAGE_AZERI
));
19491 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_AZERI_CYRILLIC
));
19492 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_FromInt((int)wxLANGUAGE_AZERI_LATIN
));
19493 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_FromInt((int)wxLANGUAGE_BASHKIR
));
19494 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_FromInt((int)wxLANGUAGE_BASQUE
));
19495 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_FromInt((int)wxLANGUAGE_BELARUSIAN
));
19496 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_FromInt((int)wxLANGUAGE_BENGALI
));
19497 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_FromInt((int)wxLANGUAGE_BHUTANI
));
19498 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_FromInt((int)wxLANGUAGE_BIHARI
));
19499 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_FromInt((int)wxLANGUAGE_BISLAMA
));
19500 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_FromInt((int)wxLANGUAGE_BRETON
));
19501 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_FromInt((int)wxLANGUAGE_BULGARIAN
));
19502 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_FromInt((int)wxLANGUAGE_BURMESE
));
19503 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_FromInt((int)wxLANGUAGE_CAMBODIAN
));
19504 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_FromInt((int)wxLANGUAGE_CATALAN
));
19505 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_FromInt((int)wxLANGUAGE_CHINESE
));
19506 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
19507 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
19508 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_FromInt((int)wxLANGUAGE_CHINESE_HONGKONG
));
19509 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_FromInt((int)wxLANGUAGE_CHINESE_MACAU
));
19510 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SINGAPORE
));
19511 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TAIWAN
));
19512 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_FromInt((int)wxLANGUAGE_CORSICAN
));
19513 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_CROATIAN
));
19514 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_FromInt((int)wxLANGUAGE_CZECH
));
19515 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_FromInt((int)wxLANGUAGE_DANISH
));
19516 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_FromInt((int)wxLANGUAGE_DUTCH
));
19517 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_DUTCH_BELGIAN
));
19518 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_FromInt((int)wxLANGUAGE_ENGLISH
));
19519 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_UK
));
19520 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_US
));
19521 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
19522 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BELIZE
));
19523 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
19524 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CANADA
));
19525 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
19526 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_DENMARK
));
19527 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_EIRE
));
19528 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_JAMAICA
));
19529 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
19530 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
19531 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
19532 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
19533 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
19534 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_FromInt((int)wxLANGUAGE_ESPERANTO
));
19535 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_FromInt((int)wxLANGUAGE_ESTONIAN
));
19536 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_FromInt((int)wxLANGUAGE_FAEROESE
));
19537 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_FromInt((int)wxLANGUAGE_FARSI
));
19538 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_FromInt((int)wxLANGUAGE_FIJI
));
19539 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_FromInt((int)wxLANGUAGE_FINNISH
));
19540 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_FromInt((int)wxLANGUAGE_FRENCH
));
19541 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_BELGIAN
));
19542 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_CANADIAN
));
19543 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
19544 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_FromInt((int)wxLANGUAGE_FRENCH_MONACO
));
19545 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_FromInt((int)wxLANGUAGE_FRENCH_SWISS
));
19546 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_FromInt((int)wxLANGUAGE_FRISIAN
));
19547 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_FromInt((int)wxLANGUAGE_GALICIAN
));
19548 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_FromInt((int)wxLANGUAGE_GEORGIAN
));
19549 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN
));
19550 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
19551 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_FromInt((int)wxLANGUAGE_GERMAN_BELGIUM
));
19552 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
19553 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
19554 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_GERMAN_SWISS
));
19555 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_FromInt((int)wxLANGUAGE_GREEK
));
19556 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_FromInt((int)wxLANGUAGE_GREENLANDIC
));
19557 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_FromInt((int)wxLANGUAGE_GUARANI
));
19558 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_FromInt((int)wxLANGUAGE_GUJARATI
));
19559 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_FromInt((int)wxLANGUAGE_HAUSA
));
19560 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_FromInt((int)wxLANGUAGE_HEBREW
));
19561 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_FromInt((int)wxLANGUAGE_HINDI
));
19562 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_FromInt((int)wxLANGUAGE_HUNGARIAN
));
19563 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_FromInt((int)wxLANGUAGE_ICELANDIC
));
19564 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_FromInt((int)wxLANGUAGE_INDONESIAN
));
19565 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUA
));
19566 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUE
));
19567 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_FromInt((int)wxLANGUAGE_INUKTITUT
));
19568 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_FromInt((int)wxLANGUAGE_INUPIAK
));
19569 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_FromInt((int)wxLANGUAGE_IRISH
));
19570 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_FromInt((int)wxLANGUAGE_ITALIAN
));
19571 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_ITALIAN_SWISS
));
19572 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_FromInt((int)wxLANGUAGE_JAPANESE
));
19573 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_FromInt((int)wxLANGUAGE_JAVANESE
));
19574 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_FromInt((int)wxLANGUAGE_KANNADA
));
19575 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI
));
19576 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI_INDIA
));
19577 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_FromInt((int)wxLANGUAGE_KAZAKH
));
19578 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_FromInt((int)wxLANGUAGE_KERNEWEK
));
19579 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_FromInt((int)wxLANGUAGE_KINYARWANDA
));
19580 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_FromInt((int)wxLANGUAGE_KIRGHIZ
));
19581 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_FromInt((int)wxLANGUAGE_KIRUNDI
));
19582 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_FromInt((int)wxLANGUAGE_KONKANI
));
19583 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_FromInt((int)wxLANGUAGE_KOREAN
));
19584 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_FromInt((int)wxLANGUAGE_KURDISH
));
19585 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_FromInt((int)wxLANGUAGE_LAOTHIAN
));
19586 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_FromInt((int)wxLANGUAGE_LATIN
));
19587 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_FromInt((int)wxLANGUAGE_LATVIAN
));
19588 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_FromInt((int)wxLANGUAGE_LINGALA
));
19589 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_FromInt((int)wxLANGUAGE_LITHUANIAN
));
19590 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_FromInt((int)wxLANGUAGE_MACEDONIAN
));
19591 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_FromInt((int)wxLANGUAGE_MALAGASY
));
19592 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_FromInt((int)wxLANGUAGE_MALAY
));
19593 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_FromInt((int)wxLANGUAGE_MALAYALAM
));
19594 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_FromInt((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
19595 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_FromInt((int)wxLANGUAGE_MALAY_MALAYSIA
));
19596 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_FromInt((int)wxLANGUAGE_MALTESE
));
19597 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_FromInt((int)wxLANGUAGE_MANIPURI
));
19598 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_FromInt((int)wxLANGUAGE_MAORI
));
19599 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_FromInt((int)wxLANGUAGE_MARATHI
));
19600 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_FromInt((int)wxLANGUAGE_MOLDAVIAN
));
19601 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_FromInt((int)wxLANGUAGE_MONGOLIAN
));
19602 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_FromInt((int)wxLANGUAGE_NAURU
));
19603 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_FromInt((int)wxLANGUAGE_NEPALI
));
19604 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_FromInt((int)wxLANGUAGE_NEPALI_INDIA
));
19605 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
19606 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
19607 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_FromInt((int)wxLANGUAGE_OCCITAN
));
19608 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_FromInt((int)wxLANGUAGE_ORIYA
));
19609 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_FromInt((int)wxLANGUAGE_OROMO
));
19610 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_FromInt((int)wxLANGUAGE_PASHTO
));
19611 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_FromInt((int)wxLANGUAGE_POLISH
));
19612 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE
));
19613 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
19614 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_FromInt((int)wxLANGUAGE_PUNJABI
));
19615 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_FromInt((int)wxLANGUAGE_QUECHUA
));
19616 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_FromInt((int)wxLANGUAGE_RHAETO_ROMANCE
));
19617 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_FromInt((int)wxLANGUAGE_ROMANIAN
));
19618 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN
));
19619 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
19620 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_FromInt((int)wxLANGUAGE_SAMOAN
));
19621 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_FromInt((int)wxLANGUAGE_SANGHO
));
19622 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_FromInt((int)wxLANGUAGE_SANSKRIT
));
19623 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_FromInt((int)wxLANGUAGE_SCOTS_GAELIC
));
19624 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN
));
19625 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
19626 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_LATIN
));
19627 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_SERBO_CROATIAN
));
19628 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_FromInt((int)wxLANGUAGE_SESOTHO
));
19629 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_FromInt((int)wxLANGUAGE_SETSWANA
));
19630 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_FromInt((int)wxLANGUAGE_SHONA
));
19631 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_FromInt((int)wxLANGUAGE_SINDHI
));
19632 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_FromInt((int)wxLANGUAGE_SINHALESE
));
19633 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_FromInt((int)wxLANGUAGE_SISWATI
));
19634 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_FromInt((int)wxLANGUAGE_SLOVAK
));
19635 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_FromInt((int)wxLANGUAGE_SLOVENIAN
));
19636 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_FromInt((int)wxLANGUAGE_SOMALI
));
19637 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_FromInt((int)wxLANGUAGE_SPANISH
));
19638 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ARGENTINA
));
19639 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_BOLIVIA
));
19640 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_FromInt((int)wxLANGUAGE_SPANISH_CHILE
));
19641 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COLOMBIA
));
19642 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
19643 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_FromInt((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
19644 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ECUADOR
));
19645 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
19646 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_GUATEMALA
));
19647 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_FromInt((int)wxLANGUAGE_SPANISH_HONDURAS
));
19648 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MEXICAN
));
19649 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MODERN
));
19650 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_NICARAGUA
));
19651 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PANAMA
));
19652 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PARAGUAY
));
19653 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PERU
));
19654 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
19655 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_URUGUAY
));
19656 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_FromInt((int)wxLANGUAGE_SPANISH_US
));
19657 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_VENEZUELA
));
19658 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_FromInt((int)wxLANGUAGE_SUNDANESE
));
19659 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_FromInt((int)wxLANGUAGE_SWAHILI
));
19660 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_FromInt((int)wxLANGUAGE_SWEDISH
));
19661 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_FromInt((int)wxLANGUAGE_SWEDISH_FINLAND
));
19662 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_FromInt((int)wxLANGUAGE_TAGALOG
));
19663 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_FromInt((int)wxLANGUAGE_TAJIK
));
19664 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_FromInt((int)wxLANGUAGE_TAMIL
));
19665 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_FromInt((int)wxLANGUAGE_TATAR
));
19666 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_FromInt((int)wxLANGUAGE_TELUGU
));
19667 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_FromInt((int)wxLANGUAGE_THAI
));
19668 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_FromInt((int)wxLANGUAGE_TIBETAN
));
19669 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_FromInt((int)wxLANGUAGE_TIGRINYA
));
19670 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_FromInt((int)wxLANGUAGE_TONGA
));
19671 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_FromInt((int)wxLANGUAGE_TSONGA
));
19672 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_FromInt((int)wxLANGUAGE_TURKISH
));
19673 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_FromInt((int)wxLANGUAGE_TURKMEN
));
19674 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_FromInt((int)wxLANGUAGE_TWI
));
19675 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_FromInt((int)wxLANGUAGE_UIGHUR
));
19676 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_FromInt((int)wxLANGUAGE_UKRAINIAN
));
19677 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_FromInt((int)wxLANGUAGE_URDU
));
19678 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_FromInt((int)wxLANGUAGE_URDU_INDIA
));
19679 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_FromInt((int)wxLANGUAGE_URDU_PAKISTAN
));
19680 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_FromInt((int)wxLANGUAGE_UZBEK
));
19681 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_UZBEK_CYRILLIC
));
19682 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_FromInt((int)wxLANGUAGE_UZBEK_LATIN
));
19683 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_FromInt((int)wxLANGUAGE_VIETNAMESE
));
19684 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_FromInt((int)wxLANGUAGE_VOLAPUK
));
19685 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_FromInt((int)wxLANGUAGE_WELSH
));
19686 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_FromInt((int)wxLANGUAGE_WOLOF
));
19687 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_FromInt((int)wxLANGUAGE_XHOSA
));
19688 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_FromInt((int)wxLANGUAGE_YIDDISH
));
19689 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_FromInt((int)wxLANGUAGE_YORUBA
));
19690 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_FromInt((int)wxLANGUAGE_ZHUANG
));
19691 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_FromInt((int)wxLANGUAGE_ZULU
));
19692 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_FromInt((int)wxLANGUAGE_USER_DEFINED
));
19693 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_FromInt((int)wxLOCALE_CAT_NUMBER
));
19694 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_FromInt((int)wxLOCALE_CAT_DATE
));
19695 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_FromInt((int)wxLOCALE_CAT_MONEY
));
19696 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_FromInt((int)wxLOCALE_CAT_MAX
));
19697 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_FromInt((int)wxLOCALE_THOUSANDS_SEP
));
19698 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_FromInt((int)wxLOCALE_DECIMAL_POINT
));
19699 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_FromInt((int)wxLOCALE_LOAD_DEFAULT
));
19700 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_FromInt((int)wxLOCALE_CONV_ENCODING
));
19701 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_FromInt((int)wxCONVERT_STRICT
));
19702 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_FromInt((int)wxCONVERT_SUBSTITUTE
));
19703 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_FromInt((int)wxPLATFORM_CURRENT
));
19704 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_FromInt((int)wxPLATFORM_UNIX
));
19705 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_FromInt((int)wxPLATFORM_WINDOWS
));
19706 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_FromInt((int)wxPLATFORM_OS2
));
19707 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_FromInt((int)wxPLATFORM_MAC
));
19708 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_FromInt((int)wxIMAGELIST_DRAW_NORMAL
));
19709 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_FromInt((int)wxIMAGELIST_DRAW_TRANSPARENT
));
19710 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_FromInt((int)wxIMAGELIST_DRAW_SELECTED
));
19711 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_FromInt((int)wxIMAGELIST_DRAW_FOCUSED
));
19712 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_FromInt((int)wxIMAGE_LIST_NORMAL
));
19713 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_FromInt((int)wxIMAGE_LIST_SMALL
));
19714 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_FromInt((int)wxIMAGE_LIST_STATE
));
19715 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
19716 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
19717 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
19718 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
19719 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
19720 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
19721 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
19722 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
19723 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
19724 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
19725 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
19726 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
19727 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
19728 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
19729 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
19730 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
19731 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
19732 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
19733 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
19734 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
19735 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
19736 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
19737 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
19738 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
19739 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
19740 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
19741 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
19742 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
19743 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
19744 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
19745 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
19746 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
19747 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
19748 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
19749 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
19750 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
19751 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
19752 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
19753 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
19754 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
19755 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
19756 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
19757 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
19758 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
19759 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
19760 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
19761 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
19763 // Work around a chicken/egg problem in drawlist.cpp
19764 wxPyDrawList_SetAPIPtr();