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_wxFont swig_types[12]
222 #define SWIGTYPE_p_wxWindow swig_types[13]
223 #define SWIGTYPE_p_wxSize 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_wxPyPen swig_types[50]
260 #define SWIGTYPE_p_int swig_types[51]
261 #define SWIGTYPE_p_wxMetaFile swig_types[52]
262 #define SWIGTYPE_p_wxNativeFontInfo swig_types[53]
263 #define SWIGTYPE_p_wxEncodingConverter swig_types[54]
264 #define SWIGTYPE_p_wxColourDatabase swig_types[55]
265 static swig_type_info
*swig_types
[57];
267 /* -------- TYPES TABLE (END) -------- */
270 /*-----------------------------------------------
272 ------------------------------------------------*/
273 #define SWIG_init init_gdi
275 #define SWIG_name "_gdi"
277 /* Auxiliar swig macros */
280 #define SWIGSTATICINLINE(a) static inline a
281 #define SWIGSTATIC(a) static a
282 #define swig_new_array(type, size) (new type[(size)])
283 #define swig_delete_array(cptr) delete[] cptr
284 #define swig_const_cast(type,a) const_cast<type>(a)
285 #define swig_static_cast(type,a) static_cast<type>(a)
286 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
288 #ifdef HAVE_NUMERIC_CAST
289 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
291 #define swig_numeric_cast(type,a) static_cast<type>(a)
296 #define SWIGSTATICINLINE(a) static a
297 #define SWIGSTATIC(a) static a
298 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
299 #define swig_delete_array(cptr) free((char*)cptr)
300 #define swig_const_cast(type,a) (type)(a)
301 #define swig_static_cast(type,a) (type)(a)
302 #define swig_reinterpret_cast(type,a) (type)(a)
303 #define swig_numeric_cast(type,a) (type)(a)
305 #endif /* __cplusplus */
308 #define SWIG_FromSignedChar PyInt_FromLong
309 #define SWIG_FromUnsignedChar PyInt_FromLong
310 #define SWIG_FromShort PyInt_FromLong
311 #define SWIG_FromUnsignedShort PyInt_FromLong
312 #define SWIG_FromInt PyInt_FromLong
313 #define SWIG_FromLong PyInt_FromLong
314 #define SWIG_FromFloat PyFloat_FromDouble
315 #define SWIG_FromDouble PyFloat_FromDouble
316 #define SWIG_FromFloat PyFloat_FromDouble
317 #define SWIG_FromDouble PyFloat_FromDouble
320 #include "wx/wxPython/wxPython.h"
321 #include "wx/wxPython/pyclasses.h"
324 static const wxString
wxPyEmptyString(wxEmptyString
);
326 SWIGSTATICINLINE(bool)
327 SWIG_AsBool(PyObject
*obj
)
329 return PyObject_IsTrue(obj
) ? true : false;
333 SWIGSTATICINLINE(int)
334 SWIG_CheckBool(PyObject
* obj
)
337 if (PyErr_Occurred()) {
349 SWIGSTATICINLINE(unsigned long)
350 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
351 unsigned long max_value
)
353 if (!PyErr_Occurred()) {
354 if (value
> max_value
) {
356 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
357 value
, type
, max_value
);
358 PyErr_SetObject(PyExc_OverflowError
, err
);
366 SWIGSTATICINLINE(unsigned long)
367 SWIG_AsUnsignedLong(PyObject
* obj
)
369 if (PyLong_Check(obj
)) {
370 return PyLong_AsUnsignedLong(obj
);
372 long i
= PyInt_AsLong(obj
);
373 if ( !PyErr_Occurred() && (i
< 0)) {
374 PyErr_SetString(PyExc_TypeError
, "negative value for unsigned type");
381 SWIGSTATICINLINE(unsigned char)
382 SWIG_AsUnsignedChar(PyObject
*obj
)
384 return swig_numeric_cast(unsigned char,
385 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
386 "unsigned char", UCHAR_MAX
));
390 SWIGSTATICINLINE(int)
391 SWIG_CheckUnsignedChar(PyObject
* obj
)
393 SWIG_AsUnsignedChar(obj
);
394 if (PyErr_Occurred()) {
403 SWIGSTATICINLINE(int)
404 SWIG_CheckUnsignedLong(PyObject
* obj
)
406 SWIG_AsUnsignedLong(obj
);
407 if (PyErr_Occurred()) {
415 PyObject
*wxColour_Get(wxColour
*self
){
416 PyObject
* rv
= PyTuple_New(3);
422 green
= self
->Green();
425 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
426 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
427 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
430 unsigned long wxColour_GetRGB(wxColour
*self
){
431 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
434 SWIGSTATICINLINE(PyObject
* )
435 SWIG_FromUnsignedLong(unsigned long value
)
437 return (value
> LONG_MAX
) ?
438 PyLong_FromUnsignedLong(value
)
439 : PyInt_FromLong(swig_numeric_cast(long,value
));
443 SWIGSTATICINLINE(long)
444 SWIG_CheckLongInRange(long value
, const char* type
,
445 long min_value
, long max_value
)
447 if (!PyErr_Occurred()) {
448 if (value
< min_value
) {
450 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
451 value
, type
, min_value
);
453 PyErr_SetObject(PyExc_OverflowError
, err
);
455 } else if (value
> max_value
) {
457 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
458 value
, type
, max_value
);
459 PyErr_SetObject(PyExc_OverflowError
, err
);
467 SWIGSTATICINLINE(long)
468 SWIG_AsLong(PyObject
* obj
)
470 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
474 #if INT_MAX != LONG_MAX
475 SWIGSTATICINLINE(int)
476 SWIG_AsInt(PyObject
*obj
)
478 return swig_numeric_cast(int,
479 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
480 "int", INT_MIN
, INT_MAX
));
483 #define SWIG_AsInt SWIG_AsLong
487 SWIGSTATICINLINE(int)
488 SWIG_CheckInt(PyObject
* obj
)
491 if (PyErr_Occurred()) {
500 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
506 } else if (target
== Py_None
) {
510 if (!PyTuple_Check(target
)) {
512 target
= PyTuple_New(1);
513 PyTuple_SetItem(target
, 0, o2
);
516 PyTuple_SetItem(o3
, 0, o
);
519 target
= PySequence_Concat(o2
, o3
);
526 PyObject
*wxPen_GetDashes(wxPen
*self
){
528 int count
= self
->GetDashes(&dashes
);
529 wxPyBeginBlockThreads();
530 PyObject
* retval
= PyList_New(0);
531 for (int x
=0; x
<count
; x
++)
532 PyList_Append(retval
, PyInt_FromLong(dashes
[x
]));
533 wxPyEndBlockThreads();
536 bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : False
; }
537 bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : True
; }
545 void wxPyPen::SetDashes(int nb_dashes
, const wxDash
*dash
)
549 m_dash
= new wxDash
[nb_dashes
];
550 for (int i
=0; i
<nb_dashes
; i
++) {
553 wxPen::SetDashes(nb_dashes
, m_dash
);
557 #include <wx/image.h>
559 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
560 char** cArray
= NULL
;
563 if (!PyList_Check(listOfStrings
)) {
564 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
567 count
= PyList_Size(listOfStrings
);
568 cArray
= new char*[count
];
570 for(int x
=0; x
<count
; x
++) {
571 // TODO: Need some validation and error checking here
572 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
578 wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
579 char** cArray
= NULL
;
582 cArray
= ConvertListOfStrings(listOfStrings
);
585 bmp
= new wxBitmap(cArray
);
589 wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
){
592 PyString_AsStringAndSize(bits
, &buf
, &length
);
593 return new wxBitmap(buf
, width
, height
, depth
);
596 SWIGSTATICINLINE(int)
597 SWIG_CheckLong(PyObject
* obj
)
600 if (PyErr_Occurred()) {
608 void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
609 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
610 wxMask
*mask
= new wxMask(*self
, colour
);
613 bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : False
; }
614 bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : True
; }
615 wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
){
617 return new wxMask(bitmap
, *wxBLACK
);
619 return new wxMask(bitmap
, colour
);
622 #include <wx/iconbndl.h>
624 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
625 wxIcon
* icon
= new wxIcon();
626 icon
->CopyFromBitmap(bmp
);
629 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
630 char** cArray
= NULL
;
633 cArray
= ConvertListOfStrings(listOfStrings
);
636 icon
= new wxIcon(cArray
);
640 void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
641 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
643 return new wxIconLocation(*filename
, num
);
648 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
655 int wxIconLocation_GetIndex(wxIconLocation
*self
){
657 return self
->GetIndex();
662 wxCursor
*new_wxCursor(wxString
const *cursorName
,long type
,int hotSpotX
,int hotSpotY
){
664 wxCHECK_MSG(False
, NULL
,
665 wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
667 return new wxCursor(*cursorName
, type
, hotSpotX
, hotSpotY
);
670 void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
673 void wxRegionIterator_Next(wxRegionIterator
*self
){
676 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
677 return self
->operator bool();
680 #include <wx/fontutil.h>
681 #include <wx/fontmap.h>
682 #include <wx/fontenum.h>
684 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
685 return self
->ToString();
688 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
689 { wxPyRaiseNotImplemented(); return NULL
; }
691 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
692 { wxPyRaiseNotImplemented(); return False
; }
694 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
695 wxFontEncoding alt_enc
;
696 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
697 return PyInt_FromLong(alt_enc
);
703 wxFont
*new_wxFont(wxString
const &info
){
704 wxNativeFontInfo nfi
;
705 nfi
.FromString(info
);
706 return new wxFont(nfi
);
708 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
709 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
711 bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : False
; }
712 bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : True
; }
714 class wxPyFontEnumerator
: public wxFontEnumerator
{
716 wxPyFontEnumerator() {}
717 ~wxPyFontEnumerator() {}
719 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
720 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
725 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
726 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
729 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
730 wxArrayString
* arr
= self
->GetEncodings();
731 return wxArrayString2PyList_helper(*arr
);
733 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
734 wxArrayString
* arr
= self
->GetFacenames();
735 return wxArrayString2PyList_helper(*arr
);
740 #include "wx/wxPython/pydrawxxx.h"
742 wxColour
wxDC_GetPixelXY(wxDC
*self
,int x
,int y
){
744 self
->GetPixel(x
, y
, &col
);
747 wxColour
wxDC_GetPixel(wxDC
*self
,wxPoint
const &pt
){
749 self
->GetPixel(pt
, &col
);
753 SWIGSTATICINLINE(double)
754 SWIG_AsDouble(PyObject
*obj
)
756 double val
= (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
758 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
760 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
762 if (PyErr_Occurred()) {
764 PyErr_SetString(PyExc_TypeError
, "a double is expected");
770 SWIGSTATICINLINE(int)
771 SWIG_CheckDouble(PyObject
* obj
)
774 if (PyErr_Occurred()) {
782 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
784 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
787 wxRect
wxDC_GetClippingRect(wxDC
*self
){
789 self
->GetClippingBox(rect
);
792 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
794 self
->GetPartialTextExtents(text
, widths
);
797 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
798 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
800 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
801 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
803 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
804 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
806 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
807 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
809 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
810 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
812 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
813 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
816 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
824 //-=-=-=-=-=-=-=-=-=-=-
827 // Use the standard wxBufferedDC
828 #include <wx/dcbuffer.h>
832 // Or, temporarily put a set of classes here similar to the old buffered DC
833 // classes until the real ones can be fixed to work "correctly" again.
835 class wxBufferedDC
: public wxMemoryDC
843 wxBufferedDC() : m_dc( 0 ) {}
845 wxBufferedDC( wxDC
*dc
, const wxBitmap
&buffer
)
846 : m_dc( dc
), m_buffer( buffer
)
848 SelectObject( m_buffer
);
851 wxBufferedDC( wxDC
*dc
, const wxSize
&area
)
852 : m_dc( dc
), m_buffer( area
.GetWidth(), area
.GetHeight() )
854 SelectObject( m_buffer
);
863 void Init( wxDC
*dc
, const wxBitmap
&buffer
) {
864 wxASSERT_MSG( m_dc
== 0 && m_buffer
== wxNullBitmap
,
865 _T("wxBufferedDC already initialised") );
868 SelectObject( m_buffer
);
871 void Init( wxDC
*dc
, const wxSize
&area
) {
872 wxASSERT_MSG( m_dc
== 0 && m_buffer
== wxNullBitmap
,
873 _T("wxBufferedDC already initialised") );
875 m_buffer
= wxBitmap( area
.GetWidth(), area
.GetHeight() );
876 SelectObject( m_buffer
);
880 wxASSERT_MSG( m_dc
!= 0, _T("No low level DC associated with buffer (anymore)") );
881 m_dc
->Blit( 0, 0, m_buffer
.GetWidth(), m_buffer
.GetHeight(), this, 0, 0 );
887 class wxBufferedPaintDC
: public wxBufferedDC
893 wxBufferedPaintDC( wxWindow
*window
, const wxBitmap
&buffer
= wxNullBitmap
)
894 : m_paintdc( window
)
896 window
->PrepareDC( m_paintdc
);
898 if( buffer
!= wxNullBitmap
)
899 Init( &m_paintdc
, buffer
);
901 Init( &m_paintdc
, window
->GetClientSize() );
904 ~wxBufferedPaintDC() {
910 //-=-=-=-=-=-=-=-=-=-=-
916 #include <wx/metafile.h>
920 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
921 self
->AddColour(name
, wxColour(red
, green
, blue
));
924 #include <wx/effects.h>
929 static PyObject
*_wrap_new_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
939 result
= (wxGDIObject
*)new wxGDIObject();
941 wxPyEndAllowThreads(__tstate
);
942 if (PyErr_Occurred()) SWIG_fail
;
944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
951 static PyObject
*_wrap_delete_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
953 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
954 PyObject
* obj0
= 0 ;
956 (char *) "self", NULL
959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
966 wxPyEndAllowThreads(__tstate
);
967 if (PyErr_Occurred()) SWIG_fail
;
969 Py_INCREF(Py_None
); resultobj
= Py_None
;
976 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
978 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
980 PyObject
* obj0
= 0 ;
982 (char *) "self", NULL
985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
990 result
= (bool)(arg1
)->GetVisible();
992 wxPyEndAllowThreads(__tstate
);
993 if (PyErr_Occurred()) SWIG_fail
;
995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1002 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1003 PyObject
*resultobj
;
1004 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1006 PyObject
* obj0
= 0 ;
1007 PyObject
* obj1
= 0 ;
1009 (char *) "self",(char *) "visible", NULL
1012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
1013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1015 arg2
= (bool) SWIG_AsBool(obj1
);
1016 if (PyErr_Occurred()) SWIG_fail
;
1018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1019 (arg1
)->SetVisible(arg2
);
1021 wxPyEndAllowThreads(__tstate
);
1022 if (PyErr_Occurred()) SWIG_fail
;
1024 Py_INCREF(Py_None
); resultobj
= Py_None
;
1031 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1032 PyObject
*resultobj
;
1033 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1035 PyObject
* obj0
= 0 ;
1037 (char *) "self", NULL
1040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
1041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1045 result
= (bool)(arg1
)->IsNull();
1047 wxPyEndAllowThreads(__tstate
);
1048 if (PyErr_Occurred()) SWIG_fail
;
1050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1057 static PyObject
* GDIObject_swigregister(PyObject
*self
, PyObject
*args
) {
1059 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1060 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
1062 return Py_BuildValue((char *)"");
1064 static PyObject
*_wrap_new_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1065 PyObject
*resultobj
;
1066 unsigned char arg1
= (unsigned char) 0 ;
1067 unsigned char arg2
= (unsigned char) 0 ;
1068 unsigned char arg3
= (unsigned char) 0 ;
1070 PyObject
* obj0
= 0 ;
1071 PyObject
* obj1
= 0 ;
1072 PyObject
* obj2
= 0 ;
1074 (char *) "red",(char *) "green",(char *) "blue", NULL
1077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1079 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
1080 if (PyErr_Occurred()) SWIG_fail
;
1083 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
1084 if (PyErr_Occurred()) SWIG_fail
;
1087 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
1088 if (PyErr_Occurred()) SWIG_fail
;
1091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1092 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
1094 wxPyEndAllowThreads(__tstate
);
1095 if (PyErr_Occurred()) SWIG_fail
;
1097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1104 static PyObject
*_wrap_new_NamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1105 PyObject
*resultobj
;
1106 wxString
*arg1
= 0 ;
1108 bool temp1
= False
;
1109 PyObject
* obj0
= 0 ;
1111 (char *) "colorName", NULL
1114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
1116 arg1
= wxString_in_helper(obj0
);
1117 if (arg1
== NULL
) SWIG_fail
;
1121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1122 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1124 wxPyEndAllowThreads(__tstate
);
1125 if (PyErr_Occurred()) SWIG_fail
;
1127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1142 static PyObject
*_wrap_new_ColourRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1143 PyObject
*resultobj
;
1144 unsigned long arg1
;
1146 PyObject
* obj0
= 0 ;
1148 (char *) "colRGB", NULL
1151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1152 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
1153 if (PyErr_Occurred()) SWIG_fail
;
1155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1156 result
= (wxColour
*)new wxColour(arg1
);
1158 wxPyEndAllowThreads(__tstate
);
1159 if (PyErr_Occurred()) SWIG_fail
;
1161 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1168 static PyObject
*_wrap_delete_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1169 PyObject
*resultobj
;
1170 wxColour
*arg1
= (wxColour
*) 0 ;
1171 PyObject
* obj0
= 0 ;
1173 (char *) "self", NULL
1176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
1177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1183 wxPyEndAllowThreads(__tstate
);
1184 if (PyErr_Occurred()) SWIG_fail
;
1186 Py_INCREF(Py_None
); resultobj
= Py_None
;
1193 static PyObject
*_wrap_Colour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1194 PyObject
*resultobj
;
1195 wxColour
*arg1
= (wxColour
*) 0 ;
1196 unsigned char result
;
1197 PyObject
* obj0
= 0 ;
1199 (char *) "self", NULL
1202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1207 result
= (unsigned char)(arg1
)->Red();
1209 wxPyEndAllowThreads(__tstate
);
1210 if (PyErr_Occurred()) SWIG_fail
;
1212 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1219 static PyObject
*_wrap_Colour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1220 PyObject
*resultobj
;
1221 wxColour
*arg1
= (wxColour
*) 0 ;
1222 unsigned char result
;
1223 PyObject
* obj0
= 0 ;
1225 (char *) "self", NULL
1228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1233 result
= (unsigned char)(arg1
)->Green();
1235 wxPyEndAllowThreads(__tstate
);
1236 if (PyErr_Occurred()) SWIG_fail
;
1238 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1245 static PyObject
*_wrap_Colour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1246 PyObject
*resultobj
;
1247 wxColour
*arg1
= (wxColour
*) 0 ;
1248 unsigned char result
;
1249 PyObject
* obj0
= 0 ;
1251 (char *) "self", NULL
1254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1259 result
= (unsigned char)(arg1
)->Blue();
1261 wxPyEndAllowThreads(__tstate
);
1262 if (PyErr_Occurred()) SWIG_fail
;
1264 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1271 static PyObject
*_wrap_Colour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1272 PyObject
*resultobj
;
1273 wxColour
*arg1
= (wxColour
*) 0 ;
1275 PyObject
* obj0
= 0 ;
1277 (char *) "self", NULL
1280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1285 result
= (bool)(arg1
)->Ok();
1287 wxPyEndAllowThreads(__tstate
);
1288 if (PyErr_Occurred()) SWIG_fail
;
1290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1297 static PyObject
*_wrap_Colour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1298 PyObject
*resultobj
;
1299 wxColour
*arg1
= (wxColour
*) 0 ;
1300 unsigned char arg2
;
1301 unsigned char arg3
;
1302 unsigned char arg4
;
1303 PyObject
* obj0
= 0 ;
1304 PyObject
* obj1
= 0 ;
1305 PyObject
* obj2
= 0 ;
1306 PyObject
* obj3
= 0 ;
1308 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1314 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
1315 if (PyErr_Occurred()) SWIG_fail
;
1316 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
1317 if (PyErr_Occurred()) SWIG_fail
;
1318 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
1319 if (PyErr_Occurred()) SWIG_fail
;
1321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1322 (arg1
)->Set(arg2
,arg3
,arg4
);
1324 wxPyEndAllowThreads(__tstate
);
1325 if (PyErr_Occurred()) SWIG_fail
;
1327 Py_INCREF(Py_None
); resultobj
= Py_None
;
1334 static PyObject
*_wrap_Colour_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1335 PyObject
*resultobj
;
1336 wxColour
*arg1
= (wxColour
*) 0 ;
1337 unsigned long arg2
;
1338 PyObject
* obj0
= 0 ;
1339 PyObject
* obj1
= 0 ;
1341 (char *) "self",(char *) "colRGB", NULL
1344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1347 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
1348 if (PyErr_Occurred()) SWIG_fail
;
1350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1353 wxPyEndAllowThreads(__tstate
);
1354 if (PyErr_Occurred()) SWIG_fail
;
1356 Py_INCREF(Py_None
); resultobj
= Py_None
;
1363 static PyObject
*_wrap_Colour_SetFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1364 PyObject
*resultobj
;
1365 wxColour
*arg1
= (wxColour
*) 0 ;
1366 wxString
*arg2
= 0 ;
1367 bool temp2
= False
;
1368 PyObject
* obj0
= 0 ;
1369 PyObject
* obj1
= 0 ;
1371 (char *) "self",(char *) "colourName", NULL
1374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1378 arg2
= wxString_in_helper(obj1
);
1379 if (arg2
== NULL
) SWIG_fail
;
1383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1384 (arg1
)->InitFromName((wxString
const &)*arg2
);
1386 wxPyEndAllowThreads(__tstate
);
1387 if (PyErr_Occurred()) SWIG_fail
;
1389 Py_INCREF(Py_None
); resultobj
= Py_None
;
1404 static PyObject
*_wrap_Colour_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1405 PyObject
*resultobj
;
1406 wxColour
*arg1
= (wxColour
*) 0 ;
1408 PyObject
* obj0
= 0 ;
1410 (char *) "self", NULL
1413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1418 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1420 wxPyEndAllowThreads(__tstate
);
1421 if (PyErr_Occurred()) SWIG_fail
;
1423 resultobj
= SWIG_FromLong((long)result
);
1430 static PyObject
*_wrap_Colour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1431 PyObject
*resultobj
;
1432 wxColour
*arg1
= (wxColour
*) 0 ;
1433 wxColour
*arg2
= 0 ;
1436 PyObject
* obj0
= 0 ;
1437 PyObject
* obj1
= 0 ;
1439 (char *) "self",(char *) "colour", NULL
1442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1447 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1451 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1453 wxPyEndAllowThreads(__tstate
);
1454 if (PyErr_Occurred()) SWIG_fail
;
1456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1463 static PyObject
*_wrap_Colour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1464 PyObject
*resultobj
;
1465 wxColour
*arg1
= (wxColour
*) 0 ;
1466 wxColour
*arg2
= 0 ;
1469 PyObject
* obj0
= 0 ;
1470 PyObject
* obj1
= 0 ;
1472 (char *) "self",(char *) "colour", NULL
1475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1480 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1484 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1486 wxPyEndAllowThreads(__tstate
);
1487 if (PyErr_Occurred()) SWIG_fail
;
1489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1496 static PyObject
*_wrap_Colour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1497 PyObject
*resultobj
;
1498 wxColour
*arg1
= (wxColour
*) 0 ;
1500 PyObject
* obj0
= 0 ;
1502 (char *) "self", NULL
1505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1510 result
= (PyObject
*)wxColour_Get(arg1
);
1512 wxPyEndAllowThreads(__tstate
);
1513 if (PyErr_Occurred()) SWIG_fail
;
1522 static PyObject
*_wrap_Colour_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1523 PyObject
*resultobj
;
1524 wxColour
*arg1
= (wxColour
*) 0 ;
1525 unsigned long result
;
1526 PyObject
* obj0
= 0 ;
1528 (char *) "self", NULL
1531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
1532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1536 result
= (unsigned long)wxColour_GetRGB(arg1
);
1538 wxPyEndAllowThreads(__tstate
);
1539 if (PyErr_Occurred()) SWIG_fail
;
1541 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
1548 static PyObject
* Colour_swigregister(PyObject
*self
, PyObject
*args
) {
1550 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1551 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1553 return Py_BuildValue((char *)"");
1555 static PyObject
*_wrap_new_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1556 PyObject
*resultobj
;
1558 unsigned char *arg2
= (unsigned char *) 0 ;
1559 unsigned char *arg3
= (unsigned char *) 0 ;
1560 unsigned char *arg4
= (unsigned char *) 0 ;
1562 PyObject
* obj0
= 0 ;
1563 PyObject
* obj1
= 0 ;
1564 PyObject
* obj2
= 0 ;
1565 PyObject
* obj3
= 0 ;
1567 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1571 arg1
= (int) SWIG_AsInt(obj0
);
1572 if (PyErr_Occurred()) SWIG_fail
;
1573 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
,
1574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1575 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
1576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1577 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
1578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1581 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1583 wxPyEndAllowThreads(__tstate
);
1584 if (PyErr_Occurred()) SWIG_fail
;
1586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
1593 static PyObject
*_wrap_delete_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1594 PyObject
*resultobj
;
1595 wxPalette
*arg1
= (wxPalette
*) 0 ;
1596 PyObject
* obj0
= 0 ;
1598 (char *) "self", NULL
1601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1608 wxPyEndAllowThreads(__tstate
);
1609 if (PyErr_Occurred()) SWIG_fail
;
1611 Py_INCREF(Py_None
); resultobj
= Py_None
;
1618 static PyObject
*_wrap_Palette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1619 PyObject
*resultobj
;
1620 wxPalette
*arg1
= (wxPalette
*) 0 ;
1625 PyObject
* obj0
= 0 ;
1626 PyObject
* obj1
= 0 ;
1627 PyObject
* obj2
= 0 ;
1628 PyObject
* obj3
= 0 ;
1630 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1636 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1637 if (PyErr_Occurred()) SWIG_fail
;
1638 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1639 if (PyErr_Occurred()) SWIG_fail
;
1640 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1641 if (PyErr_Occurred()) SWIG_fail
;
1643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1644 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1646 wxPyEndAllowThreads(__tstate
);
1647 if (PyErr_Occurred()) SWIG_fail
;
1649 resultobj
= SWIG_FromInt((int)result
);
1656 static PyObject
*_wrap_Palette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1657 PyObject
*resultobj
;
1658 wxPalette
*arg1
= (wxPalette
*) 0 ;
1660 byte
*arg3
= (byte
*) 0 ;
1661 byte
*arg4
= (byte
*) 0 ;
1662 byte
*arg5
= (byte
*) 0 ;
1667 PyObject
* obj0
= 0 ;
1668 PyObject
* obj1
= 0 ;
1670 (char *) "self",(char *) "pixel", NULL
1676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1679 arg2
= (int) SWIG_AsInt(obj1
);
1680 if (PyErr_Occurred()) SWIG_fail
;
1682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1683 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1685 wxPyEndAllowThreads(__tstate
);
1686 if (PyErr_Occurred()) SWIG_fail
;
1688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1690 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1691 resultobj
= t_output_helper(resultobj
,o
);
1694 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1695 resultobj
= t_output_helper(resultobj
,o
);
1698 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1699 resultobj
= t_output_helper(resultobj
,o
);
1707 static PyObject
*_wrap_Palette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1708 PyObject
*resultobj
;
1709 wxPalette
*arg1
= (wxPalette
*) 0 ;
1711 PyObject
* obj0
= 0 ;
1713 (char *) "self", NULL
1716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1721 result
= (bool)(arg1
)->Ok();
1723 wxPyEndAllowThreads(__tstate
);
1724 if (PyErr_Occurred()) SWIG_fail
;
1726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1733 static PyObject
* Palette_swigregister(PyObject
*self
, PyObject
*args
) {
1735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1736 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1738 return Py_BuildValue((char *)"");
1740 static PyObject
*_wrap_new_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1741 PyObject
*resultobj
;
1742 wxColour
*arg1
= 0 ;
1743 int arg2
= (int) 1 ;
1744 int arg3
= (int) wxSOLID
;
1747 PyObject
* obj0
= 0 ;
1748 PyObject
* obj1
= 0 ;
1749 PyObject
* obj2
= 0 ;
1751 (char *) "colour",(char *) "width",(char *) "style", NULL
1754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1757 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1760 arg2
= (int) SWIG_AsInt(obj1
);
1761 if (PyErr_Occurred()) SWIG_fail
;
1764 arg3
= (int) SWIG_AsInt(obj2
);
1765 if (PyErr_Occurred()) SWIG_fail
;
1768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1769 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1771 wxPyEndAllowThreads(__tstate
);
1772 if (PyErr_Occurred()) SWIG_fail
;
1774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1781 static PyObject
*_wrap_delete_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1782 PyObject
*resultobj
;
1783 wxPen
*arg1
= (wxPen
*) 0 ;
1784 PyObject
* obj0
= 0 ;
1786 (char *) "self", NULL
1789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1796 wxPyEndAllowThreads(__tstate
);
1797 if (PyErr_Occurred()) SWIG_fail
;
1799 Py_INCREF(Py_None
); resultobj
= Py_None
;
1806 static PyObject
*_wrap_Pen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1807 PyObject
*resultobj
;
1808 wxPen
*arg1
= (wxPen
*) 0 ;
1810 PyObject
* obj0
= 0 ;
1812 (char *) "self", NULL
1815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1820 result
= (int)(arg1
)->GetCap();
1822 wxPyEndAllowThreads(__tstate
);
1823 if (PyErr_Occurred()) SWIG_fail
;
1825 resultobj
= SWIG_FromInt((int)result
);
1832 static PyObject
*_wrap_Pen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1833 PyObject
*resultobj
;
1834 wxPen
*arg1
= (wxPen
*) 0 ;
1836 PyObject
* obj0
= 0 ;
1838 (char *) "self", NULL
1841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1846 result
= (arg1
)->GetColour();
1848 wxPyEndAllowThreads(__tstate
);
1849 if (PyErr_Occurred()) SWIG_fail
;
1852 wxColour
* resultptr
;
1853 resultptr
= new wxColour((wxColour
&) result
);
1854 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1862 static PyObject
*_wrap_Pen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1863 PyObject
*resultobj
;
1864 wxPen
*arg1
= (wxPen
*) 0 ;
1866 PyObject
* obj0
= 0 ;
1868 (char *) "self", NULL
1871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1876 result
= (int)(arg1
)->GetJoin();
1878 wxPyEndAllowThreads(__tstate
);
1879 if (PyErr_Occurred()) SWIG_fail
;
1881 resultobj
= SWIG_FromInt((int)result
);
1888 static PyObject
*_wrap_Pen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1889 PyObject
*resultobj
;
1890 wxPen
*arg1
= (wxPen
*) 0 ;
1892 PyObject
* obj0
= 0 ;
1894 (char *) "self", NULL
1897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1902 result
= (int)(arg1
)->GetStyle();
1904 wxPyEndAllowThreads(__tstate
);
1905 if (PyErr_Occurred()) SWIG_fail
;
1907 resultobj
= SWIG_FromInt((int)result
);
1914 static PyObject
*_wrap_Pen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1915 PyObject
*resultobj
;
1916 wxPen
*arg1
= (wxPen
*) 0 ;
1918 PyObject
* obj0
= 0 ;
1920 (char *) "self", NULL
1923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
1924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1928 result
= (int)(arg1
)->GetWidth();
1930 wxPyEndAllowThreads(__tstate
);
1931 if (PyErr_Occurred()) SWIG_fail
;
1933 resultobj
= SWIG_FromInt((int)result
);
1940 static PyObject
*_wrap_Pen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1941 PyObject
*resultobj
;
1942 wxPen
*arg1
= (wxPen
*) 0 ;
1944 PyObject
* obj0
= 0 ;
1946 (char *) "self", NULL
1949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
1950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1954 result
= (bool)(arg1
)->Ok();
1956 wxPyEndAllowThreads(__tstate
);
1957 if (PyErr_Occurred()) SWIG_fail
;
1959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1966 static PyObject
*_wrap_Pen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1967 PyObject
*resultobj
;
1968 wxPen
*arg1
= (wxPen
*) 0 ;
1970 PyObject
* obj0
= 0 ;
1971 PyObject
* obj1
= 0 ;
1973 (char *) "self",(char *) "cap_style", NULL
1976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
1977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1979 arg2
= (int) SWIG_AsInt(obj1
);
1980 if (PyErr_Occurred()) SWIG_fail
;
1982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1983 (arg1
)->SetCap(arg2
);
1985 wxPyEndAllowThreads(__tstate
);
1986 if (PyErr_Occurred()) SWIG_fail
;
1988 Py_INCREF(Py_None
); resultobj
= Py_None
;
1995 static PyObject
*_wrap_Pen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1996 PyObject
*resultobj
;
1997 wxPen
*arg1
= (wxPen
*) 0 ;
1998 wxColour
*arg2
= 0 ;
2000 PyObject
* obj0
= 0 ;
2001 PyObject
* obj1
= 0 ;
2003 (char *) "self",(char *) "colour", NULL
2006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2011 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2015 (arg1
)->SetColour(*arg2
);
2017 wxPyEndAllowThreads(__tstate
);
2018 if (PyErr_Occurred()) SWIG_fail
;
2020 Py_INCREF(Py_None
); resultobj
= Py_None
;
2027 static PyObject
*_wrap_Pen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2028 PyObject
*resultobj
;
2029 wxPen
*arg1
= (wxPen
*) 0 ;
2031 PyObject
* obj0
= 0 ;
2032 PyObject
* obj1
= 0 ;
2034 (char *) "self",(char *) "join_style", NULL
2037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
2038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2040 arg2
= (int) SWIG_AsInt(obj1
);
2041 if (PyErr_Occurred()) SWIG_fail
;
2043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2044 (arg1
)->SetJoin(arg2
);
2046 wxPyEndAllowThreads(__tstate
);
2047 if (PyErr_Occurred()) SWIG_fail
;
2049 Py_INCREF(Py_None
); resultobj
= Py_None
;
2056 static PyObject
*_wrap_Pen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2057 PyObject
*resultobj
;
2058 wxPen
*arg1
= (wxPen
*) 0 ;
2060 PyObject
* obj0
= 0 ;
2061 PyObject
* obj1
= 0 ;
2063 (char *) "self",(char *) "style", NULL
2066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2069 arg2
= (int) SWIG_AsInt(obj1
);
2070 if (PyErr_Occurred()) SWIG_fail
;
2072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2073 (arg1
)->SetStyle(arg2
);
2075 wxPyEndAllowThreads(__tstate
);
2076 if (PyErr_Occurred()) SWIG_fail
;
2078 Py_INCREF(Py_None
); resultobj
= Py_None
;
2085 static PyObject
*_wrap_Pen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2086 PyObject
*resultobj
;
2087 wxPen
*arg1
= (wxPen
*) 0 ;
2089 PyObject
* obj0
= 0 ;
2090 PyObject
* obj1
= 0 ;
2092 (char *) "self",(char *) "width", NULL
2095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2098 arg2
= (int) SWIG_AsInt(obj1
);
2099 if (PyErr_Occurred()) SWIG_fail
;
2101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2102 (arg1
)->SetWidth(arg2
);
2104 wxPyEndAllowThreads(__tstate
);
2105 if (PyErr_Occurred()) SWIG_fail
;
2107 Py_INCREF(Py_None
); resultobj
= Py_None
;
2114 static PyObject
*_wrap_Pen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2115 PyObject
*resultobj
;
2116 wxPen
*arg1
= (wxPen
*) 0 ;
2118 wxDash
*arg3
= (wxDash
*) 0 ;
2119 PyObject
* obj0
= 0 ;
2120 PyObject
* obj1
= 0 ;
2122 (char *) "self",(char *) "dashes", NULL
2125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2129 arg2
= PyList_Size(obj1
);
2130 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2131 if (arg3
== NULL
) SWIG_fail
;
2134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2135 (arg1
)->SetDashes(arg2
,arg3
);
2137 wxPyEndAllowThreads(__tstate
);
2138 if (PyErr_Occurred()) SWIG_fail
;
2140 Py_INCREF(Py_None
); resultobj
= Py_None
;
2142 if (arg3
) delete [] arg3
;
2147 if (arg3
) delete [] arg3
;
2153 static PyObject
*_wrap_Pen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2154 PyObject
*resultobj
;
2155 wxPen
*arg1
= (wxPen
*) 0 ;
2157 PyObject
* obj0
= 0 ;
2159 (char *) "self", NULL
2162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2167 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2169 wxPyEndAllowThreads(__tstate
);
2170 if (PyErr_Occurred()) SWIG_fail
;
2179 static PyObject
*_wrap_Pen___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2180 PyObject
*resultobj
;
2181 wxPen
*arg1
= (wxPen
*) 0 ;
2182 wxPen
*arg2
= (wxPen
*) 0 ;
2184 PyObject
* obj0
= 0 ;
2185 PyObject
* obj1
= 0 ;
2187 (char *) "self",(char *) "other", NULL
2190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2193 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2197 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2199 wxPyEndAllowThreads(__tstate
);
2200 if (PyErr_Occurred()) SWIG_fail
;
2202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2209 static PyObject
*_wrap_Pen___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2210 PyObject
*resultobj
;
2211 wxPen
*arg1
= (wxPen
*) 0 ;
2212 wxPen
*arg2
= (wxPen
*) 0 ;
2214 PyObject
* obj0
= 0 ;
2215 PyObject
* obj1
= 0 ;
2217 (char *) "self",(char *) "other", NULL
2220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2223 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2227 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2229 wxPyEndAllowThreads(__tstate
);
2230 if (PyErr_Occurred()) SWIG_fail
;
2232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2239 static PyObject
*_wrap_Pen_GetDashCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2240 PyObject
*resultobj
;
2241 wxPen
*arg1
= (wxPen
*) 0 ;
2243 PyObject
* obj0
= 0 ;
2245 (char *) "self", NULL
2248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
;
2249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2253 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
2255 wxPyEndAllowThreads(__tstate
);
2256 if (PyErr_Occurred()) SWIG_fail
;
2258 resultobj
= SWIG_FromInt((int)result
);
2265 static PyObject
*_wrap_Pen_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2266 PyObject
*resultobj
;
2267 wxPen
*arg1
= (wxPen
*) 0 ;
2269 PyObject
* obj0
= 0 ;
2271 (char *) "self", NULL
2274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStipple",kwnames
,&obj0
)) goto fail
;
2275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2279 result
= (wxBitmap
*)(arg1
)->GetStipple();
2281 wxPyEndAllowThreads(__tstate
);
2282 if (PyErr_Occurred()) SWIG_fail
;
2284 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2291 static PyObject
*_wrap_Pen_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2292 PyObject
*resultobj
;
2293 wxPen
*arg1
= (wxPen
*) 0 ;
2294 wxBitmap
*arg2
= 0 ;
2295 PyObject
* obj0
= 0 ;
2296 PyObject
* obj1
= 0 ;
2298 (char *) "self",(char *) "stipple", NULL
2301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2304 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2305 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2308 PyErr_SetString(PyExc_TypeError
,"null reference");
2312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2313 (arg1
)->SetStipple(*arg2
);
2315 wxPyEndAllowThreads(__tstate
);
2316 if (PyErr_Occurred()) SWIG_fail
;
2318 Py_INCREF(Py_None
); resultobj
= Py_None
;
2325 static PyObject
* Pen_swigregister(PyObject
*self
, PyObject
*args
) {
2327 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2328 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2330 return Py_BuildValue((char *)"");
2332 static PyObject
*_wrap_new_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2333 PyObject
*resultobj
;
2334 wxColour
*arg1
= 0 ;
2335 int arg2
= (int) 1 ;
2336 int arg3
= (int) wxSOLID
;
2339 PyObject
* obj0
= 0 ;
2340 PyObject
* obj1
= 0 ;
2341 PyObject
* obj2
= 0 ;
2343 (char *) "colour",(char *) "width",(char *) "style", NULL
2346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_PyPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2349 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2352 arg2
= (int) SWIG_AsInt(obj1
);
2353 if (PyErr_Occurred()) SWIG_fail
;
2356 arg3
= (int) SWIG_AsInt(obj2
);
2357 if (PyErr_Occurred()) SWIG_fail
;
2360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2361 result
= (wxPyPen
*)new wxPyPen(*arg1
,arg2
,arg3
);
2363 wxPyEndAllowThreads(__tstate
);
2364 if (PyErr_Occurred()) SWIG_fail
;
2366 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPen
, 1);
2373 static PyObject
*_wrap_delete_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2374 PyObject
*resultobj
;
2375 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
2376 PyObject
* obj0
= 0 ;
2378 (char *) "self", NULL
2381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyPen",kwnames
,&obj0
)) goto fail
;
2382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPen
,
2383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2388 wxPyEndAllowThreads(__tstate
);
2389 if (PyErr_Occurred()) SWIG_fail
;
2391 Py_INCREF(Py_None
); resultobj
= Py_None
;
2398 static PyObject
*_wrap_PyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2399 PyObject
*resultobj
;
2400 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
2402 wxDash
*arg3
= (wxDash
*) 0 ;
2403 PyObject
* obj0
= 0 ;
2404 PyObject
* obj1
= 0 ;
2406 (char *) "self",(char *) "dashes", NULL
2409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPen
,
2411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2413 arg2
= PyList_Size(obj1
);
2414 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2415 if (arg3
== NULL
) SWIG_fail
;
2418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2419 (arg1
)->SetDashes(arg2
,arg3
);
2421 wxPyEndAllowThreads(__tstate
);
2422 if (PyErr_Occurred()) SWIG_fail
;
2424 Py_INCREF(Py_None
); resultobj
= Py_None
;
2426 if (arg3
) delete [] arg3
;
2431 if (arg3
) delete [] arg3
;
2437 static PyObject
* PyPen_swigregister(PyObject
*self
, PyObject
*args
) {
2439 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2440 SWIG_TypeClientData(SWIGTYPE_p_wxPyPen
, obj
);
2442 return Py_BuildValue((char *)"");
2444 static PyObject
*_wrap_new_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2445 PyObject
*resultobj
;
2446 wxColour
*arg1
= 0 ;
2447 int arg2
= (int) wxSOLID
;
2450 PyObject
* obj0
= 0 ;
2451 PyObject
* obj1
= 0 ;
2453 (char *) "colour",(char *) "style", NULL
2456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2459 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2462 arg2
= (int) SWIG_AsInt(obj1
);
2463 if (PyErr_Occurred()) SWIG_fail
;
2466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2467 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2469 wxPyEndAllowThreads(__tstate
);
2470 if (PyErr_Occurred()) SWIG_fail
;
2472 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2479 static PyObject
*_wrap_delete_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2480 PyObject
*resultobj
;
2481 wxBrush
*arg1
= (wxBrush
*) 0 ;
2482 PyObject
* obj0
= 0 ;
2484 (char *) "self", NULL
2487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2494 wxPyEndAllowThreads(__tstate
);
2495 if (PyErr_Occurred()) SWIG_fail
;
2497 Py_INCREF(Py_None
); resultobj
= Py_None
;
2504 static PyObject
*_wrap_Brush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2505 PyObject
*resultobj
;
2506 wxBrush
*arg1
= (wxBrush
*) 0 ;
2507 wxColour
*arg2
= 0 ;
2509 PyObject
* obj0
= 0 ;
2510 PyObject
* obj1
= 0 ;
2512 (char *) "self",(char *) "col", NULL
2515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2520 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2524 (arg1
)->SetColour((wxColour
const &)*arg2
);
2526 wxPyEndAllowThreads(__tstate
);
2527 if (PyErr_Occurred()) SWIG_fail
;
2529 Py_INCREF(Py_None
); resultobj
= Py_None
;
2536 static PyObject
*_wrap_Brush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2537 PyObject
*resultobj
;
2538 wxBrush
*arg1
= (wxBrush
*) 0 ;
2540 PyObject
* obj0
= 0 ;
2541 PyObject
* obj1
= 0 ;
2543 (char *) "self",(char *) "style", NULL
2546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2549 arg2
= (int) SWIG_AsInt(obj1
);
2550 if (PyErr_Occurred()) SWIG_fail
;
2552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2553 (arg1
)->SetStyle(arg2
);
2555 wxPyEndAllowThreads(__tstate
);
2556 if (PyErr_Occurred()) SWIG_fail
;
2558 Py_INCREF(Py_None
); resultobj
= Py_None
;
2565 static PyObject
*_wrap_Brush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2566 PyObject
*resultobj
;
2567 wxBrush
*arg1
= (wxBrush
*) 0 ;
2568 wxBitmap
*arg2
= 0 ;
2569 PyObject
* obj0
= 0 ;
2570 PyObject
* obj1
= 0 ;
2572 (char *) "self",(char *) "stipple", NULL
2575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2578 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2579 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2582 PyErr_SetString(PyExc_TypeError
,"null reference");
2586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2587 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2589 wxPyEndAllowThreads(__tstate
);
2590 if (PyErr_Occurred()) SWIG_fail
;
2592 Py_INCREF(Py_None
); resultobj
= Py_None
;
2599 static PyObject
*_wrap_Brush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2600 PyObject
*resultobj
;
2601 wxBrush
*arg1
= (wxBrush
*) 0 ;
2603 PyObject
* obj0
= 0 ;
2605 (char *) "self", NULL
2608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2613 result
= ((wxBrush
const *)arg1
)->GetColour();
2615 wxPyEndAllowThreads(__tstate
);
2616 if (PyErr_Occurred()) SWIG_fail
;
2619 wxColour
* resultptr
;
2620 resultptr
= new wxColour((wxColour
&) result
);
2621 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2629 static PyObject
*_wrap_Brush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2630 PyObject
*resultobj
;
2631 wxBrush
*arg1
= (wxBrush
*) 0 ;
2633 PyObject
* obj0
= 0 ;
2635 (char *) "self", NULL
2638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2643 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2645 wxPyEndAllowThreads(__tstate
);
2646 if (PyErr_Occurred()) SWIG_fail
;
2648 resultobj
= SWIG_FromInt((int)result
);
2655 static PyObject
*_wrap_Brush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2656 PyObject
*resultobj
;
2657 wxBrush
*arg1
= (wxBrush
*) 0 ;
2659 PyObject
* obj0
= 0 ;
2661 (char *) "self", NULL
2664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2669 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2671 wxPyEndAllowThreads(__tstate
);
2672 if (PyErr_Occurred()) SWIG_fail
;
2674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2681 static PyObject
*_wrap_Brush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2682 PyObject
*resultobj
;
2683 wxBrush
*arg1
= (wxBrush
*) 0 ;
2685 PyObject
* obj0
= 0 ;
2687 (char *) "self", NULL
2690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2695 result
= (bool)(arg1
)->Ok();
2697 wxPyEndAllowThreads(__tstate
);
2698 if (PyErr_Occurred()) SWIG_fail
;
2700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2707 static PyObject
* Brush_swigregister(PyObject
*self
, PyObject
*args
) {
2709 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2710 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2712 return Py_BuildValue((char *)"");
2714 static PyObject
*_wrap_new_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2715 PyObject
*resultobj
;
2716 wxString
*arg1
= 0 ;
2717 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2719 bool temp1
= False
;
2720 PyObject
* obj0
= 0 ;
2721 PyObject
* obj1
= 0 ;
2723 (char *) "name",(char *) "type", NULL
2726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2728 arg1
= wxString_in_helper(obj0
);
2729 if (arg1
== NULL
) SWIG_fail
;
2733 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
2734 if (PyErr_Occurred()) SWIG_fail
;
2737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2738 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2740 wxPyEndAllowThreads(__tstate
);
2741 if (PyErr_Occurred()) SWIG_fail
;
2743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2758 static PyObject
*_wrap_delete_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2759 PyObject
*resultobj
;
2760 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2761 PyObject
* obj0
= 0 ;
2763 (char *) "self", NULL
2766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2773 wxPyEndAllowThreads(__tstate
);
2774 if (PyErr_Occurred()) SWIG_fail
;
2776 Py_INCREF(Py_None
); resultobj
= Py_None
;
2783 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2784 PyObject
*resultobj
;
2787 int arg3
= (int) -1 ;
2789 PyObject
* obj0
= 0 ;
2790 PyObject
* obj1
= 0 ;
2791 PyObject
* obj2
= 0 ;
2793 (char *) "width",(char *) "height",(char *) "depth", NULL
2796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2797 arg1
= (int) SWIG_AsInt(obj0
);
2798 if (PyErr_Occurred()) SWIG_fail
;
2799 arg2
= (int) SWIG_AsInt(obj1
);
2800 if (PyErr_Occurred()) SWIG_fail
;
2802 arg3
= (int) SWIG_AsInt(obj2
);
2803 if (PyErr_Occurred()) SWIG_fail
;
2806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2807 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2809 wxPyEndAllowThreads(__tstate
);
2810 if (PyErr_Occurred()) SWIG_fail
;
2812 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2819 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2820 PyObject
*resultobj
;
2823 PyObject
* obj0
= 0 ;
2825 (char *) "icon", NULL
2828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
2830 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2833 PyErr_SetString(PyExc_TypeError
,"null reference");
2837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2838 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2840 wxPyEndAllowThreads(__tstate
);
2841 if (PyErr_Occurred()) SWIG_fail
;
2843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2850 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2851 PyObject
*resultobj
;
2853 int arg2
= (int) -1 ;
2855 PyObject
* obj0
= 0 ;
2856 PyObject
* obj1
= 0 ;
2858 (char *) "image",(char *) "depth", NULL
2861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2863 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2866 PyErr_SetString(PyExc_TypeError
,"null reference");
2870 arg2
= (int) SWIG_AsInt(obj1
);
2871 if (PyErr_Occurred()) SWIG_fail
;
2874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2875 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2877 wxPyEndAllowThreads(__tstate
);
2878 if (PyErr_Occurred()) SWIG_fail
;
2880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2887 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2888 PyObject
*resultobj
;
2889 PyObject
*arg1
= (PyObject
*) 0 ;
2891 PyObject
* obj0
= 0 ;
2893 (char *) "listOfStrings", NULL
2896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2900 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2902 wxPyEndAllowThreads(__tstate
);
2903 if (PyErr_Occurred()) SWIG_fail
;
2905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2912 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2913 PyObject
*resultobj
;
2914 PyObject
*arg1
= (PyObject
*) 0 ;
2917 int arg4
= (int) 1 ;
2919 PyObject
* obj0
= 0 ;
2920 PyObject
* obj1
= 0 ;
2921 PyObject
* obj2
= 0 ;
2922 PyObject
* obj3
= 0 ;
2924 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2929 arg2
= (int) SWIG_AsInt(obj1
);
2930 if (PyErr_Occurred()) SWIG_fail
;
2931 arg3
= (int) SWIG_AsInt(obj2
);
2932 if (PyErr_Occurred()) SWIG_fail
;
2934 arg4
= (int) SWIG_AsInt(obj3
);
2935 if (PyErr_Occurred()) SWIG_fail
;
2938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2939 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2941 wxPyEndAllowThreads(__tstate
);
2942 if (PyErr_Occurred()) SWIG_fail
;
2944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2951 static PyObject
*_wrap_Bitmap_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2952 PyObject
*resultobj
;
2953 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2954 wxPalette
*arg2
= 0 ;
2955 PyObject
* obj0
= 0 ;
2956 PyObject
* obj1
= 0 ;
2958 (char *) "self",(char *) "palette", NULL
2961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
2962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2964 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
2965 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2968 PyErr_SetString(PyExc_TypeError
,"null reference");
2972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2973 (arg1
)->SetPalette(*arg2
);
2975 wxPyEndAllowThreads(__tstate
);
2976 if (PyErr_Occurred()) SWIG_fail
;
2978 Py_INCREF(Py_None
); resultobj
= Py_None
;
2985 static PyObject
*_wrap_Bitmap_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2986 PyObject
*resultobj
;
2987 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2989 PyObject
* obj0
= 0 ;
2991 (char *) "self", NULL
2994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHandle",kwnames
,&obj0
)) goto fail
;
2995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2999 result
= (long)(arg1
)->GetHandle();
3001 wxPyEndAllowThreads(__tstate
);
3002 if (PyErr_Occurred()) SWIG_fail
;
3004 resultobj
= SWIG_FromLong((long)result
);
3011 static PyObject
*_wrap_Bitmap_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3012 PyObject
*resultobj
;
3013 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3015 PyObject
* obj0
= 0 ;
3016 PyObject
* obj1
= 0 ;
3018 (char *) "self",(char *) "handle", NULL
3021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
3022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3024 arg2
= (long) SWIG_AsLong(obj1
);
3025 if (PyErr_Occurred()) SWIG_fail
;
3027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3028 wxBitmap_SetHandle(arg1
,arg2
);
3030 wxPyEndAllowThreads(__tstate
);
3031 if (PyErr_Occurred()) SWIG_fail
;
3033 Py_INCREF(Py_None
); resultobj
= Py_None
;
3040 static PyObject
*_wrap_Bitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3041 PyObject
*resultobj
;
3042 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3044 PyObject
* obj0
= 0 ;
3046 (char *) "self", NULL
3049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
3050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3054 result
= (bool)(arg1
)->Ok();
3056 wxPyEndAllowThreads(__tstate
);
3057 if (PyErr_Occurred()) SWIG_fail
;
3059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3066 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3067 PyObject
*resultobj
;
3068 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3070 PyObject
* obj0
= 0 ;
3072 (char *) "self", NULL
3075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
3076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3080 result
= (int)(arg1
)->GetWidth();
3082 wxPyEndAllowThreads(__tstate
);
3083 if (PyErr_Occurred()) SWIG_fail
;
3085 resultobj
= SWIG_FromInt((int)result
);
3092 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3093 PyObject
*resultobj
;
3094 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3096 PyObject
* obj0
= 0 ;
3098 (char *) "self", NULL
3101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
3102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3106 result
= (int)(arg1
)->GetHeight();
3108 wxPyEndAllowThreads(__tstate
);
3109 if (PyErr_Occurred()) SWIG_fail
;
3111 resultobj
= SWIG_FromInt((int)result
);
3118 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3119 PyObject
*resultobj
;
3120 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3122 PyObject
* obj0
= 0 ;
3124 (char *) "self", NULL
3127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
3128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3132 result
= (int)(arg1
)->GetDepth();
3134 wxPyEndAllowThreads(__tstate
);
3135 if (PyErr_Occurred()) SWIG_fail
;
3137 resultobj
= SWIG_FromInt((int)result
);
3144 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3145 PyObject
*resultobj
;
3146 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3147 SwigValueWrapper
< wxImage
> result
;
3148 PyObject
* obj0
= 0 ;
3150 (char *) "self", NULL
3153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
3154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3158 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
3160 wxPyEndAllowThreads(__tstate
);
3161 if (PyErr_Occurred()) SWIG_fail
;
3164 wxImage
* resultptr
;
3165 resultptr
= new wxImage((wxImage
&) result
);
3166 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
3174 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3175 PyObject
*resultobj
;
3176 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3178 PyObject
* obj0
= 0 ;
3180 (char *) "self", NULL
3183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
3184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3188 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
3190 wxPyEndAllowThreads(__tstate
);
3191 if (PyErr_Occurred()) SWIG_fail
;
3193 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
3200 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3201 PyObject
*resultobj
;
3202 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3203 wxMask
*arg2
= (wxMask
*) 0 ;
3204 PyObject
* obj0
= 0 ;
3205 PyObject
* obj1
= 0 ;
3207 (char *) "self",(char *) "mask", NULL
3210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3213 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3217 (arg1
)->SetMask(arg2
);
3219 wxPyEndAllowThreads(__tstate
);
3220 if (PyErr_Occurred()) SWIG_fail
;
3222 Py_INCREF(Py_None
); resultobj
= Py_None
;
3229 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3230 PyObject
*resultobj
;
3231 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3232 wxColour
*arg2
= 0 ;
3234 PyObject
* obj0
= 0 ;
3235 PyObject
* obj1
= 0 ;
3237 (char *) "self",(char *) "colour", NULL
3240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3245 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3249 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3251 wxPyEndAllowThreads(__tstate
);
3252 if (PyErr_Occurred()) SWIG_fail
;
3254 Py_INCREF(Py_None
); resultobj
= Py_None
;
3261 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3262 PyObject
*resultobj
;
3263 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3265 SwigValueWrapper
< wxBitmap
> result
;
3267 PyObject
* obj0
= 0 ;
3268 PyObject
* obj1
= 0 ;
3270 (char *) "self",(char *) "rect", NULL
3273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3278 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3282 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3284 wxPyEndAllowThreads(__tstate
);
3285 if (PyErr_Occurred()) SWIG_fail
;
3288 wxBitmap
* resultptr
;
3289 resultptr
= new wxBitmap((wxBitmap
&) result
);
3290 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3298 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3299 PyObject
*resultobj
;
3300 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3301 wxString
*arg2
= 0 ;
3303 wxPalette
*arg4
= (wxPalette
*) (wxPalette
*) NULL
;
3305 bool temp2
= False
;
3306 PyObject
* obj0
= 0 ;
3307 PyObject
* obj1
= 0 ;
3308 PyObject
* obj2
= 0 ;
3309 PyObject
* obj3
= 0 ;
3311 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3318 arg2
= wxString_in_helper(obj1
);
3319 if (arg2
== NULL
) SWIG_fail
;
3322 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3323 if (PyErr_Occurred()) SWIG_fail
;
3325 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3330 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3332 wxPyEndAllowThreads(__tstate
);
3333 if (PyErr_Occurred()) SWIG_fail
;
3335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3350 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3351 PyObject
*resultobj
;
3352 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3353 wxString
*arg2
= 0 ;
3356 bool temp2
= False
;
3357 PyObject
* obj0
= 0 ;
3358 PyObject
* obj1
= 0 ;
3359 PyObject
* obj2
= 0 ;
3361 (char *) "self",(char *) "name",(char *) "type", NULL
3364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3368 arg2
= wxString_in_helper(obj1
);
3369 if (arg2
== NULL
) SWIG_fail
;
3372 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3373 if (PyErr_Occurred()) SWIG_fail
;
3375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3376 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3378 wxPyEndAllowThreads(__tstate
);
3379 if (PyErr_Occurred()) SWIG_fail
;
3381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3396 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3397 PyObject
*resultobj
;
3398 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3401 PyObject
* obj0
= 0 ;
3402 PyObject
* obj1
= 0 ;
3404 (char *) "self",(char *) "icon", NULL
3407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3410 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3411 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3414 PyErr_SetString(PyExc_TypeError
,"null reference");
3418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3419 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3421 wxPyEndAllowThreads(__tstate
);
3422 if (PyErr_Occurred()) SWIG_fail
;
3424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3431 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3432 PyObject
*resultobj
;
3433 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3435 PyObject
* obj0
= 0 ;
3436 PyObject
* obj1
= 0 ;
3438 (char *) "self",(char *) "height", NULL
3441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3444 arg2
= (int) SWIG_AsInt(obj1
);
3445 if (PyErr_Occurred()) SWIG_fail
;
3447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3448 (arg1
)->SetHeight(arg2
);
3450 wxPyEndAllowThreads(__tstate
);
3451 if (PyErr_Occurred()) SWIG_fail
;
3453 Py_INCREF(Py_None
); resultobj
= Py_None
;
3460 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3461 PyObject
*resultobj
;
3462 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3464 PyObject
* obj0
= 0 ;
3465 PyObject
* obj1
= 0 ;
3467 (char *) "self",(char *) "width", NULL
3470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3473 arg2
= (int) SWIG_AsInt(obj1
);
3474 if (PyErr_Occurred()) SWIG_fail
;
3476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3477 (arg1
)->SetWidth(arg2
);
3479 wxPyEndAllowThreads(__tstate
);
3480 if (PyErr_Occurred()) SWIG_fail
;
3482 Py_INCREF(Py_None
); resultobj
= Py_None
;
3489 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3490 PyObject
*resultobj
;
3491 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3493 PyObject
* obj0
= 0 ;
3494 PyObject
* obj1
= 0 ;
3496 (char *) "self",(char *) "depth", NULL
3499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3502 arg2
= (int) SWIG_AsInt(obj1
);
3503 if (PyErr_Occurred()) SWIG_fail
;
3505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3506 (arg1
)->SetDepth(arg2
);
3508 wxPyEndAllowThreads(__tstate
);
3509 if (PyErr_Occurred()) SWIG_fail
;
3511 Py_INCREF(Py_None
); resultobj
= Py_None
;
3518 static PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3519 PyObject
*resultobj
;
3520 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3521 wxCursor
*arg2
= 0 ;
3523 PyObject
* obj0
= 0 ;
3524 PyObject
* obj1
= 0 ;
3526 (char *) "self",(char *) "cursor", NULL
3529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
3530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3532 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
3533 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3536 PyErr_SetString(PyExc_TypeError
,"null reference");
3540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3541 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
3543 wxPyEndAllowThreads(__tstate
);
3544 if (PyErr_Occurred()) SWIG_fail
;
3546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3553 static PyObject
*_wrap_Bitmap_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3554 PyObject
*resultobj
;
3555 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3557 PyObject
* obj0
= 0 ;
3559 (char *) "self", NULL
3562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetQuality",kwnames
,&obj0
)) goto fail
;
3563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3567 result
= (int)(arg1
)->GetQuality();
3569 wxPyEndAllowThreads(__tstate
);
3570 if (PyErr_Occurred()) SWIG_fail
;
3572 resultobj
= SWIG_FromInt((int)result
);
3579 static PyObject
*_wrap_Bitmap_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3580 PyObject
*resultobj
;
3581 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3583 PyObject
* obj0
= 0 ;
3584 PyObject
* obj1
= 0 ;
3586 (char *) "self",(char *) "q", NULL
3589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
3590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3592 arg2
= (int) SWIG_AsInt(obj1
);
3593 if (PyErr_Occurred()) SWIG_fail
;
3595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3596 (arg1
)->SetQuality(arg2
);
3598 wxPyEndAllowThreads(__tstate
);
3599 if (PyErr_Occurred()) SWIG_fail
;
3601 Py_INCREF(Py_None
); resultobj
= Py_None
;
3608 static PyObject
*_wrap_Bitmap___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3609 PyObject
*resultobj
;
3610 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3611 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3613 PyObject
* obj0
= 0 ;
3614 PyObject
* obj1
= 0 ;
3616 (char *) "self",(char *) "other", NULL
3619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3622 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3626 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
3628 wxPyEndAllowThreads(__tstate
);
3629 if (PyErr_Occurred()) SWIG_fail
;
3631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3638 static PyObject
*_wrap_Bitmap___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3639 PyObject
*resultobj
;
3640 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3641 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3643 PyObject
* obj0
= 0 ;
3644 PyObject
* obj1
= 0 ;
3646 (char *) "self",(char *) "other", NULL
3649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3652 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3656 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
3658 wxPyEndAllowThreads(__tstate
);
3659 if (PyErr_Occurred()) SWIG_fail
;
3661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3668 static PyObject
* Bitmap_swigregister(PyObject
*self
, PyObject
*args
) {
3670 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3671 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3673 return Py_BuildValue((char *)"");
3675 static PyObject
*_wrap_new_Mask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3676 PyObject
*resultobj
;
3677 wxBitmap
*arg1
= 0 ;
3678 wxColour
const &arg2_defvalue
= wxNullColour
;
3679 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3682 PyObject
* obj0
= 0 ;
3683 PyObject
* obj1
= 0 ;
3685 (char *) "bitmap",(char *) "colour", NULL
3688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3690 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3693 PyErr_SetString(PyExc_TypeError
,"null reference");
3699 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3704 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3706 wxPyEndAllowThreads(__tstate
);
3707 if (PyErr_Occurred()) SWIG_fail
;
3709 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3716 static PyObject
* Mask_swigregister(PyObject
*self
, PyObject
*args
) {
3718 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3719 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3721 return Py_BuildValue((char *)"");
3723 static PyObject
*_wrap_new_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3724 PyObject
*resultobj
;
3725 wxString
*arg1
= 0 ;
3727 int arg3
= (int) -1 ;
3728 int arg4
= (int) -1 ;
3730 bool temp1
= False
;
3731 PyObject
* obj0
= 0 ;
3732 PyObject
* obj1
= 0 ;
3733 PyObject
* obj2
= 0 ;
3734 PyObject
* obj3
= 0 ;
3736 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3741 arg1
= wxString_in_helper(obj0
);
3742 if (arg1
== NULL
) SWIG_fail
;
3745 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
3746 if (PyErr_Occurred()) SWIG_fail
;
3748 arg3
= (int) SWIG_AsInt(obj2
);
3749 if (PyErr_Occurred()) SWIG_fail
;
3752 arg4
= (int) SWIG_AsInt(obj3
);
3753 if (PyErr_Occurred()) SWIG_fail
;
3756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3757 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3759 wxPyEndAllowThreads(__tstate
);
3760 if (PyErr_Occurred()) SWIG_fail
;
3762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3777 static PyObject
*_wrap_delete_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3778 PyObject
*resultobj
;
3779 wxIcon
*arg1
= (wxIcon
*) 0 ;
3780 PyObject
* obj0
= 0 ;
3782 (char *) "self", NULL
3785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3792 wxPyEndAllowThreads(__tstate
);
3793 if (PyErr_Occurred()) SWIG_fail
;
3795 Py_INCREF(Py_None
); resultobj
= Py_None
;
3802 static PyObject
*_wrap_new_EmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3803 PyObject
*resultobj
;
3809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3812 result
= (wxIcon
*)new wxIcon();
3814 wxPyEndAllowThreads(__tstate
);
3815 if (PyErr_Occurred()) SWIG_fail
;
3817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3824 static PyObject
*_wrap_new_IconFromLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3825 PyObject
*resultobj
;
3826 wxIconLocation
*arg1
= 0 ;
3828 PyObject
* obj0
= 0 ;
3830 (char *) "loc", NULL
3833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3835 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3838 PyErr_SetString(PyExc_TypeError
,"null reference");
3842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3843 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3845 wxPyEndAllowThreads(__tstate
);
3846 if (PyErr_Occurred()) SWIG_fail
;
3848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3855 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3856 PyObject
*resultobj
;
3857 wxBitmap
*arg1
= 0 ;
3859 PyObject
* obj0
= 0 ;
3861 (char *) "bmp", NULL
3864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3866 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3869 PyErr_SetString(PyExc_TypeError
,"null reference");
3873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3874 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3876 wxPyEndAllowThreads(__tstate
);
3877 if (PyErr_Occurred()) SWIG_fail
;
3879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3886 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3887 PyObject
*resultobj
;
3888 PyObject
*arg1
= (PyObject
*) 0 ;
3890 PyObject
* obj0
= 0 ;
3892 (char *) "listOfStrings", NULL
3895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3899 result
= (wxIcon
*)new_wxIcon(arg1
);
3901 wxPyEndAllowThreads(__tstate
);
3902 if (PyErr_Occurred()) SWIG_fail
;
3904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3911 static PyObject
*_wrap_Icon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3912 PyObject
*resultobj
;
3913 wxIcon
*arg1
= (wxIcon
*) 0 ;
3914 wxString
*arg2
= 0 ;
3917 bool temp2
= False
;
3918 PyObject
* obj0
= 0 ;
3919 PyObject
* obj1
= 0 ;
3920 PyObject
* obj2
= 0 ;
3922 (char *) "self",(char *) "name",(char *) "type", NULL
3925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3929 arg2
= wxString_in_helper(obj1
);
3930 if (arg2
== NULL
) SWIG_fail
;
3933 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3934 if (PyErr_Occurred()) SWIG_fail
;
3936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3937 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3939 wxPyEndAllowThreads(__tstate
);
3940 if (PyErr_Occurred()) SWIG_fail
;
3942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3957 static PyObject
*_wrap_Icon_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3958 PyObject
*resultobj
;
3959 wxIcon
*arg1
= (wxIcon
*) 0 ;
3961 PyObject
* obj0
= 0 ;
3963 (char *) "self", NULL
3966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHandle",kwnames
,&obj0
)) goto fail
;
3967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3971 result
= (long)(arg1
)->GetHandle();
3973 wxPyEndAllowThreads(__tstate
);
3974 if (PyErr_Occurred()) SWIG_fail
;
3976 resultobj
= SWIG_FromLong((long)result
);
3983 static PyObject
*_wrap_Icon_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3984 PyObject
*resultobj
;
3985 wxIcon
*arg1
= (wxIcon
*) 0 ;
3987 PyObject
* obj0
= 0 ;
3988 PyObject
* obj1
= 0 ;
3990 (char *) "self",(char *) "handle", NULL
3993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
3994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3996 arg2
= (long) SWIG_AsLong(obj1
);
3997 if (PyErr_Occurred()) SWIG_fail
;
3999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4000 wxIcon_SetHandle(arg1
,arg2
);
4002 wxPyEndAllowThreads(__tstate
);
4003 if (PyErr_Occurred()) SWIG_fail
;
4005 Py_INCREF(Py_None
); resultobj
= Py_None
;
4012 static PyObject
*_wrap_Icon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4013 PyObject
*resultobj
;
4014 wxIcon
*arg1
= (wxIcon
*) 0 ;
4016 PyObject
* obj0
= 0 ;
4018 (char *) "self", NULL
4021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
4022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4026 result
= (bool)(arg1
)->Ok();
4028 wxPyEndAllowThreads(__tstate
);
4029 if (PyErr_Occurred()) SWIG_fail
;
4031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4038 static PyObject
*_wrap_Icon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4039 PyObject
*resultobj
;
4040 wxIcon
*arg1
= (wxIcon
*) 0 ;
4042 PyObject
* obj0
= 0 ;
4044 (char *) "self", NULL
4047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
4048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4052 result
= (int)(arg1
)->GetWidth();
4054 wxPyEndAllowThreads(__tstate
);
4055 if (PyErr_Occurred()) SWIG_fail
;
4057 resultobj
= SWIG_FromInt((int)result
);
4064 static PyObject
*_wrap_Icon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4065 PyObject
*resultobj
;
4066 wxIcon
*arg1
= (wxIcon
*) 0 ;
4068 PyObject
* obj0
= 0 ;
4070 (char *) "self", NULL
4073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
4074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4078 result
= (int)(arg1
)->GetHeight();
4080 wxPyEndAllowThreads(__tstate
);
4081 if (PyErr_Occurred()) SWIG_fail
;
4083 resultobj
= SWIG_FromInt((int)result
);
4090 static PyObject
*_wrap_Icon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4091 PyObject
*resultobj
;
4092 wxIcon
*arg1
= (wxIcon
*) 0 ;
4094 PyObject
* obj0
= 0 ;
4096 (char *) "self", NULL
4099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
4100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4104 result
= (int)(arg1
)->GetDepth();
4106 wxPyEndAllowThreads(__tstate
);
4107 if (PyErr_Occurred()) SWIG_fail
;
4109 resultobj
= SWIG_FromInt((int)result
);
4116 static PyObject
*_wrap_Icon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4117 PyObject
*resultobj
;
4118 wxIcon
*arg1
= (wxIcon
*) 0 ;
4120 PyObject
* obj0
= 0 ;
4121 PyObject
* obj1
= 0 ;
4123 (char *) "self",(char *) "w", NULL
4126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4129 arg2
= (int) SWIG_AsInt(obj1
);
4130 if (PyErr_Occurred()) SWIG_fail
;
4132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4133 (arg1
)->SetWidth(arg2
);
4135 wxPyEndAllowThreads(__tstate
);
4136 if (PyErr_Occurred()) SWIG_fail
;
4138 Py_INCREF(Py_None
); resultobj
= Py_None
;
4145 static PyObject
*_wrap_Icon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4146 PyObject
*resultobj
;
4147 wxIcon
*arg1
= (wxIcon
*) 0 ;
4149 PyObject
* obj0
= 0 ;
4150 PyObject
* obj1
= 0 ;
4152 (char *) "self",(char *) "h", NULL
4155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
4156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4158 arg2
= (int) SWIG_AsInt(obj1
);
4159 if (PyErr_Occurred()) SWIG_fail
;
4161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4162 (arg1
)->SetHeight(arg2
);
4164 wxPyEndAllowThreads(__tstate
);
4165 if (PyErr_Occurred()) SWIG_fail
;
4167 Py_INCREF(Py_None
); resultobj
= Py_None
;
4174 static PyObject
*_wrap_Icon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4175 PyObject
*resultobj
;
4176 wxIcon
*arg1
= (wxIcon
*) 0 ;
4178 PyObject
* obj0
= 0 ;
4179 PyObject
* obj1
= 0 ;
4181 (char *) "self",(char *) "d", NULL
4184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
4185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4187 arg2
= (int) SWIG_AsInt(obj1
);
4188 if (PyErr_Occurred()) SWIG_fail
;
4190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4191 (arg1
)->SetDepth(arg2
);
4193 wxPyEndAllowThreads(__tstate
);
4194 if (PyErr_Occurred()) SWIG_fail
;
4196 Py_INCREF(Py_None
); resultobj
= Py_None
;
4203 static PyObject
*_wrap_Icon_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4204 PyObject
*resultobj
;
4205 wxIcon
*arg1
= (wxIcon
*) 0 ;
4208 PyObject
* obj0
= 0 ;
4209 PyObject
* obj1
= 0 ;
4211 (char *) "self",(char *) "size", NULL
4214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4219 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4223 (arg1
)->SetSize((wxSize
const &)*arg2
);
4225 wxPyEndAllowThreads(__tstate
);
4226 if (PyErr_Occurred()) SWIG_fail
;
4228 Py_INCREF(Py_None
); resultobj
= Py_None
;
4235 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4236 PyObject
*resultobj
;
4237 wxIcon
*arg1
= (wxIcon
*) 0 ;
4238 wxBitmap
*arg2
= 0 ;
4239 PyObject
* obj0
= 0 ;
4240 PyObject
* obj1
= 0 ;
4242 (char *) "self",(char *) "bmp", NULL
4245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4248 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4249 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4252 PyErr_SetString(PyExc_TypeError
,"null reference");
4256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4257 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
4259 wxPyEndAllowThreads(__tstate
);
4260 if (PyErr_Occurred()) SWIG_fail
;
4262 Py_INCREF(Py_None
); resultobj
= Py_None
;
4269 static PyObject
* Icon_swigregister(PyObject
*self
, PyObject
*args
) {
4271 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4272 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
4274 return Py_BuildValue((char *)"");
4276 static PyObject
*_wrap_new_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4277 PyObject
*resultobj
;
4278 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
4279 int arg2
= (int) 0 ;
4280 wxIconLocation
*result
;
4281 bool temp1
= False
;
4282 PyObject
* obj0
= 0 ;
4283 PyObject
* obj1
= 0 ;
4285 (char *) "filename",(char *) "num", NULL
4288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
4291 arg1
= wxString_in_helper(obj0
);
4292 if (arg1
== NULL
) SWIG_fail
;
4297 arg2
= (int) SWIG_AsInt(obj1
);
4298 if (PyErr_Occurred()) SWIG_fail
;
4301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4302 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
4304 wxPyEndAllowThreads(__tstate
);
4305 if (PyErr_Occurred()) SWIG_fail
;
4307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
4322 static PyObject
*_wrap_delete_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4323 PyObject
*resultobj
;
4324 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4325 PyObject
* obj0
= 0 ;
4327 (char *) "self", NULL
4330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
4331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4337 wxPyEndAllowThreads(__tstate
);
4338 if (PyErr_Occurred()) SWIG_fail
;
4340 Py_INCREF(Py_None
); resultobj
= Py_None
;
4347 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4348 PyObject
*resultobj
;
4349 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4351 PyObject
* obj0
= 0 ;
4353 (char *) "self", NULL
4356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
4357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4361 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
4363 wxPyEndAllowThreads(__tstate
);
4364 if (PyErr_Occurred()) SWIG_fail
;
4366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4373 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4374 PyObject
*resultobj
;
4375 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4376 wxString
*arg2
= 0 ;
4377 bool temp2
= False
;
4378 PyObject
* obj0
= 0 ;
4379 PyObject
* obj1
= 0 ;
4381 (char *) "self",(char *) "filename", NULL
4384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4388 arg2
= wxString_in_helper(obj1
);
4389 if (arg2
== NULL
) SWIG_fail
;
4393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4394 (arg1
)->SetFileName((wxString
const &)*arg2
);
4396 wxPyEndAllowThreads(__tstate
);
4397 if (PyErr_Occurred()) SWIG_fail
;
4399 Py_INCREF(Py_None
); resultobj
= Py_None
;
4414 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4415 PyObject
*resultobj
;
4416 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4418 PyObject
* obj0
= 0 ;
4420 (char *) "self", NULL
4423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4429 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4430 result
= (wxString
*) &_result_ref
;
4433 wxPyEndAllowThreads(__tstate
);
4434 if (PyErr_Occurred()) SWIG_fail
;
4438 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4440 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4449 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4450 PyObject
*resultobj
;
4451 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4453 PyObject
* obj0
= 0 ;
4454 PyObject
* obj1
= 0 ;
4456 (char *) "self",(char *) "num", NULL
4459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4462 arg2
= (int) SWIG_AsInt(obj1
);
4463 if (PyErr_Occurred()) SWIG_fail
;
4465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4466 wxIconLocation_SetIndex(arg1
,arg2
);
4468 wxPyEndAllowThreads(__tstate
);
4469 if (PyErr_Occurred()) SWIG_fail
;
4471 Py_INCREF(Py_None
); resultobj
= Py_None
;
4478 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4479 PyObject
*resultobj
;
4480 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4482 PyObject
* obj0
= 0 ;
4484 (char *) "self", NULL
4487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4492 result
= (int)wxIconLocation_GetIndex(arg1
);
4494 wxPyEndAllowThreads(__tstate
);
4495 if (PyErr_Occurred()) SWIG_fail
;
4497 resultobj
= SWIG_FromInt((int)result
);
4504 static PyObject
* IconLocation_swigregister(PyObject
*self
, PyObject
*args
) {
4506 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4507 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4509 return Py_BuildValue((char *)"");
4511 static PyObject
*_wrap_new_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4512 PyObject
*resultobj
;
4513 wxIconBundle
*result
;
4518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4521 result
= (wxIconBundle
*)new wxIconBundle();
4523 wxPyEndAllowThreads(__tstate
);
4524 if (PyErr_Occurred()) SWIG_fail
;
4526 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4533 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4534 PyObject
*resultobj
;
4535 wxString
*arg1
= 0 ;
4537 wxIconBundle
*result
;
4538 bool temp1
= False
;
4539 PyObject
* obj0
= 0 ;
4540 PyObject
* obj1
= 0 ;
4542 (char *) "file",(char *) "type", NULL
4545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4547 arg1
= wxString_in_helper(obj0
);
4548 if (arg1
== NULL
) SWIG_fail
;
4551 arg2
= (long) SWIG_AsLong(obj1
);
4552 if (PyErr_Occurred()) SWIG_fail
;
4554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4555 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4557 wxPyEndAllowThreads(__tstate
);
4558 if (PyErr_Occurred()) SWIG_fail
;
4560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4575 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4576 PyObject
*resultobj
;
4578 wxIconBundle
*result
;
4579 PyObject
* obj0
= 0 ;
4581 (char *) "icon", NULL
4584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4586 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4589 PyErr_SetString(PyExc_TypeError
,"null reference");
4593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4594 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4596 wxPyEndAllowThreads(__tstate
);
4597 if (PyErr_Occurred()) SWIG_fail
;
4599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4606 static PyObject
*_wrap_delete_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4607 PyObject
*resultobj
;
4608 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4609 PyObject
* obj0
= 0 ;
4611 (char *) "self", NULL
4614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4621 wxPyEndAllowThreads(__tstate
);
4622 if (PyErr_Occurred()) SWIG_fail
;
4624 Py_INCREF(Py_None
); resultobj
= Py_None
;
4631 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4632 PyObject
*resultobj
;
4633 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4635 PyObject
* obj0
= 0 ;
4636 PyObject
* obj1
= 0 ;
4638 (char *) "self",(char *) "icon", NULL
4641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4644 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4645 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4648 PyErr_SetString(PyExc_TypeError
,"null reference");
4652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4653 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4655 wxPyEndAllowThreads(__tstate
);
4656 if (PyErr_Occurred()) SWIG_fail
;
4658 Py_INCREF(Py_None
); resultobj
= Py_None
;
4665 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4666 PyObject
*resultobj
;
4667 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4668 wxString
*arg2
= 0 ;
4670 bool temp2
= False
;
4671 PyObject
* obj0
= 0 ;
4672 PyObject
* obj1
= 0 ;
4673 PyObject
* obj2
= 0 ;
4675 (char *) "self",(char *) "file",(char *) "type", NULL
4678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4682 arg2
= wxString_in_helper(obj1
);
4683 if (arg2
== NULL
) SWIG_fail
;
4686 arg3
= (long) SWIG_AsLong(obj2
);
4687 if (PyErr_Occurred()) SWIG_fail
;
4689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4690 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4692 wxPyEndAllowThreads(__tstate
);
4693 if (PyErr_Occurred()) SWIG_fail
;
4695 Py_INCREF(Py_None
); resultobj
= Py_None
;
4710 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4711 PyObject
*resultobj
;
4712 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4716 PyObject
* obj0
= 0 ;
4717 PyObject
* obj1
= 0 ;
4719 (char *) "self",(char *) "size", NULL
4722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4727 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4732 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4733 result
= (wxIcon
*) &_result_ref
;
4736 wxPyEndAllowThreads(__tstate
);
4737 if (PyErr_Occurred()) SWIG_fail
;
4740 wxIcon
* resultptr
= new wxIcon(*result
);
4741 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4749 static PyObject
* IconBundle_swigregister(PyObject
*self
, PyObject
*args
) {
4751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4752 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4754 return Py_BuildValue((char *)"");
4756 static PyObject
*_wrap_new_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4757 PyObject
*resultobj
;
4758 wxString
*arg1
= (wxString
*) 0 ;
4760 int arg3
= (int) 0 ;
4761 int arg4
= (int) 0 ;
4763 bool temp1
= False
;
4764 PyObject
* obj0
= 0 ;
4765 PyObject
* obj1
= 0 ;
4766 PyObject
* obj2
= 0 ;
4767 PyObject
* obj3
= 0 ;
4769 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4774 arg1
= wxString_in_helper(obj0
);
4775 if (arg1
== NULL
) SWIG_fail
;
4778 arg2
= (long) SWIG_AsLong(obj1
);
4779 if (PyErr_Occurred()) SWIG_fail
;
4781 arg3
= (int) SWIG_AsInt(obj2
);
4782 if (PyErr_Occurred()) SWIG_fail
;
4785 arg4
= (int) SWIG_AsInt(obj3
);
4786 if (PyErr_Occurred()) SWIG_fail
;
4789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4790 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4792 wxPyEndAllowThreads(__tstate
);
4793 if (PyErr_Occurred()) SWIG_fail
;
4795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4810 static PyObject
*_wrap_delete_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4811 PyObject
*resultobj
;
4812 wxCursor
*arg1
= (wxCursor
*) 0 ;
4813 PyObject
* obj0
= 0 ;
4815 (char *) "self", NULL
4818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4825 wxPyEndAllowThreads(__tstate
);
4826 if (PyErr_Occurred()) SWIG_fail
;
4828 Py_INCREF(Py_None
); resultobj
= Py_None
;
4835 static PyObject
*_wrap_new_StockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4836 PyObject
*resultobj
;
4839 PyObject
* obj0
= 0 ;
4844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4845 arg1
= (int) SWIG_AsInt(obj0
);
4846 if (PyErr_Occurred()) SWIG_fail
;
4848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4849 result
= (wxCursor
*)new wxCursor(arg1
);
4851 wxPyEndAllowThreads(__tstate
);
4852 if (PyErr_Occurred()) SWIG_fail
;
4854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4861 static PyObject
*_wrap_new_CursorFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4862 PyObject
*resultobj
;
4865 PyObject
* obj0
= 0 ;
4867 (char *) "image", NULL
4870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
4872 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4875 PyErr_SetString(PyExc_TypeError
,"null reference");
4879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4880 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4882 wxPyEndAllowThreads(__tstate
);
4883 if (PyErr_Occurred()) SWIG_fail
;
4885 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4892 static PyObject
*_wrap_Cursor_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4893 PyObject
*resultobj
;
4894 wxCursor
*arg1
= (wxCursor
*) 0 ;
4896 PyObject
* obj0
= 0 ;
4898 (char *) "self", NULL
4901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHandle",kwnames
,&obj0
)) goto fail
;
4902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4906 result
= (long)(arg1
)->GetHandle();
4908 wxPyEndAllowThreads(__tstate
);
4909 if (PyErr_Occurred()) SWIG_fail
;
4911 resultobj
= SWIG_FromLong((long)result
);
4918 static PyObject
*_wrap_Cursor_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4919 PyObject
*resultobj
;
4920 wxCursor
*arg1
= (wxCursor
*) 0 ;
4922 PyObject
* obj0
= 0 ;
4923 PyObject
* obj1
= 0 ;
4925 (char *) "self",(char *) "handle", NULL
4928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
4929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4931 arg2
= (long) SWIG_AsLong(obj1
);
4932 if (PyErr_Occurred()) SWIG_fail
;
4934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4935 wxCursor_SetHandle(arg1
,arg2
);
4937 wxPyEndAllowThreads(__tstate
);
4938 if (PyErr_Occurred()) SWIG_fail
;
4940 Py_INCREF(Py_None
); resultobj
= Py_None
;
4947 static PyObject
*_wrap_Cursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4948 PyObject
*resultobj
;
4949 wxCursor
*arg1
= (wxCursor
*) 0 ;
4951 PyObject
* obj0
= 0 ;
4953 (char *) "self", NULL
4956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4961 result
= (bool)(arg1
)->Ok();
4963 wxPyEndAllowThreads(__tstate
);
4964 if (PyErr_Occurred()) SWIG_fail
;
4966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4973 static PyObject
*_wrap_Cursor_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4974 PyObject
*resultobj
;
4975 wxCursor
*arg1
= (wxCursor
*) 0 ;
4977 PyObject
* obj0
= 0 ;
4979 (char *) "self", NULL
4982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetWidth",kwnames
,&obj0
)) goto fail
;
4983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4987 result
= (int)(arg1
)->GetWidth();
4989 wxPyEndAllowThreads(__tstate
);
4990 if (PyErr_Occurred()) SWIG_fail
;
4992 resultobj
= SWIG_FromInt((int)result
);
4999 static PyObject
*_wrap_Cursor_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5000 PyObject
*resultobj
;
5001 wxCursor
*arg1
= (wxCursor
*) 0 ;
5003 PyObject
* obj0
= 0 ;
5005 (char *) "self", NULL
5008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHeight",kwnames
,&obj0
)) goto fail
;
5009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5013 result
= (int)(arg1
)->GetHeight();
5015 wxPyEndAllowThreads(__tstate
);
5016 if (PyErr_Occurred()) SWIG_fail
;
5018 resultobj
= SWIG_FromInt((int)result
);
5025 static PyObject
*_wrap_Cursor_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5026 PyObject
*resultobj
;
5027 wxCursor
*arg1
= (wxCursor
*) 0 ;
5029 PyObject
* obj0
= 0 ;
5031 (char *) "self", NULL
5034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetDepth",kwnames
,&obj0
)) goto fail
;
5035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5039 result
= (int)(arg1
)->GetDepth();
5041 wxPyEndAllowThreads(__tstate
);
5042 if (PyErr_Occurred()) SWIG_fail
;
5044 resultobj
= SWIG_FromInt((int)result
);
5051 static PyObject
*_wrap_Cursor_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5052 PyObject
*resultobj
;
5053 wxCursor
*arg1
= (wxCursor
*) 0 ;
5055 PyObject
* obj0
= 0 ;
5056 PyObject
* obj1
= 0 ;
5058 (char *) "self",(char *) "w", NULL
5061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5064 arg2
= (int) SWIG_AsInt(obj1
);
5065 if (PyErr_Occurred()) SWIG_fail
;
5067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5068 (arg1
)->SetWidth(arg2
);
5070 wxPyEndAllowThreads(__tstate
);
5071 if (PyErr_Occurred()) SWIG_fail
;
5073 Py_INCREF(Py_None
); resultobj
= Py_None
;
5080 static PyObject
*_wrap_Cursor_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5081 PyObject
*resultobj
;
5082 wxCursor
*arg1
= (wxCursor
*) 0 ;
5084 PyObject
* obj0
= 0 ;
5085 PyObject
* obj1
= 0 ;
5087 (char *) "self",(char *) "h", NULL
5090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5093 arg2
= (int) SWIG_AsInt(obj1
);
5094 if (PyErr_Occurred()) SWIG_fail
;
5096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5097 (arg1
)->SetHeight(arg2
);
5099 wxPyEndAllowThreads(__tstate
);
5100 if (PyErr_Occurred()) SWIG_fail
;
5102 Py_INCREF(Py_None
); resultobj
= Py_None
;
5109 static PyObject
*_wrap_Cursor_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5110 PyObject
*resultobj
;
5111 wxCursor
*arg1
= (wxCursor
*) 0 ;
5113 PyObject
* obj0
= 0 ;
5114 PyObject
* obj1
= 0 ;
5116 (char *) "self",(char *) "d", NULL
5119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
5120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5122 arg2
= (int) SWIG_AsInt(obj1
);
5123 if (PyErr_Occurred()) SWIG_fail
;
5125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5126 (arg1
)->SetDepth(arg2
);
5128 wxPyEndAllowThreads(__tstate
);
5129 if (PyErr_Occurred()) SWIG_fail
;
5131 Py_INCREF(Py_None
); resultobj
= Py_None
;
5138 static PyObject
*_wrap_Cursor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5139 PyObject
*resultobj
;
5140 wxCursor
*arg1
= (wxCursor
*) 0 ;
5143 PyObject
* obj0
= 0 ;
5144 PyObject
* obj1
= 0 ;
5146 (char *) "self",(char *) "size", NULL
5149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5154 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5158 (arg1
)->SetSize((wxSize
const &)*arg2
);
5160 wxPyEndAllowThreads(__tstate
);
5161 if (PyErr_Occurred()) SWIG_fail
;
5163 Py_INCREF(Py_None
); resultobj
= Py_None
;
5170 static PyObject
* Cursor_swigregister(PyObject
*self
, PyObject
*args
) {
5172 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5173 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
5175 return Py_BuildValue((char *)"");
5177 static PyObject
*_wrap_new_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5178 PyObject
*resultobj
;
5179 int arg1
= (int) 0 ;
5180 int arg2
= (int) 0 ;
5181 int arg3
= (int) 0 ;
5182 int arg4
= (int) 0 ;
5184 PyObject
* obj0
= 0 ;
5185 PyObject
* obj1
= 0 ;
5186 PyObject
* obj2
= 0 ;
5187 PyObject
* obj3
= 0 ;
5189 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5194 arg1
= (int) SWIG_AsInt(obj0
);
5195 if (PyErr_Occurred()) SWIG_fail
;
5198 arg2
= (int) SWIG_AsInt(obj1
);
5199 if (PyErr_Occurred()) SWIG_fail
;
5202 arg3
= (int) SWIG_AsInt(obj2
);
5203 if (PyErr_Occurred()) SWIG_fail
;
5206 arg4
= (int) SWIG_AsInt(obj3
);
5207 if (PyErr_Occurred()) SWIG_fail
;
5210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5211 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
5213 wxPyEndAllowThreads(__tstate
);
5214 if (PyErr_Occurred()) SWIG_fail
;
5216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5223 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5224 PyObject
*resultobj
;
5225 wxBitmap
*arg1
= 0 ;
5226 wxColour
const &arg2_defvalue
= wxNullColour
;
5227 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
5228 int arg3
= (int) 0 ;
5231 PyObject
* obj0
= 0 ;
5232 PyObject
* obj1
= 0 ;
5233 PyObject
* obj2
= 0 ;
5235 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_RegionFromBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5240 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5243 PyErr_SetString(PyExc_TypeError
,"null reference");
5249 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5253 arg3
= (int) SWIG_AsInt(obj2
);
5254 if (PyErr_Occurred()) SWIG_fail
;
5257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5258 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
5260 wxPyEndAllowThreads(__tstate
);
5261 if (PyErr_Occurred()) SWIG_fail
;
5263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5270 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5271 PyObject
*resultobj
;
5273 wxPoint
*arg2
= (wxPoint
*) 0 ;
5274 int arg3
= (int) wxWINDING_RULE
;
5276 PyObject
* obj0
= 0 ;
5277 PyObject
* obj1
= 0 ;
5279 (char *) "points",(char *) "fillStyle", NULL
5282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
5284 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
5285 if (arg2
== NULL
) SWIG_fail
;
5288 arg3
= (int) SWIG_AsInt(obj1
);
5289 if (PyErr_Occurred()) SWIG_fail
;
5292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5293 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
5295 wxPyEndAllowThreads(__tstate
);
5296 if (PyErr_Occurred()) SWIG_fail
;
5298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5300 if (arg2
) delete [] arg2
;
5305 if (arg2
) delete [] arg2
;
5311 static PyObject
*_wrap_delete_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5312 PyObject
*resultobj
;
5313 wxRegion
*arg1
= (wxRegion
*) 0 ;
5314 PyObject
* obj0
= 0 ;
5316 (char *) "self", NULL
5319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
5320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5326 wxPyEndAllowThreads(__tstate
);
5327 if (PyErr_Occurred()) SWIG_fail
;
5329 Py_INCREF(Py_None
); resultobj
= Py_None
;
5336 static PyObject
*_wrap_Region_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5337 PyObject
*resultobj
;
5338 wxRegion
*arg1
= (wxRegion
*) 0 ;
5339 PyObject
* obj0
= 0 ;
5341 (char *) "self", NULL
5344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
5345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5351 wxPyEndAllowThreads(__tstate
);
5352 if (PyErr_Occurred()) SWIG_fail
;
5354 Py_INCREF(Py_None
); resultobj
= Py_None
;
5361 static PyObject
*_wrap_Region_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5362 PyObject
*resultobj
;
5363 wxRegion
*arg1
= (wxRegion
*) 0 ;
5367 PyObject
* obj0
= 0 ;
5368 PyObject
* obj1
= 0 ;
5369 PyObject
* obj2
= 0 ;
5371 (char *) "self",(char *) "x",(char *) "y", NULL
5374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5377 arg2
= (int) SWIG_AsInt(obj1
);
5378 if (PyErr_Occurred()) SWIG_fail
;
5379 arg3
= (int) SWIG_AsInt(obj2
);
5380 if (PyErr_Occurred()) SWIG_fail
;
5382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5383 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
5385 wxPyEndAllowThreads(__tstate
);
5386 if (PyErr_Occurred()) SWIG_fail
;
5388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5395 static PyObject
*_wrap_Region_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5396 PyObject
*resultobj
;
5397 wxRegion
*arg1
= (wxRegion
*) 0 ;
5401 PyObject
* obj0
= 0 ;
5402 PyObject
* obj1
= 0 ;
5403 PyObject
* obj2
= 0 ;
5405 (char *) "self",(char *) "x",(char *) "y", NULL
5408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5411 arg2
= (int) SWIG_AsInt(obj1
);
5412 if (PyErr_Occurred()) SWIG_fail
;
5413 arg3
= (int) SWIG_AsInt(obj2
);
5414 if (PyErr_Occurred()) SWIG_fail
;
5416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5417 result
= (int)(arg1
)->Contains(arg2
,arg3
);
5419 wxPyEndAllowThreads(__tstate
);
5420 if (PyErr_Occurred()) SWIG_fail
;
5422 resultobj
= SWIG_FromInt((int)result
);
5429 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5430 PyObject
*resultobj
;
5431 wxRegion
*arg1
= (wxRegion
*) 0 ;
5435 PyObject
* obj0
= 0 ;
5436 PyObject
* obj1
= 0 ;
5438 (char *) "self",(char *) "pt", NULL
5441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
5442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5446 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5450 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
5452 wxPyEndAllowThreads(__tstate
);
5453 if (PyErr_Occurred()) SWIG_fail
;
5455 resultobj
= SWIG_FromInt((int)result
);
5462 static PyObject
*_wrap_Region_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5463 PyObject
*resultobj
;
5464 wxRegion
*arg1
= (wxRegion
*) 0 ;
5468 PyObject
* obj0
= 0 ;
5469 PyObject
* obj1
= 0 ;
5471 (char *) "self",(char *) "rect", NULL
5474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5479 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5483 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
5485 wxPyEndAllowThreads(__tstate
);
5486 if (PyErr_Occurred()) SWIG_fail
;
5488 resultobj
= SWIG_FromInt((int)result
);
5495 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5496 PyObject
*resultobj
;
5497 wxRegion
*arg1
= (wxRegion
*) 0 ;
5503 PyObject
* obj0
= 0 ;
5504 PyObject
* obj1
= 0 ;
5505 PyObject
* obj2
= 0 ;
5506 PyObject
* obj3
= 0 ;
5507 PyObject
* obj4
= 0 ;
5509 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
5512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5515 arg2
= (int) SWIG_AsInt(obj1
);
5516 if (PyErr_Occurred()) SWIG_fail
;
5517 arg3
= (int) SWIG_AsInt(obj2
);
5518 if (PyErr_Occurred()) SWIG_fail
;
5519 arg4
= (int) SWIG_AsInt(obj3
);
5520 if (PyErr_Occurred()) SWIG_fail
;
5521 arg5
= (int) SWIG_AsInt(obj4
);
5522 if (PyErr_Occurred()) SWIG_fail
;
5524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5525 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
5527 wxPyEndAllowThreads(__tstate
);
5528 if (PyErr_Occurred()) SWIG_fail
;
5530 resultobj
= SWIG_FromInt((int)result
);
5537 static PyObject
*_wrap_Region_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5538 PyObject
*resultobj
;
5539 wxRegion
*arg1
= (wxRegion
*) 0 ;
5541 PyObject
* obj0
= 0 ;
5543 (char *) "self", NULL
5546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
5547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5551 result
= (arg1
)->GetBox();
5553 wxPyEndAllowThreads(__tstate
);
5554 if (PyErr_Occurred()) SWIG_fail
;
5558 resultptr
= new wxRect((wxRect
&) result
);
5559 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5567 static PyObject
*_wrap_Region_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5568 PyObject
*resultobj
;
5569 wxRegion
*arg1
= (wxRegion
*) 0 ;
5575 PyObject
* obj0
= 0 ;
5576 PyObject
* obj1
= 0 ;
5577 PyObject
* obj2
= 0 ;
5578 PyObject
* obj3
= 0 ;
5579 PyObject
* obj4
= 0 ;
5581 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5587 arg2
= (int) SWIG_AsInt(obj1
);
5588 if (PyErr_Occurred()) SWIG_fail
;
5589 arg3
= (int) SWIG_AsInt(obj2
);
5590 if (PyErr_Occurred()) SWIG_fail
;
5591 arg4
= (int) SWIG_AsInt(obj3
);
5592 if (PyErr_Occurred()) SWIG_fail
;
5593 arg5
= (int) SWIG_AsInt(obj4
);
5594 if (PyErr_Occurred()) SWIG_fail
;
5596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5597 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
5599 wxPyEndAllowThreads(__tstate
);
5600 if (PyErr_Occurred()) SWIG_fail
;
5602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5609 static PyObject
*_wrap_Region_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5610 PyObject
*resultobj
;
5611 wxRegion
*arg1
= (wxRegion
*) 0 ;
5615 PyObject
* obj0
= 0 ;
5616 PyObject
* obj1
= 0 ;
5618 (char *) "self",(char *) "rect", NULL
5621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5626 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5630 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
5632 wxPyEndAllowThreads(__tstate
);
5633 if (PyErr_Occurred()) SWIG_fail
;
5635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5642 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5643 PyObject
*resultobj
;
5644 wxRegion
*arg1
= (wxRegion
*) 0 ;
5645 wxRegion
*arg2
= 0 ;
5647 PyObject
* obj0
= 0 ;
5648 PyObject
* obj1
= 0 ;
5650 (char *) "self",(char *) "region", NULL
5653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5656 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5657 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5660 PyErr_SetString(PyExc_TypeError
,"null reference");
5664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5665 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5667 wxPyEndAllowThreads(__tstate
);
5668 if (PyErr_Occurred()) SWIG_fail
;
5670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5677 static PyObject
*_wrap_Region_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5678 PyObject
*resultobj
;
5679 wxRegion
*arg1
= (wxRegion
*) 0 ;
5681 PyObject
* obj0
= 0 ;
5683 (char *) "self", NULL
5686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5691 result
= (bool)(arg1
)->IsEmpty();
5693 wxPyEndAllowThreads(__tstate
);
5694 if (PyErr_Occurred()) SWIG_fail
;
5696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5703 static PyObject
*_wrap_Region_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5704 PyObject
*resultobj
;
5705 wxRegion
*arg1
= (wxRegion
*) 0 ;
5711 PyObject
* obj0
= 0 ;
5712 PyObject
* obj1
= 0 ;
5713 PyObject
* obj2
= 0 ;
5714 PyObject
* obj3
= 0 ;
5715 PyObject
* obj4
= 0 ;
5717 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5723 arg2
= (int) SWIG_AsInt(obj1
);
5724 if (PyErr_Occurred()) SWIG_fail
;
5725 arg3
= (int) SWIG_AsInt(obj2
);
5726 if (PyErr_Occurred()) SWIG_fail
;
5727 arg4
= (int) SWIG_AsInt(obj3
);
5728 if (PyErr_Occurred()) SWIG_fail
;
5729 arg5
= (int) SWIG_AsInt(obj4
);
5730 if (PyErr_Occurred()) SWIG_fail
;
5732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5733 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5735 wxPyEndAllowThreads(__tstate
);
5736 if (PyErr_Occurred()) SWIG_fail
;
5738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5745 static PyObject
*_wrap_Region_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5746 PyObject
*resultobj
;
5747 wxRegion
*arg1
= (wxRegion
*) 0 ;
5751 PyObject
* obj0
= 0 ;
5752 PyObject
* obj1
= 0 ;
5754 (char *) "self",(char *) "rect", NULL
5757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5762 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5766 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5768 wxPyEndAllowThreads(__tstate
);
5769 if (PyErr_Occurred()) SWIG_fail
;
5771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5778 static PyObject
*_wrap_Region_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5779 PyObject
*resultobj
;
5780 wxRegion
*arg1
= (wxRegion
*) 0 ;
5781 wxRegion
*arg2
= 0 ;
5783 PyObject
* obj0
= 0 ;
5784 PyObject
* obj1
= 0 ;
5786 (char *) "self",(char *) "region", NULL
5789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5792 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5793 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5796 PyErr_SetString(PyExc_TypeError
,"null reference");
5800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5801 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5803 wxPyEndAllowThreads(__tstate
);
5804 if (PyErr_Occurred()) SWIG_fail
;
5806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5813 static PyObject
*_wrap_Region_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5814 PyObject
*resultobj
;
5815 wxRegion
*arg1
= (wxRegion
*) 0 ;
5821 PyObject
* obj0
= 0 ;
5822 PyObject
* obj1
= 0 ;
5823 PyObject
* obj2
= 0 ;
5824 PyObject
* obj3
= 0 ;
5825 PyObject
* obj4
= 0 ;
5827 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5833 arg2
= (int) SWIG_AsInt(obj1
);
5834 if (PyErr_Occurred()) SWIG_fail
;
5835 arg3
= (int) SWIG_AsInt(obj2
);
5836 if (PyErr_Occurred()) SWIG_fail
;
5837 arg4
= (int) SWIG_AsInt(obj3
);
5838 if (PyErr_Occurred()) SWIG_fail
;
5839 arg5
= (int) SWIG_AsInt(obj4
);
5840 if (PyErr_Occurred()) SWIG_fail
;
5842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5843 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5845 wxPyEndAllowThreads(__tstate
);
5846 if (PyErr_Occurred()) SWIG_fail
;
5848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5855 static PyObject
*_wrap_Region_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5856 PyObject
*resultobj
;
5857 wxRegion
*arg1
= (wxRegion
*) 0 ;
5861 PyObject
* obj0
= 0 ;
5862 PyObject
* obj1
= 0 ;
5864 (char *) "self",(char *) "rect", NULL
5867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5872 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5876 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5878 wxPyEndAllowThreads(__tstate
);
5879 if (PyErr_Occurred()) SWIG_fail
;
5881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5888 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5889 PyObject
*resultobj
;
5890 wxRegion
*arg1
= (wxRegion
*) 0 ;
5891 wxRegion
*arg2
= 0 ;
5893 PyObject
* obj0
= 0 ;
5894 PyObject
* obj1
= 0 ;
5896 (char *) "self",(char *) "region", NULL
5899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5902 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5903 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5906 PyErr_SetString(PyExc_TypeError
,"null reference");
5910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5911 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5913 wxPyEndAllowThreads(__tstate
);
5914 if (PyErr_Occurred()) SWIG_fail
;
5916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5923 static PyObject
*_wrap_Region_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5924 PyObject
*resultobj
;
5925 wxRegion
*arg1
= (wxRegion
*) 0 ;
5931 PyObject
* obj0
= 0 ;
5932 PyObject
* obj1
= 0 ;
5933 PyObject
* obj2
= 0 ;
5934 PyObject
* obj3
= 0 ;
5935 PyObject
* obj4
= 0 ;
5937 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5943 arg2
= (int) SWIG_AsInt(obj1
);
5944 if (PyErr_Occurred()) SWIG_fail
;
5945 arg3
= (int) SWIG_AsInt(obj2
);
5946 if (PyErr_Occurred()) SWIG_fail
;
5947 arg4
= (int) SWIG_AsInt(obj3
);
5948 if (PyErr_Occurred()) SWIG_fail
;
5949 arg5
= (int) SWIG_AsInt(obj4
);
5950 if (PyErr_Occurred()) SWIG_fail
;
5952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5953 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5955 wxPyEndAllowThreads(__tstate
);
5956 if (PyErr_Occurred()) SWIG_fail
;
5958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5965 static PyObject
*_wrap_Region_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5966 PyObject
*resultobj
;
5967 wxRegion
*arg1
= (wxRegion
*) 0 ;
5971 PyObject
* obj0
= 0 ;
5972 PyObject
* obj1
= 0 ;
5974 (char *) "self",(char *) "rect", NULL
5977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5982 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5986 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5988 wxPyEndAllowThreads(__tstate
);
5989 if (PyErr_Occurred()) SWIG_fail
;
5991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5998 static PyObject
*_wrap_Region_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5999 PyObject
*resultobj
;
6000 wxRegion
*arg1
= (wxRegion
*) 0 ;
6001 wxRegion
*arg2
= 0 ;
6003 PyObject
* obj0
= 0 ;
6004 PyObject
* obj1
= 0 ;
6006 (char *) "self",(char *) "region", NULL
6009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6012 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
6013 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6016 PyErr_SetString(PyExc_TypeError
,"null reference");
6020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6021 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
6023 wxPyEndAllowThreads(__tstate
);
6024 if (PyErr_Occurred()) SWIG_fail
;
6026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6033 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6034 PyObject
*resultobj
;
6035 wxRegion
*arg1
= (wxRegion
*) 0 ;
6036 SwigValueWrapper
< wxBitmap
> result
;
6037 PyObject
* obj0
= 0 ;
6039 (char *) "self", NULL
6042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
6043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6047 result
= (arg1
)->ConvertToBitmap();
6049 wxPyEndAllowThreads(__tstate
);
6050 if (PyErr_Occurred()) SWIG_fail
;
6053 wxBitmap
* resultptr
;
6054 resultptr
= new wxBitmap((wxBitmap
&) result
);
6055 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6063 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6064 PyObject
*resultobj
;
6065 wxRegion
*arg1
= (wxRegion
*) 0 ;
6066 wxBitmap
*arg2
= 0 ;
6067 wxColour
const &arg3_defvalue
= wxNullColour
;
6068 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
6069 int arg4
= (int) 0 ;
6072 PyObject
* obj0
= 0 ;
6073 PyObject
* obj1
= 0 ;
6074 PyObject
* obj2
= 0 ;
6075 PyObject
* obj3
= 0 ;
6077 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
6080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6083 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
6084 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6087 PyErr_SetString(PyExc_TypeError
,"null reference");
6093 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6097 arg4
= (int) SWIG_AsInt(obj3
);
6098 if (PyErr_Occurred()) SWIG_fail
;
6101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6102 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
6104 wxPyEndAllowThreads(__tstate
);
6105 if (PyErr_Occurred()) SWIG_fail
;
6107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6114 static PyObject
* Region_swigregister(PyObject
*self
, PyObject
*args
) {
6116 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6117 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
6119 return Py_BuildValue((char *)"");
6121 static PyObject
*_wrap_new_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6122 PyObject
*resultobj
;
6123 wxRegion
*arg1
= 0 ;
6124 wxRegionIterator
*result
;
6125 PyObject
* obj0
= 0 ;
6127 (char *) "region", NULL
6130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
6131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6132 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6135 PyErr_SetString(PyExc_TypeError
,"null reference");
6139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6140 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
6142 wxPyEndAllowThreads(__tstate
);
6143 if (PyErr_Occurred()) SWIG_fail
;
6145 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
6152 static PyObject
*_wrap_delete_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6153 PyObject
*resultobj
;
6154 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6155 PyObject
* obj0
= 0 ;
6157 (char *) "self", NULL
6160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
6161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6167 wxPyEndAllowThreads(__tstate
);
6168 if (PyErr_Occurred()) SWIG_fail
;
6170 Py_INCREF(Py_None
); resultobj
= Py_None
;
6177 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6178 PyObject
*resultobj
;
6179 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6181 PyObject
* obj0
= 0 ;
6183 (char *) "self", NULL
6186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
6187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6191 result
= (int)(arg1
)->GetX();
6193 wxPyEndAllowThreads(__tstate
);
6194 if (PyErr_Occurred()) SWIG_fail
;
6196 resultobj
= SWIG_FromInt((int)result
);
6203 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6204 PyObject
*resultobj
;
6205 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6207 PyObject
* obj0
= 0 ;
6209 (char *) "self", NULL
6212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
6213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6217 result
= (int)(arg1
)->GetY();
6219 wxPyEndAllowThreads(__tstate
);
6220 if (PyErr_Occurred()) SWIG_fail
;
6222 resultobj
= SWIG_FromInt((int)result
);
6229 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6230 PyObject
*resultobj
;
6231 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6233 PyObject
* obj0
= 0 ;
6235 (char *) "self", NULL
6238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
6239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6243 result
= (int)(arg1
)->GetW();
6245 wxPyEndAllowThreads(__tstate
);
6246 if (PyErr_Occurred()) SWIG_fail
;
6248 resultobj
= SWIG_FromInt((int)result
);
6255 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
*resultobj
;
6257 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6259 PyObject
* obj0
= 0 ;
6261 (char *) "self", NULL
6264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
6265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6269 result
= (int)(arg1
)->GetWidth();
6271 wxPyEndAllowThreads(__tstate
);
6272 if (PyErr_Occurred()) SWIG_fail
;
6274 resultobj
= SWIG_FromInt((int)result
);
6281 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6282 PyObject
*resultobj
;
6283 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6285 PyObject
* obj0
= 0 ;
6287 (char *) "self", NULL
6290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
6291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6295 result
= (int)(arg1
)->GetH();
6297 wxPyEndAllowThreads(__tstate
);
6298 if (PyErr_Occurred()) SWIG_fail
;
6300 resultobj
= SWIG_FromInt((int)result
);
6307 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6308 PyObject
*resultobj
;
6309 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6311 PyObject
* obj0
= 0 ;
6313 (char *) "self", NULL
6316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
6317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6321 result
= (int)(arg1
)->GetHeight();
6323 wxPyEndAllowThreads(__tstate
);
6324 if (PyErr_Occurred()) SWIG_fail
;
6326 resultobj
= SWIG_FromInt((int)result
);
6333 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6334 PyObject
*resultobj
;
6335 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6337 PyObject
* obj0
= 0 ;
6339 (char *) "self", NULL
6342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
6343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6347 result
= (arg1
)->GetRect();
6349 wxPyEndAllowThreads(__tstate
);
6350 if (PyErr_Occurred()) SWIG_fail
;
6354 resultptr
= new wxRect((wxRect
&) result
);
6355 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
6363 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6364 PyObject
*resultobj
;
6365 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6367 PyObject
* obj0
= 0 ;
6369 (char *) "self", NULL
6372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
6373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6377 result
= (bool)(arg1
)->HaveRects();
6379 wxPyEndAllowThreads(__tstate
);
6380 if (PyErr_Occurred()) SWIG_fail
;
6382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6389 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6390 PyObject
*resultobj
;
6391 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6392 PyObject
* obj0
= 0 ;
6394 (char *) "self", NULL
6397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
6398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6404 wxPyEndAllowThreads(__tstate
);
6405 if (PyErr_Occurred()) SWIG_fail
;
6407 Py_INCREF(Py_None
); resultobj
= Py_None
;
6414 static PyObject
*_wrap_RegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6415 PyObject
*resultobj
;
6416 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6417 PyObject
* obj0
= 0 ;
6419 (char *) "self", NULL
6422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
6423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6427 wxRegionIterator_Next(arg1
);
6429 wxPyEndAllowThreads(__tstate
);
6430 if (PyErr_Occurred()) SWIG_fail
;
6432 Py_INCREF(Py_None
); resultobj
= Py_None
;
6439 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6440 PyObject
*resultobj
;
6441 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6443 PyObject
* obj0
= 0 ;
6445 (char *) "self", NULL
6448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
6449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6453 result
= (bool)wxRegionIterator___nonzero__(arg1
);
6455 wxPyEndAllowThreads(__tstate
);
6456 if (PyErr_Occurred()) SWIG_fail
;
6458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6465 static PyObject
* RegionIterator_swigregister(PyObject
*self
, PyObject
*args
) {
6467 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6468 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
6470 return Py_BuildValue((char *)"");
6472 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6473 PyObject
*resultobj
;
6474 wxNativeFontInfo
*result
;
6479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
6481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6482 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
6484 wxPyEndAllowThreads(__tstate
);
6485 if (PyErr_Occurred()) SWIG_fail
;
6487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
6494 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6495 PyObject
*resultobj
;
6496 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6497 PyObject
* obj0
= 0 ;
6499 (char *) "self", NULL
6502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
6503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6509 wxPyEndAllowThreads(__tstate
);
6510 if (PyErr_Occurred()) SWIG_fail
;
6512 Py_INCREF(Py_None
); resultobj
= Py_None
;
6519 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6520 PyObject
*resultobj
;
6521 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6522 PyObject
* obj0
= 0 ;
6524 (char *) "self", NULL
6527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
6528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6534 wxPyEndAllowThreads(__tstate
);
6535 if (PyErr_Occurred()) SWIG_fail
;
6537 Py_INCREF(Py_None
); resultobj
= Py_None
;
6544 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6545 PyObject
*resultobj
;
6546 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6548 PyObject
* obj0
= 0 ;
6549 PyObject
* obj1
= 0 ;
6551 (char *) "self",(char *) "font", NULL
6554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6557 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6558 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6561 PyErr_SetString(PyExc_TypeError
,"null reference");
6565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6566 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
6568 wxPyEndAllowThreads(__tstate
);
6569 if (PyErr_Occurred()) SWIG_fail
;
6571 Py_INCREF(Py_None
); resultobj
= Py_None
;
6578 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6579 PyObject
*resultobj
;
6580 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6582 PyObject
* obj0
= 0 ;
6584 (char *) "self", NULL
6587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
6588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6592 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
6594 wxPyEndAllowThreads(__tstate
);
6595 if (PyErr_Occurred()) SWIG_fail
;
6597 resultobj
= SWIG_FromInt((int)result
);
6604 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6605 PyObject
*resultobj
;
6606 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6608 PyObject
* obj0
= 0 ;
6610 (char *) "self", NULL
6613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
6614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6618 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
6620 wxPyEndAllowThreads(__tstate
);
6621 if (PyErr_Occurred()) SWIG_fail
;
6623 resultobj
= SWIG_FromInt((int)result
);
6630 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6631 PyObject
*resultobj
;
6632 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6634 PyObject
* obj0
= 0 ;
6636 (char *) "self", NULL
6639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
6640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6644 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
6646 wxPyEndAllowThreads(__tstate
);
6647 if (PyErr_Occurred()) SWIG_fail
;
6649 resultobj
= SWIG_FromInt((int)result
);
6656 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6657 PyObject
*resultobj
;
6658 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6660 PyObject
* obj0
= 0 ;
6662 (char *) "self", NULL
6665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6670 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6672 wxPyEndAllowThreads(__tstate
);
6673 if (PyErr_Occurred()) SWIG_fail
;
6675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6682 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6683 PyObject
*resultobj
;
6684 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6686 PyObject
* obj0
= 0 ;
6688 (char *) "self", NULL
6691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
6692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6696 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6698 wxPyEndAllowThreads(__tstate
);
6699 if (PyErr_Occurred()) SWIG_fail
;
6703 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6705 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6714 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6715 PyObject
*resultobj
;
6716 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6718 PyObject
* obj0
= 0 ;
6720 (char *) "self", NULL
6723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6728 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6730 wxPyEndAllowThreads(__tstate
);
6731 if (PyErr_Occurred()) SWIG_fail
;
6733 resultobj
= SWIG_FromInt((int)result
);
6740 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6741 PyObject
*resultobj
;
6742 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6744 PyObject
* obj0
= 0 ;
6746 (char *) "self", NULL
6749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6754 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6756 wxPyEndAllowThreads(__tstate
);
6757 if (PyErr_Occurred()) SWIG_fail
;
6759 resultobj
= SWIG_FromInt((int)result
);
6766 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6767 PyObject
*resultobj
;
6768 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6770 PyObject
* obj0
= 0 ;
6771 PyObject
* obj1
= 0 ;
6773 (char *) "self",(char *) "pointsize", NULL
6776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6779 arg2
= (int) SWIG_AsInt(obj1
);
6780 if (PyErr_Occurred()) SWIG_fail
;
6782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6783 (arg1
)->SetPointSize(arg2
);
6785 wxPyEndAllowThreads(__tstate
);
6786 if (PyErr_Occurred()) SWIG_fail
;
6788 Py_INCREF(Py_None
); resultobj
= Py_None
;
6795 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6796 PyObject
*resultobj
;
6797 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6799 PyObject
* obj0
= 0 ;
6800 PyObject
* obj1
= 0 ;
6802 (char *) "self",(char *) "style", NULL
6805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
6806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6808 arg2
= (wxFontStyle
) SWIG_AsInt(obj1
);
6809 if (PyErr_Occurred()) SWIG_fail
;
6811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6812 (arg1
)->SetStyle((wxFontStyle
)arg2
);
6814 wxPyEndAllowThreads(__tstate
);
6815 if (PyErr_Occurred()) SWIG_fail
;
6817 Py_INCREF(Py_None
); resultobj
= Py_None
;
6824 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6825 PyObject
*resultobj
;
6826 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6828 PyObject
* obj0
= 0 ;
6829 PyObject
* obj1
= 0 ;
6831 (char *) "self",(char *) "weight", NULL
6834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6837 arg2
= (wxFontWeight
) SWIG_AsInt(obj1
);
6838 if (PyErr_Occurred()) SWIG_fail
;
6840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6841 (arg1
)->SetWeight((wxFontWeight
)arg2
);
6843 wxPyEndAllowThreads(__tstate
);
6844 if (PyErr_Occurred()) SWIG_fail
;
6846 Py_INCREF(Py_None
); resultobj
= Py_None
;
6853 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6854 PyObject
*resultobj
;
6855 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6857 PyObject
* obj0
= 0 ;
6858 PyObject
* obj1
= 0 ;
6860 (char *) "self",(char *) "underlined", NULL
6863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6866 arg2
= (bool) SWIG_AsBool(obj1
);
6867 if (PyErr_Occurred()) SWIG_fail
;
6869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6870 (arg1
)->SetUnderlined(arg2
);
6872 wxPyEndAllowThreads(__tstate
);
6873 if (PyErr_Occurred()) SWIG_fail
;
6875 Py_INCREF(Py_None
); resultobj
= Py_None
;
6882 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6883 PyObject
*resultobj
;
6884 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6886 PyObject
* obj0
= 0 ;
6887 PyObject
* obj1
= 0 ;
6889 (char *) "self",(char *) "facename", NULL
6892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6896 wxString
* sptr
= wxString_in_helper(obj1
);
6897 if (sptr
== NULL
) SWIG_fail
;
6902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6903 (arg1
)->SetFaceName(arg2
);
6905 wxPyEndAllowThreads(__tstate
);
6906 if (PyErr_Occurred()) SWIG_fail
;
6908 Py_INCREF(Py_None
); resultobj
= Py_None
;
6915 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6916 PyObject
*resultobj
;
6917 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6919 PyObject
* obj0
= 0 ;
6920 PyObject
* obj1
= 0 ;
6922 (char *) "self",(char *) "family", NULL
6925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
6926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6928 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
6929 if (PyErr_Occurred()) SWIG_fail
;
6931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6932 (arg1
)->SetFamily((wxFontFamily
)arg2
);
6934 wxPyEndAllowThreads(__tstate
);
6935 if (PyErr_Occurred()) SWIG_fail
;
6937 Py_INCREF(Py_None
); resultobj
= Py_None
;
6944 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6945 PyObject
*resultobj
;
6946 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6948 PyObject
* obj0
= 0 ;
6949 PyObject
* obj1
= 0 ;
6951 (char *) "self",(char *) "encoding", NULL
6954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6957 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6958 if (PyErr_Occurred()) SWIG_fail
;
6960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6961 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6963 wxPyEndAllowThreads(__tstate
);
6964 if (PyErr_Occurred()) SWIG_fail
;
6966 Py_INCREF(Py_None
); resultobj
= Py_None
;
6973 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6974 PyObject
*resultobj
;
6975 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6976 wxString
*arg2
= 0 ;
6978 bool temp2
= False
;
6979 PyObject
* obj0
= 0 ;
6980 PyObject
* obj1
= 0 ;
6982 (char *) "self",(char *) "s", NULL
6985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6989 arg2
= wxString_in_helper(obj1
);
6990 if (arg2
== NULL
) SWIG_fail
;
6994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6995 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6997 wxPyEndAllowThreads(__tstate
);
6998 if (PyErr_Occurred()) SWIG_fail
;
7000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7015 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7016 PyObject
*resultobj
;
7017 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7019 PyObject
* obj0
= 0 ;
7021 (char *) "self", NULL
7024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
7025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7029 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
7031 wxPyEndAllowThreads(__tstate
);
7032 if (PyErr_Occurred()) SWIG_fail
;
7036 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7038 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7047 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7048 PyObject
*resultobj
;
7049 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7051 PyObject
* obj0
= 0 ;
7053 (char *) "self", NULL
7056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
7057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7061 result
= wxNativeFontInfo___str__(arg1
);
7063 wxPyEndAllowThreads(__tstate
);
7064 if (PyErr_Occurred()) SWIG_fail
;
7068 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7070 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7079 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7080 PyObject
*resultobj
;
7081 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7082 wxString
*arg2
= 0 ;
7084 bool temp2
= False
;
7085 PyObject
* obj0
= 0 ;
7086 PyObject
* obj1
= 0 ;
7088 (char *) "self",(char *) "s", NULL
7091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
7092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7095 arg2
= wxString_in_helper(obj1
);
7096 if (arg2
== NULL
) SWIG_fail
;
7100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7101 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
7103 wxPyEndAllowThreads(__tstate
);
7104 if (PyErr_Occurred()) SWIG_fail
;
7106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7121 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7122 PyObject
*resultobj
;
7123 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7125 PyObject
* obj0
= 0 ;
7127 (char *) "self", NULL
7130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
7131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7135 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
7137 wxPyEndAllowThreads(__tstate
);
7138 if (PyErr_Occurred()) SWIG_fail
;
7142 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7144 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7153 static PyObject
* NativeFontInfo_swigregister(PyObject
*self
, PyObject
*args
) {
7155 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7156 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
7158 return Py_BuildValue((char *)"");
7160 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7161 PyObject
*resultobj
;
7162 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7163 wxString
*arg2
= (wxString
*) 0 ;
7164 bool temp2
= False
;
7165 PyObject
* obj0
= 0 ;
7166 PyObject
* obj1
= 0 ;
7168 (char *) "self",(char *) "facename", NULL
7171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7175 arg2
= wxString_in_helper(obj1
);
7176 if (arg2
== NULL
) SWIG_fail
;
7179 if (arg1
) (arg1
)->facename
= *arg2
;
7181 Py_INCREF(Py_None
); resultobj
= Py_None
;
7196 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7197 PyObject
*resultobj
;
7198 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7200 PyObject
* obj0
= 0 ;
7202 (char *) "self", NULL
7205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
7206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7208 result
= (wxString
*)& ((arg1
)->facename
);
7212 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
7214 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
7223 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7224 PyObject
*resultobj
;
7225 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7227 PyObject
* obj0
= 0 ;
7228 PyObject
* obj1
= 0 ;
7230 (char *) "self",(char *) "encoding", NULL
7233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7236 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7237 if (PyErr_Occurred()) SWIG_fail
;
7238 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
7240 Py_INCREF(Py_None
); resultobj
= Py_None
;
7247 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7248 PyObject
*resultobj
;
7249 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7251 PyObject
* obj0
= 0 ;
7253 (char *) "self", NULL
7256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
7257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7259 result
= (int) ((arg1
)->encoding
);
7261 resultobj
= SWIG_FromInt((int)result
);
7268 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7269 PyObject
*resultobj
;
7270 wxNativeEncodingInfo
*result
;
7275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
7277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7278 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
7280 wxPyEndAllowThreads(__tstate
);
7281 if (PyErr_Occurred()) SWIG_fail
;
7283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
7290 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7291 PyObject
*resultobj
;
7292 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7293 PyObject
* obj0
= 0 ;
7295 (char *) "self", NULL
7298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
7299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7305 wxPyEndAllowThreads(__tstate
);
7306 if (PyErr_Occurred()) SWIG_fail
;
7308 Py_INCREF(Py_None
); resultobj
= Py_None
;
7315 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7316 PyObject
*resultobj
;
7317 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7318 wxString
*arg2
= 0 ;
7320 bool temp2
= False
;
7321 PyObject
* obj0
= 0 ;
7322 PyObject
* obj1
= 0 ;
7324 (char *) "self",(char *) "s", NULL
7327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
7328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7331 arg2
= wxString_in_helper(obj1
);
7332 if (arg2
== NULL
) SWIG_fail
;
7336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7337 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
7339 wxPyEndAllowThreads(__tstate
);
7340 if (PyErr_Occurred()) SWIG_fail
;
7342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7357 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7358 PyObject
*resultobj
;
7359 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7361 PyObject
* obj0
= 0 ;
7363 (char *) "self", NULL
7366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
7367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7371 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
7373 wxPyEndAllowThreads(__tstate
);
7374 if (PyErr_Occurred()) SWIG_fail
;
7378 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7380 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7389 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*self
, PyObject
*args
) {
7391 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7392 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
7394 return Py_BuildValue((char *)"");
7396 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7397 PyObject
*resultobj
;
7399 wxNativeEncodingInfo
*result
;
7400 PyObject
* obj0
= 0 ;
7402 (char *) "encoding", NULL
7405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
7406 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7407 if (PyErr_Occurred()) SWIG_fail
;
7409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7410 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
7412 wxPyEndAllowThreads(__tstate
);
7413 if (PyErr_Occurred()) SWIG_fail
;
7415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
7422 static PyObject
*_wrap_TestFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7423 PyObject
*resultobj
;
7424 wxNativeEncodingInfo
*arg1
= 0 ;
7426 PyObject
* obj0
= 0 ;
7428 (char *) "info", NULL
7431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
7432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7433 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7436 PyErr_SetString(PyExc_TypeError
,"null reference");
7440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7441 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
7443 wxPyEndAllowThreads(__tstate
);
7444 if (PyErr_Occurred()) SWIG_fail
;
7446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7453 static PyObject
*_wrap_new_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7454 PyObject
*resultobj
;
7455 wxFontMapper
*result
;
7460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
7462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7463 result
= (wxFontMapper
*)new wxFontMapper();
7465 wxPyEndAllowThreads(__tstate
);
7466 if (PyErr_Occurred()) SWIG_fail
;
7468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
7475 static PyObject
*_wrap_delete_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7476 PyObject
*resultobj
;
7477 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7478 PyObject
* obj0
= 0 ;
7480 (char *) "self", NULL
7483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
7484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7490 wxPyEndAllowThreads(__tstate
);
7491 if (PyErr_Occurred()) SWIG_fail
;
7493 Py_INCREF(Py_None
); resultobj
= Py_None
;
7500 static PyObject
*_wrap_FontMapper_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7501 PyObject
*resultobj
;
7502 wxFontMapper
*result
;
7507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
7509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7510 result
= (wxFontMapper
*)wxFontMapper::Get();
7512 wxPyEndAllowThreads(__tstate
);
7513 if (PyErr_Occurred()) SWIG_fail
;
7515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7522 static PyObject
*_wrap_FontMapper_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7523 PyObject
*resultobj
;
7524 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7525 wxFontMapper
*result
;
7526 PyObject
* obj0
= 0 ;
7528 (char *) "mapper", NULL
7531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
7532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7536 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
7538 wxPyEndAllowThreads(__tstate
);
7539 if (PyErr_Occurred()) SWIG_fail
;
7541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7548 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7549 PyObject
*resultobj
;
7550 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7551 wxString
*arg2
= 0 ;
7552 bool arg3
= (bool) True
;
7554 bool temp2
= False
;
7555 PyObject
* obj0
= 0 ;
7556 PyObject
* obj1
= 0 ;
7557 PyObject
* obj2
= 0 ;
7559 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7566 arg2
= wxString_in_helper(obj1
);
7567 if (arg2
== NULL
) SWIG_fail
;
7571 arg3
= (bool) SWIG_AsBool(obj2
);
7572 if (PyErr_Occurred()) SWIG_fail
;
7575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7576 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
7578 wxPyEndAllowThreads(__tstate
);
7579 if (PyErr_Occurred()) SWIG_fail
;
7581 resultobj
= SWIG_FromInt((int)result
);
7596 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7597 PyObject
*resultobj
;
7603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
7605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7606 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
7608 wxPyEndAllowThreads(__tstate
);
7609 if (PyErr_Occurred()) SWIG_fail
;
7611 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7618 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7619 PyObject
*resultobj
;
7622 PyObject
* obj0
= 0 ;
7627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7628 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
7629 if (PyErr_Occurred()) SWIG_fail
;
7631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7632 result
= (int)wxFontMapper::GetEncoding(arg1
);
7634 wxPyEndAllowThreads(__tstate
);
7635 if (PyErr_Occurred()) SWIG_fail
;
7637 resultobj
= SWIG_FromInt((int)result
);
7644 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7645 PyObject
*resultobj
;
7648 PyObject
* obj0
= 0 ;
7650 (char *) "encoding", NULL
7653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
7654 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7655 if (PyErr_Occurred()) SWIG_fail
;
7657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7658 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7660 wxPyEndAllowThreads(__tstate
);
7661 if (PyErr_Occurred()) SWIG_fail
;
7665 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7667 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7676 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7677 PyObject
*resultobj
;
7680 PyObject
* obj0
= 0 ;
7682 (char *) "encoding", NULL
7685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7686 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7687 if (PyErr_Occurred()) SWIG_fail
;
7689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7690 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7692 wxPyEndAllowThreads(__tstate
);
7693 if (PyErr_Occurred()) SWIG_fail
;
7697 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7699 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7708 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7709 PyObject
*resultobj
;
7710 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7711 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
7712 PyObject
* obj0
= 0 ;
7713 PyObject
* obj1
= 0 ;
7715 (char *) "self",(char *) "config", NULL
7718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7721 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
7722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7725 (arg1
)->SetConfig(arg2
);
7727 wxPyEndAllowThreads(__tstate
);
7728 if (PyErr_Occurred()) SWIG_fail
;
7730 Py_INCREF(Py_None
); resultobj
= Py_None
;
7737 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7738 PyObject
*resultobj
;
7739 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7740 wxString
*arg2
= 0 ;
7741 bool temp2
= False
;
7742 PyObject
* obj0
= 0 ;
7743 PyObject
* obj1
= 0 ;
7745 (char *) "self",(char *) "prefix", NULL
7748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
7749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7752 arg2
= wxString_in_helper(obj1
);
7753 if (arg2
== NULL
) SWIG_fail
;
7757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7758 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
7760 wxPyEndAllowThreads(__tstate
);
7761 if (PyErr_Occurred()) SWIG_fail
;
7763 Py_INCREF(Py_None
); resultobj
= Py_None
;
7778 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7779 PyObject
*resultobj
;
7785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
7787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7788 result
= wxFontMapper::GetDefaultConfigPath();
7790 wxPyEndAllowThreads(__tstate
);
7791 if (PyErr_Occurred()) SWIG_fail
;
7795 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7797 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7806 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7807 PyObject
*resultobj
;
7808 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7810 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7811 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7812 bool arg4
= (bool) True
;
7814 bool temp3
= False
;
7815 PyObject
* obj0
= 0 ;
7816 PyObject
* obj1
= 0 ;
7817 PyObject
* obj2
= 0 ;
7818 PyObject
* obj3
= 0 ;
7820 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7826 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7827 if (PyErr_Occurred()) SWIG_fail
;
7830 arg3
= wxString_in_helper(obj2
);
7831 if (arg3
== NULL
) SWIG_fail
;
7836 arg4
= (bool) SWIG_AsBool(obj3
);
7837 if (PyErr_Occurred()) SWIG_fail
;
7840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7841 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
7843 wxPyEndAllowThreads(__tstate
);
7844 if (PyErr_Occurred()) SWIG_fail
;
7861 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7862 PyObject
*resultobj
;
7863 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7865 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7866 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7868 bool temp3
= False
;
7869 PyObject
* obj0
= 0 ;
7870 PyObject
* obj1
= 0 ;
7871 PyObject
* obj2
= 0 ;
7873 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7879 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7880 if (PyErr_Occurred()) SWIG_fail
;
7883 arg3
= wxString_in_helper(obj2
);
7884 if (arg3
== NULL
) SWIG_fail
;
7889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7890 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
7892 wxPyEndAllowThreads(__tstate
);
7893 if (PyErr_Occurred()) SWIG_fail
;
7895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7910 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7911 PyObject
*resultobj
;
7912 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7913 wxWindow
*arg2
= (wxWindow
*) 0 ;
7914 PyObject
* obj0
= 0 ;
7915 PyObject
* obj1
= 0 ;
7917 (char *) "self",(char *) "parent", NULL
7920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7923 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7927 (arg1
)->SetDialogParent(arg2
);
7929 wxPyEndAllowThreads(__tstate
);
7930 if (PyErr_Occurred()) SWIG_fail
;
7932 Py_INCREF(Py_None
); resultobj
= Py_None
;
7939 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7940 PyObject
*resultobj
;
7941 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7942 wxString
*arg2
= 0 ;
7943 bool temp2
= False
;
7944 PyObject
* obj0
= 0 ;
7945 PyObject
* obj1
= 0 ;
7947 (char *) "self",(char *) "title", NULL
7950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7954 arg2
= wxString_in_helper(obj1
);
7955 if (arg2
== NULL
) SWIG_fail
;
7959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7960 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
7962 wxPyEndAllowThreads(__tstate
);
7963 if (PyErr_Occurred()) SWIG_fail
;
7965 Py_INCREF(Py_None
); resultobj
= Py_None
;
7980 static PyObject
* FontMapper_swigregister(PyObject
*self
, PyObject
*args
) {
7982 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7983 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
7985 return Py_BuildValue((char *)"");
7987 static PyObject
*_wrap_new_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7988 PyObject
*resultobj
;
7993 bool arg5
= (bool) False
;
7994 wxString
const &arg6_defvalue
= wxPyEmptyString
;
7995 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7996 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7998 bool temp6
= False
;
7999 PyObject
* obj0
= 0 ;
8000 PyObject
* obj1
= 0 ;
8001 PyObject
* obj2
= 0 ;
8002 PyObject
* obj3
= 0 ;
8003 PyObject
* obj4
= 0 ;
8004 PyObject
* obj5
= 0 ;
8005 PyObject
* obj6
= 0 ;
8007 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
8010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8011 arg1
= (int) SWIG_AsInt(obj0
);
8012 if (PyErr_Occurred()) SWIG_fail
;
8013 arg2
= (int) SWIG_AsInt(obj1
);
8014 if (PyErr_Occurred()) SWIG_fail
;
8015 arg3
= (int) SWIG_AsInt(obj2
);
8016 if (PyErr_Occurred()) SWIG_fail
;
8017 arg4
= (int) SWIG_AsInt(obj3
);
8018 if (PyErr_Occurred()) SWIG_fail
;
8020 arg5
= (bool) SWIG_AsBool(obj4
);
8021 if (PyErr_Occurred()) SWIG_fail
;
8025 arg6
= wxString_in_helper(obj5
);
8026 if (arg6
== NULL
) SWIG_fail
;
8031 arg7
= (wxFontEncoding
) SWIG_AsInt(obj6
);
8032 if (PyErr_Occurred()) SWIG_fail
;
8035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8036 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
8038 wxPyEndAllowThreads(__tstate
);
8039 if (PyErr_Occurred()) SWIG_fail
;
8041 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8056 static PyObject
*_wrap_delete_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8057 PyObject
*resultobj
;
8058 wxFont
*arg1
= (wxFont
*) 0 ;
8059 PyObject
* obj0
= 0 ;
8061 (char *) "self", NULL
8064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
8065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8071 wxPyEndAllowThreads(__tstate
);
8072 if (PyErr_Occurred()) SWIG_fail
;
8074 Py_INCREF(Py_None
); resultobj
= Py_None
;
8081 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8082 PyObject
*resultobj
;
8083 wxNativeFontInfo
*arg1
= 0 ;
8085 PyObject
* obj0
= 0 ;
8087 (char *) "info", NULL
8090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
8091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
8092 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8095 PyErr_SetString(PyExc_TypeError
,"null reference");
8099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8100 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
8102 wxPyEndAllowThreads(__tstate
);
8103 if (PyErr_Occurred()) SWIG_fail
;
8105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8112 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8113 PyObject
*resultobj
;
8114 wxString
*arg1
= 0 ;
8116 bool temp1
= False
;
8117 PyObject
* obj0
= 0 ;
8119 (char *) "info", NULL
8122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
8124 arg1
= wxString_in_helper(obj0
);
8125 if (arg1
== NULL
) SWIG_fail
;
8129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8130 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
8132 wxPyEndAllowThreads(__tstate
);
8133 if (PyErr_Occurred()) SWIG_fail
;
8135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8150 static PyObject
*_wrap_new_Font2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8151 PyObject
*resultobj
;
8154 int arg3
= (int) wxFONTFLAG_DEFAULT
;
8155 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8156 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8157 int arg5
= (int) wxFONTENCODING_DEFAULT
;
8159 bool temp4
= False
;
8160 PyObject
* obj0
= 0 ;
8161 PyObject
* obj1
= 0 ;
8162 PyObject
* obj2
= 0 ;
8163 PyObject
* obj3
= 0 ;
8164 PyObject
* obj4
= 0 ;
8166 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
8169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8170 arg1
= (int) SWIG_AsInt(obj0
);
8171 if (PyErr_Occurred()) SWIG_fail
;
8172 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
8173 if (PyErr_Occurred()) SWIG_fail
;
8175 arg3
= (int) SWIG_AsInt(obj2
);
8176 if (PyErr_Occurred()) SWIG_fail
;
8180 arg4
= wxString_in_helper(obj3
);
8181 if (arg4
== NULL
) SWIG_fail
;
8186 arg5
= (wxFontEncoding
) SWIG_AsInt(obj4
);
8187 if (PyErr_Occurred()) SWIG_fail
;
8190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8191 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
8193 wxPyEndAllowThreads(__tstate
);
8194 if (PyErr_Occurred()) SWIG_fail
;
8196 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8211 static PyObject
*_wrap_Font_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8212 PyObject
*resultobj
;
8213 wxFont
*arg1
= (wxFont
*) 0 ;
8215 PyObject
* obj0
= 0 ;
8217 (char *) "self", NULL
8220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
8221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8225 result
= (bool)((wxFont
const *)arg1
)->Ok();
8227 wxPyEndAllowThreads(__tstate
);
8228 if (PyErr_Occurred()) SWIG_fail
;
8230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8237 static PyObject
*_wrap_Font___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8238 PyObject
*resultobj
;
8239 wxFont
*arg1
= (wxFont
*) 0 ;
8240 wxFont
*arg2
= (wxFont
*) 0 ;
8242 PyObject
* obj0
= 0 ;
8243 PyObject
* obj1
= 0 ;
8245 (char *) "self",(char *) "other", NULL
8248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
8249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8251 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
8252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8255 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
8257 wxPyEndAllowThreads(__tstate
);
8258 if (PyErr_Occurred()) SWIG_fail
;
8260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8267 static PyObject
*_wrap_Font___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8268 PyObject
*resultobj
;
8269 wxFont
*arg1
= (wxFont
*) 0 ;
8270 wxFont
*arg2
= (wxFont
*) 0 ;
8272 PyObject
* obj0
= 0 ;
8273 PyObject
* obj1
= 0 ;
8275 (char *) "self",(char *) "other", NULL
8278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
8279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8281 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
8282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8285 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
8287 wxPyEndAllowThreads(__tstate
);
8288 if (PyErr_Occurred()) SWIG_fail
;
8290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8297 static PyObject
*_wrap_Font_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8298 PyObject
*resultobj
;
8299 wxFont
*arg1
= (wxFont
*) 0 ;
8301 PyObject
* obj0
= 0 ;
8303 (char *) "self", NULL
8306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
8307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8311 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
8313 wxPyEndAllowThreads(__tstate
);
8314 if (PyErr_Occurred()) SWIG_fail
;
8316 resultobj
= SWIG_FromInt((int)result
);
8323 static PyObject
*_wrap_Font_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8324 PyObject
*resultobj
;
8325 wxFont
*arg1
= (wxFont
*) 0 ;
8327 PyObject
* obj0
= 0 ;
8329 (char *) "self", NULL
8332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
8333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8337 result
= (int)((wxFont
const *)arg1
)->GetFamily();
8339 wxPyEndAllowThreads(__tstate
);
8340 if (PyErr_Occurred()) SWIG_fail
;
8342 resultobj
= SWIG_FromInt((int)result
);
8349 static PyObject
*_wrap_Font_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8350 PyObject
*resultobj
;
8351 wxFont
*arg1
= (wxFont
*) 0 ;
8353 PyObject
* obj0
= 0 ;
8355 (char *) "self", NULL
8358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
8359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8363 result
= (int)((wxFont
const *)arg1
)->GetStyle();
8365 wxPyEndAllowThreads(__tstate
);
8366 if (PyErr_Occurred()) SWIG_fail
;
8368 resultobj
= SWIG_FromInt((int)result
);
8375 static PyObject
*_wrap_Font_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8376 PyObject
*resultobj
;
8377 wxFont
*arg1
= (wxFont
*) 0 ;
8379 PyObject
* obj0
= 0 ;
8381 (char *) "self", NULL
8384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
8385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8389 result
= (int)((wxFont
const *)arg1
)->GetWeight();
8391 wxPyEndAllowThreads(__tstate
);
8392 if (PyErr_Occurred()) SWIG_fail
;
8394 resultobj
= SWIG_FromInt((int)result
);
8401 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8402 PyObject
*resultobj
;
8403 wxFont
*arg1
= (wxFont
*) 0 ;
8405 PyObject
* obj0
= 0 ;
8407 (char *) "self", NULL
8410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
8411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8415 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
8417 wxPyEndAllowThreads(__tstate
);
8418 if (PyErr_Occurred()) SWIG_fail
;
8420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8427 static PyObject
*_wrap_Font_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8428 PyObject
*resultobj
;
8429 wxFont
*arg1
= (wxFont
*) 0 ;
8431 PyObject
* obj0
= 0 ;
8433 (char *) "self", NULL
8436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
8437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8441 result
= ((wxFont
const *)arg1
)->GetFaceName();
8443 wxPyEndAllowThreads(__tstate
);
8444 if (PyErr_Occurred()) SWIG_fail
;
8448 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8450 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8459 static PyObject
*_wrap_Font_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8460 PyObject
*resultobj
;
8461 wxFont
*arg1
= (wxFont
*) 0 ;
8463 PyObject
* obj0
= 0 ;
8465 (char *) "self", NULL
8468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
8469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8473 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
8475 wxPyEndAllowThreads(__tstate
);
8476 if (PyErr_Occurred()) SWIG_fail
;
8478 resultobj
= SWIG_FromInt((int)result
);
8485 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8486 PyObject
*resultobj
;
8487 wxFont
*arg1
= (wxFont
*) 0 ;
8488 wxNativeFontInfo
*result
;
8489 PyObject
* obj0
= 0 ;
8491 (char *) "self", NULL
8494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
8495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8499 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
8501 wxPyEndAllowThreads(__tstate
);
8502 if (PyErr_Occurred()) SWIG_fail
;
8504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
8511 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8512 PyObject
*resultobj
;
8513 wxFont
*arg1
= (wxFont
*) 0 ;
8515 PyObject
* obj0
= 0 ;
8517 (char *) "self", NULL
8520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
8521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8525 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
8527 wxPyEndAllowThreads(__tstate
);
8528 if (PyErr_Occurred()) SWIG_fail
;
8530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8537 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8538 PyObject
*resultobj
;
8539 wxFont
*arg1
= (wxFont
*) 0 ;
8541 PyObject
* obj0
= 0 ;
8543 (char *) "self", NULL
8546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
8547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8551 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
8553 wxPyEndAllowThreads(__tstate
);
8554 if (PyErr_Occurred()) SWIG_fail
;
8558 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8560 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8569 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8570 PyObject
*resultobj
;
8571 wxFont
*arg1
= (wxFont
*) 0 ;
8573 PyObject
* obj0
= 0 ;
8575 (char *) "self", NULL
8578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
8579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8583 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
8585 wxPyEndAllowThreads(__tstate
);
8586 if (PyErr_Occurred()) SWIG_fail
;
8590 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8592 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8601 static PyObject
*_wrap_Font_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8602 PyObject
*resultobj
;
8603 wxFont
*arg1
= (wxFont
*) 0 ;
8605 PyObject
* obj0
= 0 ;
8606 PyObject
* obj1
= 0 ;
8608 (char *) "self",(char *) "pointSize", NULL
8611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8614 arg2
= (int) SWIG_AsInt(obj1
);
8615 if (PyErr_Occurred()) SWIG_fail
;
8617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8618 (arg1
)->SetPointSize(arg2
);
8620 wxPyEndAllowThreads(__tstate
);
8621 if (PyErr_Occurred()) SWIG_fail
;
8623 Py_INCREF(Py_None
); resultobj
= Py_None
;
8630 static PyObject
*_wrap_Font_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8631 PyObject
*resultobj
;
8632 wxFont
*arg1
= (wxFont
*) 0 ;
8634 PyObject
* obj0
= 0 ;
8635 PyObject
* obj1
= 0 ;
8637 (char *) "self",(char *) "family", NULL
8640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8643 arg2
= (int) SWIG_AsInt(obj1
);
8644 if (PyErr_Occurred()) SWIG_fail
;
8646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8647 (arg1
)->SetFamily(arg2
);
8649 wxPyEndAllowThreads(__tstate
);
8650 if (PyErr_Occurred()) SWIG_fail
;
8652 Py_INCREF(Py_None
); resultobj
= Py_None
;
8659 static PyObject
*_wrap_Font_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8660 PyObject
*resultobj
;
8661 wxFont
*arg1
= (wxFont
*) 0 ;
8663 PyObject
* obj0
= 0 ;
8664 PyObject
* obj1
= 0 ;
8666 (char *) "self",(char *) "style", NULL
8669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8672 arg2
= (int) SWIG_AsInt(obj1
);
8673 if (PyErr_Occurred()) SWIG_fail
;
8675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8676 (arg1
)->SetStyle(arg2
);
8678 wxPyEndAllowThreads(__tstate
);
8679 if (PyErr_Occurred()) SWIG_fail
;
8681 Py_INCREF(Py_None
); resultobj
= Py_None
;
8688 static PyObject
*_wrap_Font_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8689 PyObject
*resultobj
;
8690 wxFont
*arg1
= (wxFont
*) 0 ;
8692 PyObject
* obj0
= 0 ;
8693 PyObject
* obj1
= 0 ;
8695 (char *) "self",(char *) "weight", NULL
8698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8701 arg2
= (int) SWIG_AsInt(obj1
);
8702 if (PyErr_Occurred()) SWIG_fail
;
8704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8705 (arg1
)->SetWeight(arg2
);
8707 wxPyEndAllowThreads(__tstate
);
8708 if (PyErr_Occurred()) SWIG_fail
;
8710 Py_INCREF(Py_None
); resultobj
= Py_None
;
8717 static PyObject
*_wrap_Font_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8718 PyObject
*resultobj
;
8719 wxFont
*arg1
= (wxFont
*) 0 ;
8720 wxString
*arg2
= 0 ;
8721 bool temp2
= False
;
8722 PyObject
* obj0
= 0 ;
8723 PyObject
* obj1
= 0 ;
8725 (char *) "self",(char *) "faceName", NULL
8728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8732 arg2
= wxString_in_helper(obj1
);
8733 if (arg2
== NULL
) SWIG_fail
;
8737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8738 (arg1
)->SetFaceName((wxString
const &)*arg2
);
8740 wxPyEndAllowThreads(__tstate
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8743 Py_INCREF(Py_None
); resultobj
= Py_None
;
8758 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8759 PyObject
*resultobj
;
8760 wxFont
*arg1
= (wxFont
*) 0 ;
8762 PyObject
* obj0
= 0 ;
8763 PyObject
* obj1
= 0 ;
8765 (char *) "self",(char *) "underlined", NULL
8768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8771 arg2
= (bool) SWIG_AsBool(obj1
);
8772 if (PyErr_Occurred()) SWIG_fail
;
8774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8775 (arg1
)->SetUnderlined(arg2
);
8777 wxPyEndAllowThreads(__tstate
);
8778 if (PyErr_Occurred()) SWIG_fail
;
8780 Py_INCREF(Py_None
); resultobj
= Py_None
;
8787 static PyObject
*_wrap_Font_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8788 PyObject
*resultobj
;
8789 wxFont
*arg1
= (wxFont
*) 0 ;
8791 PyObject
* obj0
= 0 ;
8792 PyObject
* obj1
= 0 ;
8794 (char *) "self",(char *) "encoding", NULL
8797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8800 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8801 if (PyErr_Occurred()) SWIG_fail
;
8803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8804 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8806 wxPyEndAllowThreads(__tstate
);
8807 if (PyErr_Occurred()) SWIG_fail
;
8809 Py_INCREF(Py_None
); resultobj
= Py_None
;
8816 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8817 PyObject
*resultobj
;
8818 wxFont
*arg1
= (wxFont
*) 0 ;
8819 wxNativeFontInfo
*arg2
= 0 ;
8820 PyObject
* obj0
= 0 ;
8821 PyObject
* obj1
= 0 ;
8823 (char *) "self",(char *) "info", NULL
8826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
8827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8829 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
8830 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8833 PyErr_SetString(PyExc_TypeError
,"null reference");
8837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8838 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
8840 wxPyEndAllowThreads(__tstate
);
8841 if (PyErr_Occurred()) SWIG_fail
;
8843 Py_INCREF(Py_None
); resultobj
= Py_None
;
8850 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8851 PyObject
*resultobj
;
8852 wxFont
*arg1
= (wxFont
*) 0 ;
8853 wxString
*arg2
= 0 ;
8854 bool temp2
= False
;
8855 PyObject
* obj0
= 0 ;
8856 PyObject
* obj1
= 0 ;
8858 (char *) "self",(char *) "info", NULL
8861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8865 arg2
= wxString_in_helper(obj1
);
8866 if (arg2
== NULL
) SWIG_fail
;
8870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8871 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
8873 wxPyEndAllowThreads(__tstate
);
8874 if (PyErr_Occurred()) SWIG_fail
;
8876 Py_INCREF(Py_None
); resultobj
= Py_None
;
8891 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8892 PyObject
*resultobj
;
8893 wxFont
*arg1
= (wxFont
*) 0 ;
8894 wxString
*arg2
= 0 ;
8895 bool temp2
= False
;
8896 PyObject
* obj0
= 0 ;
8897 PyObject
* obj1
= 0 ;
8899 (char *) "self",(char *) "info", NULL
8902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
8903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8906 arg2
= wxString_in_helper(obj1
);
8907 if (arg2
== NULL
) SWIG_fail
;
8911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8912 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
8914 wxPyEndAllowThreads(__tstate
);
8915 if (PyErr_Occurred()) SWIG_fail
;
8917 Py_INCREF(Py_None
); resultobj
= Py_None
;
8932 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8933 PyObject
*resultobj
;
8934 wxFont
*arg1
= (wxFont
*) 0 ;
8936 PyObject
* obj0
= 0 ;
8938 (char *) "self", NULL
8941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
8942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8946 result
= ((wxFont
const *)arg1
)->GetFamilyString();
8948 wxPyEndAllowThreads(__tstate
);
8949 if (PyErr_Occurred()) SWIG_fail
;
8953 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8955 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8964 static PyObject
*_wrap_Font_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8965 PyObject
*resultobj
;
8966 wxFont
*arg1
= (wxFont
*) 0 ;
8968 PyObject
* obj0
= 0 ;
8970 (char *) "self", NULL
8973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
8974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8978 result
= ((wxFont
const *)arg1
)->GetStyleString();
8980 wxPyEndAllowThreads(__tstate
);
8981 if (PyErr_Occurred()) SWIG_fail
;
8985 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8987 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8996 static PyObject
*_wrap_Font_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8997 PyObject
*resultobj
;
8998 wxFont
*arg1
= (wxFont
*) 0 ;
9000 PyObject
* obj0
= 0 ;
9002 (char *) "self", NULL
9005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
9006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9010 result
= ((wxFont
const *)arg1
)->GetWeightString();
9012 wxPyEndAllowThreads(__tstate
);
9013 if (PyErr_Occurred()) SWIG_fail
;
9017 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9019 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9028 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9029 PyObject
*resultobj
;
9030 wxFont
*arg1
= (wxFont
*) 0 ;
9031 bool arg2
= (bool) True
;
9032 PyObject
* obj0
= 0 ;
9033 PyObject
* obj1
= 0 ;
9035 (char *) "self",(char *) "no", NULL
9038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
9039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9042 arg2
= (bool) SWIG_AsBool(obj1
);
9043 if (PyErr_Occurred()) SWIG_fail
;
9046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9047 (arg1
)->SetNoAntiAliasing(arg2
);
9049 wxPyEndAllowThreads(__tstate
);
9050 if (PyErr_Occurred()) SWIG_fail
;
9052 Py_INCREF(Py_None
); resultobj
= Py_None
;
9059 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9060 PyObject
*resultobj
;
9061 wxFont
*arg1
= (wxFont
*) 0 ;
9063 PyObject
* obj0
= 0 ;
9065 (char *) "self", NULL
9068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
9069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9073 result
= (bool)(arg1
)->GetNoAntiAliasing();
9075 wxPyEndAllowThreads(__tstate
);
9076 if (PyErr_Occurred()) SWIG_fail
;
9078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9085 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9086 PyObject
*resultobj
;
9092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
9094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9095 result
= (int)wxFont::GetDefaultEncoding();
9097 wxPyEndAllowThreads(__tstate
);
9098 if (PyErr_Occurred()) SWIG_fail
;
9100 resultobj
= SWIG_FromInt((int)result
);
9107 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9108 PyObject
*resultobj
;
9110 PyObject
* obj0
= 0 ;
9112 (char *) "encoding", NULL
9115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
9116 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
9117 if (PyErr_Occurred()) SWIG_fail
;
9119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9120 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
9122 wxPyEndAllowThreads(__tstate
);
9123 if (PyErr_Occurred()) SWIG_fail
;
9125 Py_INCREF(Py_None
); resultobj
= Py_None
;
9132 static PyObject
* Font_swigregister(PyObject
*self
, PyObject
*args
) {
9134 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9135 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
9137 return Py_BuildValue((char *)"");
9139 static PyObject
*_wrap_new_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9140 PyObject
*resultobj
;
9141 wxPyFontEnumerator
*result
;
9146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
9148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9149 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
9151 wxPyEndAllowThreads(__tstate
);
9152 if (PyErr_Occurred()) SWIG_fail
;
9154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
9161 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9162 PyObject
*resultobj
;
9163 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9164 PyObject
* obj0
= 0 ;
9166 (char *) "self", NULL
9169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
9170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9176 wxPyEndAllowThreads(__tstate
);
9177 if (PyErr_Occurred()) SWIG_fail
;
9179 Py_INCREF(Py_None
); resultobj
= Py_None
;
9186 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9187 PyObject
*resultobj
;
9188 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9189 PyObject
*arg2
= (PyObject
*) 0 ;
9190 PyObject
*arg3
= (PyObject
*) 0 ;
9192 PyObject
* obj0
= 0 ;
9193 PyObject
* obj1
= 0 ;
9194 PyObject
* obj2
= 0 ;
9195 PyObject
* obj3
= 0 ;
9197 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
9200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9205 arg4
= (bool) SWIG_AsBool(obj3
);
9206 if (PyErr_Occurred()) SWIG_fail
;
9208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9209 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
9211 wxPyEndAllowThreads(__tstate
);
9212 if (PyErr_Occurred()) SWIG_fail
;
9214 Py_INCREF(Py_None
); resultobj
= Py_None
;
9221 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9222 PyObject
*resultobj
;
9223 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9224 int arg2
= (int) wxFONTENCODING_SYSTEM
;
9225 bool arg3
= (bool) False
;
9227 PyObject
* obj0
= 0 ;
9228 PyObject
* obj1
= 0 ;
9229 PyObject
* obj2
= 0 ;
9231 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
9234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9238 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
9239 if (PyErr_Occurred()) SWIG_fail
;
9242 arg3
= (bool) SWIG_AsBool(obj2
);
9243 if (PyErr_Occurred()) SWIG_fail
;
9246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9247 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
9249 wxPyEndAllowThreads(__tstate
);
9250 if (PyErr_Occurred()) SWIG_fail
;
9252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9259 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9260 PyObject
*resultobj
;
9261 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9262 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9263 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9265 bool temp2
= False
;
9266 PyObject
* obj0
= 0 ;
9267 PyObject
* obj1
= 0 ;
9269 (char *) "self",(char *) "facename", NULL
9272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
9273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9277 arg2
= wxString_in_helper(obj1
);
9278 if (arg2
== NULL
) SWIG_fail
;
9283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9284 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
9286 wxPyEndAllowThreads(__tstate
);
9287 if (PyErr_Occurred()) SWIG_fail
;
9289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9304 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9305 PyObject
*resultobj
;
9306 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9308 PyObject
* obj0
= 0 ;
9310 (char *) "self", NULL
9313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
9314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9318 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
9320 wxPyEndAllowThreads(__tstate
);
9321 if (PyErr_Occurred()) SWIG_fail
;
9330 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9331 PyObject
*resultobj
;
9332 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9334 PyObject
* obj0
= 0 ;
9336 (char *) "self", NULL
9339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
9340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9344 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
9346 wxPyEndAllowThreads(__tstate
);
9347 if (PyErr_Occurred()) SWIG_fail
;
9356 static PyObject
* FontEnumerator_swigregister(PyObject
*self
, PyObject
*args
) {
9358 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9359 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
9361 return Py_BuildValue((char *)"");
9363 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9364 PyObject
*resultobj
;
9365 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9367 PyObject
* obj0
= 0 ;
9368 PyObject
* obj1
= 0 ;
9370 (char *) "self",(char *) "Language", NULL
9373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9376 arg2
= (int) SWIG_AsInt(obj1
);
9377 if (PyErr_Occurred()) SWIG_fail
;
9378 if (arg1
) (arg1
)->Language
= arg2
;
9380 Py_INCREF(Py_None
); resultobj
= Py_None
;
9387 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9388 PyObject
*resultobj
;
9389 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9391 PyObject
* obj0
= 0 ;
9393 (char *) "self", NULL
9396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
9397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9399 result
= (int) ((arg1
)->Language
);
9401 resultobj
= SWIG_FromInt((int)result
);
9408 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9409 PyObject
*resultobj
;
9410 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9411 wxString
*arg2
= (wxString
*) 0 ;
9412 bool temp2
= False
;
9413 PyObject
* obj0
= 0 ;
9414 PyObject
* obj1
= 0 ;
9416 (char *) "self",(char *) "CanonicalName", NULL
9419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9423 arg2
= wxString_in_helper(obj1
);
9424 if (arg2
== NULL
) SWIG_fail
;
9427 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
9429 Py_INCREF(Py_None
); resultobj
= Py_None
;
9444 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9445 PyObject
*resultobj
;
9446 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9448 PyObject
* obj0
= 0 ;
9450 (char *) "self", NULL
9453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
9454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9456 result
= (wxString
*)& ((arg1
)->CanonicalName
);
9460 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9462 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9471 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9472 PyObject
*resultobj
;
9473 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9474 wxString
*arg2
= (wxString
*) 0 ;
9475 bool temp2
= False
;
9476 PyObject
* obj0
= 0 ;
9477 PyObject
* obj1
= 0 ;
9479 (char *) "self",(char *) "Description", NULL
9482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9486 arg2
= wxString_in_helper(obj1
);
9487 if (arg2
== NULL
) SWIG_fail
;
9490 if (arg1
) (arg1
)->Description
= *arg2
;
9492 Py_INCREF(Py_None
); resultobj
= Py_None
;
9507 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9508 PyObject
*resultobj
;
9509 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9511 PyObject
* obj0
= 0 ;
9513 (char *) "self", NULL
9516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
9517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9519 result
= (wxString
*)& ((arg1
)->Description
);
9523 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9525 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9534 static PyObject
* LanguageInfo_swigregister(PyObject
*self
, PyObject
*args
) {
9536 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9537 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
9539 return Py_BuildValue((char *)"");
9541 static PyObject
*_wrap_new_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9542 PyObject
*resultobj
;
9543 int arg1
= (int) wxLANGUAGE_DEFAULT
;
9544 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9546 PyObject
* obj0
= 0 ;
9547 PyObject
* obj1
= 0 ;
9549 (char *) "language",(char *) "flags", NULL
9552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
9554 arg1
= (int) SWIG_AsInt(obj0
);
9555 if (PyErr_Occurred()) SWIG_fail
;
9558 arg2
= (int) SWIG_AsInt(obj1
);
9559 if (PyErr_Occurred()) SWIG_fail
;
9562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9563 result
= (wxLocale
*)new wxLocale(arg1
,arg2
);
9565 wxPyEndAllowThreads(__tstate
);
9566 if (PyErr_Occurred()) SWIG_fail
;
9568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
9575 static PyObject
*_wrap_delete_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9576 PyObject
*resultobj
;
9577 wxLocale
*arg1
= (wxLocale
*) 0 ;
9578 PyObject
* obj0
= 0 ;
9580 (char *) "self", NULL
9583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
9584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9590 wxPyEndAllowThreads(__tstate
);
9591 if (PyErr_Occurred()) SWIG_fail
;
9593 Py_INCREF(Py_None
); resultobj
= Py_None
;
9600 static PyObject
*_wrap_Locale_Init1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9601 PyObject
*resultobj
;
9602 wxLocale
*arg1
= (wxLocale
*) 0 ;
9603 wxString
*arg2
= 0 ;
9604 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9605 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9606 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9607 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9608 bool arg5
= (bool) True
;
9609 bool arg6
= (bool) False
;
9611 bool temp2
= False
;
9612 bool temp3
= False
;
9613 bool temp4
= False
;
9614 PyObject
* obj0
= 0 ;
9615 PyObject
* obj1
= 0 ;
9616 PyObject
* obj2
= 0 ;
9617 PyObject
* obj3
= 0 ;
9618 PyObject
* obj4
= 0 ;
9619 PyObject
* obj5
= 0 ;
9621 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9628 arg2
= wxString_in_helper(obj1
);
9629 if (arg2
== NULL
) SWIG_fail
;
9634 arg3
= wxString_in_helper(obj2
);
9635 if (arg3
== NULL
) SWIG_fail
;
9641 arg4
= wxString_in_helper(obj3
);
9642 if (arg4
== NULL
) SWIG_fail
;
9647 arg5
= (bool) SWIG_AsBool(obj4
);
9648 if (PyErr_Occurred()) SWIG_fail
;
9651 arg6
= (bool) SWIG_AsBool(obj5
);
9652 if (PyErr_Occurred()) SWIG_fail
;
9655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9656 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
9658 wxPyEndAllowThreads(__tstate
);
9659 if (PyErr_Occurred()) SWIG_fail
;
9661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9692 static PyObject
*_wrap_Locale_Init2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9693 PyObject
*resultobj
;
9694 wxLocale
*arg1
= (wxLocale
*) 0 ;
9695 int arg2
= (int) wxLANGUAGE_DEFAULT
;
9696 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9698 PyObject
* obj0
= 0 ;
9699 PyObject
* obj1
= 0 ;
9700 PyObject
* obj2
= 0 ;
9702 (char *) "self",(char *) "language",(char *) "flags", NULL
9705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9709 arg2
= (int) SWIG_AsInt(obj1
);
9710 if (PyErr_Occurred()) SWIG_fail
;
9713 arg3
= (int) SWIG_AsInt(obj2
);
9714 if (PyErr_Occurred()) SWIG_fail
;
9717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9718 result
= (bool)(arg1
)->Init(arg2
,arg3
);
9720 wxPyEndAllowThreads(__tstate
);
9721 if (PyErr_Occurred()) SWIG_fail
;
9723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9730 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9731 PyObject
*resultobj
;
9737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
9739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9740 result
= (int)wxLocale::GetSystemLanguage();
9742 wxPyEndAllowThreads(__tstate
);
9743 if (PyErr_Occurred()) SWIG_fail
;
9745 resultobj
= SWIG_FromInt((int)result
);
9752 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9753 PyObject
*resultobj
;
9759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
9761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9762 result
= (int)wxLocale::GetSystemEncoding();
9764 wxPyEndAllowThreads(__tstate
);
9765 if (PyErr_Occurred()) SWIG_fail
;
9767 resultobj
= SWIG_FromInt((int)result
);
9774 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9775 PyObject
*resultobj
;
9781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
9783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9784 result
= wxLocale::GetSystemEncodingName();
9786 wxPyEndAllowThreads(__tstate
);
9787 if (PyErr_Occurred()) SWIG_fail
;
9791 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9793 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9802 static PyObject
*_wrap_Locale_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9803 PyObject
*resultobj
;
9804 wxLocale
*arg1
= (wxLocale
*) 0 ;
9806 PyObject
* obj0
= 0 ;
9808 (char *) "self", NULL
9811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
9812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9816 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
9818 wxPyEndAllowThreads(__tstate
);
9819 if (PyErr_Occurred()) SWIG_fail
;
9821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9828 static PyObject
*_wrap_Locale_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9829 PyObject
*resultobj
;
9830 wxLocale
*arg1
= (wxLocale
*) 0 ;
9832 PyObject
* obj0
= 0 ;
9834 (char *) "self", NULL
9837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
9838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9842 result
= ((wxLocale
const *)arg1
)->GetLocale();
9844 wxPyEndAllowThreads(__tstate
);
9845 if (PyErr_Occurred()) SWIG_fail
;
9849 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9851 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9860 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9861 PyObject
*resultobj
;
9862 wxLocale
*arg1
= (wxLocale
*) 0 ;
9864 PyObject
* obj0
= 0 ;
9866 (char *) "self", NULL
9869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
9870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9874 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
9876 wxPyEndAllowThreads(__tstate
);
9877 if (PyErr_Occurred()) SWIG_fail
;
9879 resultobj
= SWIG_FromInt((int)result
);
9886 static PyObject
*_wrap_Locale_GetSysName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9887 PyObject
*resultobj
;
9888 wxLocale
*arg1
= (wxLocale
*) 0 ;
9890 PyObject
* obj0
= 0 ;
9892 (char *) "self", NULL
9895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
9896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9900 result
= ((wxLocale
const *)arg1
)->GetSysName();
9902 wxPyEndAllowThreads(__tstate
);
9903 if (PyErr_Occurred()) SWIG_fail
;
9907 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9909 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9918 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9919 PyObject
*resultobj
;
9920 wxLocale
*arg1
= (wxLocale
*) 0 ;
9922 PyObject
* obj0
= 0 ;
9924 (char *) "self", NULL
9927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
9928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9932 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
9934 wxPyEndAllowThreads(__tstate
);
9935 if (PyErr_Occurred()) SWIG_fail
;
9939 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9941 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9950 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9951 PyObject
*resultobj
;
9952 wxString
*arg1
= 0 ;
9953 bool temp1
= False
;
9954 PyObject
* obj0
= 0 ;
9956 (char *) "prefix", NULL
9959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
9961 arg1
= wxString_in_helper(obj0
);
9962 if (arg1
== NULL
) SWIG_fail
;
9966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9967 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
9969 wxPyEndAllowThreads(__tstate
);
9970 if (PyErr_Occurred()) SWIG_fail
;
9972 Py_INCREF(Py_None
); resultobj
= Py_None
;
9987 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9988 PyObject
*resultobj
;
9989 wxLocale
*arg1
= (wxLocale
*) 0 ;
9990 wxString
*arg2
= 0 ;
9992 bool temp2
= False
;
9993 PyObject
* obj0
= 0 ;
9994 PyObject
* obj1
= 0 ;
9996 (char *) "self",(char *) "szDomain", NULL
9999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
10000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10003 arg2
= wxString_in_helper(obj1
);
10004 if (arg2
== NULL
) SWIG_fail
;
10008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10009 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
10011 wxPyEndAllowThreads(__tstate
);
10012 if (PyErr_Occurred()) SWIG_fail
;
10014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10029 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10030 PyObject
*resultobj
;
10031 wxLocale
*arg1
= (wxLocale
*) 0 ;
10032 wxString
*arg2
= 0 ;
10034 bool temp2
= False
;
10035 PyObject
* obj0
= 0 ;
10036 PyObject
* obj1
= 0 ;
10037 char *kwnames
[] = {
10038 (char *) "self",(char *) "szDomain", NULL
10041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
10042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10045 arg2
= wxString_in_helper(obj1
);
10046 if (arg2
== NULL
) SWIG_fail
;
10050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10051 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
10053 wxPyEndAllowThreads(__tstate
);
10054 if (PyErr_Occurred()) SWIG_fail
;
10056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10071 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10072 PyObject
*resultobj
;
10074 wxLanguageInfo
*result
;
10075 PyObject
* obj0
= 0 ;
10076 char *kwnames
[] = {
10077 (char *) "lang", NULL
10080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
10081 arg1
= (int) SWIG_AsInt(obj0
);
10082 if (PyErr_Occurred()) SWIG_fail
;
10084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10085 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
10087 wxPyEndAllowThreads(__tstate
);
10088 if (PyErr_Occurred()) SWIG_fail
;
10090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
10097 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10098 PyObject
*resultobj
;
10101 PyObject
* obj0
= 0 ;
10102 char *kwnames
[] = {
10103 (char *) "lang", NULL
10106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
10107 arg1
= (int) SWIG_AsInt(obj0
);
10108 if (PyErr_Occurred()) SWIG_fail
;
10110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10111 result
= wxLocale::GetLanguageName(arg1
);
10113 wxPyEndAllowThreads(__tstate
);
10114 if (PyErr_Occurred()) SWIG_fail
;
10118 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10120 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10129 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10130 PyObject
*resultobj
;
10131 wxString
*arg1
= 0 ;
10132 wxLanguageInfo
*result
;
10133 bool temp1
= False
;
10134 PyObject
* obj0
= 0 ;
10135 char *kwnames
[] = {
10136 (char *) "locale", NULL
10139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
10141 arg1
= wxString_in_helper(obj0
);
10142 if (arg1
== NULL
) SWIG_fail
;
10146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10147 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
10149 wxPyEndAllowThreads(__tstate
);
10150 if (PyErr_Occurred()) SWIG_fail
;
10152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
10167 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10168 PyObject
*resultobj
;
10169 wxLanguageInfo
*arg1
= 0 ;
10170 PyObject
* obj0
= 0 ;
10171 char *kwnames
[] = {
10172 (char *) "info", NULL
10175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
10176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
10177 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10179 if (arg1
== NULL
) {
10180 PyErr_SetString(PyExc_TypeError
,"null reference");
10184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10185 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
10187 wxPyEndAllowThreads(__tstate
);
10188 if (PyErr_Occurred()) SWIG_fail
;
10190 Py_INCREF(Py_None
); resultobj
= Py_None
;
10197 static PyObject
*_wrap_Locale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10198 PyObject
*resultobj
;
10199 wxLocale
*arg1
= (wxLocale
*) 0 ;
10200 wxString
*arg2
= 0 ;
10201 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10202 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10204 bool temp2
= False
;
10205 bool temp3
= False
;
10206 PyObject
* obj0
= 0 ;
10207 PyObject
* obj1
= 0 ;
10208 PyObject
* obj2
= 0 ;
10209 char *kwnames
[] = {
10210 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
10213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10217 arg2
= wxString_in_helper(obj1
);
10218 if (arg2
== NULL
) SWIG_fail
;
10223 arg3
= wxString_in_helper(obj2
);
10224 if (arg3
== NULL
) SWIG_fail
;
10229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10230 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10232 wxPyEndAllowThreads(__tstate
);
10233 if (PyErr_Occurred()) SWIG_fail
;
10237 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10239 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10264 static PyObject
*_wrap_Locale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10265 PyObject
*resultobj
;
10266 wxLocale
*arg1
= (wxLocale
*) 0 ;
10268 PyObject
* obj0
= 0 ;
10269 char *kwnames
[] = {
10270 (char *) "self", NULL
10273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
10274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10279 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
10280 result
= (wxString
*) &_result_ref
;
10283 wxPyEndAllowThreads(__tstate
);
10284 if (PyErr_Occurred()) SWIG_fail
;
10288 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10290 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10299 static PyObject
* Locale_swigregister(PyObject
*self
, PyObject
*args
) {
10301 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10302 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
10304 return Py_BuildValue((char *)"");
10306 static PyObject
*_wrap_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10307 PyObject
*resultobj
;
10309 char *kwnames
[] = {
10313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
10315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10316 result
= (wxLocale
*)wxGetLocale();
10318 wxPyEndAllowThreads(__tstate
);
10319 if (PyErr_Occurred()) SWIG_fail
;
10321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
10328 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*self
, PyObject
*args
) {
10329 PyObject
*resultobj
;
10330 wxString
*arg1
= 0 ;
10332 bool temp1
= False
;
10333 PyObject
* obj0
= 0 ;
10335 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
10337 arg1
= wxString_in_helper(obj0
);
10338 if (arg1
== NULL
) SWIG_fail
;
10342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10343 result
= wxGetTranslation((wxString
const &)*arg1
);
10345 wxPyEndAllowThreads(__tstate
);
10346 if (PyErr_Occurred()) SWIG_fail
;
10350 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10352 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10369 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*self
, PyObject
*args
) {
10370 PyObject
*resultobj
;
10371 wxString
*arg1
= 0 ;
10372 wxString
*arg2
= 0 ;
10375 bool temp1
= False
;
10376 bool temp2
= False
;
10377 PyObject
* obj0
= 0 ;
10378 PyObject
* obj1
= 0 ;
10379 PyObject
* obj2
= 0 ;
10381 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
10383 arg1
= wxString_in_helper(obj0
);
10384 if (arg1
== NULL
) SWIG_fail
;
10388 arg2
= wxString_in_helper(obj1
);
10389 if (arg2
== NULL
) SWIG_fail
;
10392 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10393 if (PyErr_Occurred()) SWIG_fail
;
10395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10396 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10398 wxPyEndAllowThreads(__tstate
);
10399 if (PyErr_Occurred()) SWIG_fail
;
10403 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10405 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10430 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
10435 argc
= PyObject_Length(args
);
10436 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
10437 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10442 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10445 return _wrap_GetTranslation__SWIG_0(self
,args
);
10451 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10455 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10458 _v
= SWIG_CheckUnsignedLong(argv
[2]);
10460 return _wrap_GetTranslation__SWIG_1(self
,args
);
10466 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
10471 static PyObject
*_wrap_new_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10472 PyObject
*resultobj
;
10473 wxEncodingConverter
*result
;
10474 char *kwnames
[] = {
10478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
10480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10481 result
= (wxEncodingConverter
*)new wxEncodingConverter();
10483 wxPyEndAllowThreads(__tstate
);
10484 if (PyErr_Occurred()) SWIG_fail
;
10486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
10493 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10494 PyObject
*resultobj
;
10495 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10496 PyObject
* obj0
= 0 ;
10497 char *kwnames
[] = {
10498 (char *) "self", NULL
10501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
10502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10508 wxPyEndAllowThreads(__tstate
);
10509 if (PyErr_Occurred()) SWIG_fail
;
10511 Py_INCREF(Py_None
); resultobj
= Py_None
;
10518 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10519 PyObject
*resultobj
;
10520 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10523 int arg4
= (int) wxCONVERT_STRICT
;
10525 PyObject
* obj0
= 0 ;
10526 PyObject
* obj1
= 0 ;
10527 PyObject
* obj2
= 0 ;
10528 PyObject
* obj3
= 0 ;
10529 char *kwnames
[] = {
10530 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
10533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10536 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10537 if (PyErr_Occurred()) SWIG_fail
;
10538 arg3
= (wxFontEncoding
) SWIG_AsInt(obj2
);
10539 if (PyErr_Occurred()) SWIG_fail
;
10541 arg4
= (int) SWIG_AsInt(obj3
);
10542 if (PyErr_Occurred()) SWIG_fail
;
10545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10546 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
10548 wxPyEndAllowThreads(__tstate
);
10549 if (PyErr_Occurred()) SWIG_fail
;
10551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10558 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10559 PyObject
*resultobj
;
10560 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10561 wxString
*arg2
= 0 ;
10563 bool temp2
= False
;
10564 PyObject
* obj0
= 0 ;
10565 PyObject
* obj1
= 0 ;
10566 char *kwnames
[] = {
10567 (char *) "self",(char *) "input", NULL
10570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
10571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10574 arg2
= wxString_in_helper(obj1
);
10575 if (arg2
== NULL
) SWIG_fail
;
10579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10580 result
= (arg1
)->Convert((wxString
const &)*arg2
);
10582 wxPyEndAllowThreads(__tstate
);
10583 if (PyErr_Occurred()) SWIG_fail
;
10587 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10589 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10606 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10607 PyObject
*resultobj
;
10609 int arg2
= (int) wxPLATFORM_CURRENT
;
10610 wxFontEncodingArray result
;
10611 PyObject
* obj0
= 0 ;
10612 PyObject
* obj1
= 0 ;
10613 char *kwnames
[] = {
10614 (char *) "enc",(char *) "platform", NULL
10617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
10618 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10619 if (PyErr_Occurred()) SWIG_fail
;
10621 arg2
= (int) SWIG_AsInt(obj1
);
10622 if (PyErr_Occurred()) SWIG_fail
;
10625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10626 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
10628 wxPyEndAllowThreads(__tstate
);
10629 if (PyErr_Occurred()) SWIG_fail
;
10632 resultobj
= PyList_New(0);
10633 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10634 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10635 PyList_Append(resultobj
, number
);
10645 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10646 PyObject
*resultobj
;
10648 wxFontEncodingArray result
;
10649 PyObject
* obj0
= 0 ;
10650 char *kwnames
[] = {
10651 (char *) "enc", NULL
10654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
10655 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10656 if (PyErr_Occurred()) SWIG_fail
;
10658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10659 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
10661 wxPyEndAllowThreads(__tstate
);
10662 if (PyErr_Occurred()) SWIG_fail
;
10665 resultobj
= PyList_New(0);
10666 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10667 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10668 PyList_Append(resultobj
, number
);
10678 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10679 PyObject
*resultobj
;
10683 PyObject
* obj0
= 0 ;
10684 PyObject
* obj1
= 0 ;
10685 char *kwnames
[] = {
10686 (char *) "encIn",(char *) "encOut", NULL
10689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
10690 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10691 if (PyErr_Occurred()) SWIG_fail
;
10692 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10693 if (PyErr_Occurred()) SWIG_fail
;
10695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10696 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
10698 wxPyEndAllowThreads(__tstate
);
10699 if (PyErr_Occurred()) SWIG_fail
;
10701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10708 static PyObject
* EncodingConverter_swigregister(PyObject
*self
, PyObject
*args
) {
10710 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10711 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
10713 return Py_BuildValue((char *)"");
10715 static PyObject
*_wrap_delete_DC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10716 PyObject
*resultobj
;
10717 wxDC
*arg1
= (wxDC
*) 0 ;
10718 PyObject
* obj0
= 0 ;
10719 char *kwnames
[] = {
10720 (char *) "self", NULL
10723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
10724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10730 wxPyEndAllowThreads(__tstate
);
10731 if (PyErr_Occurred()) SWIG_fail
;
10733 Py_INCREF(Py_None
); resultobj
= Py_None
;
10740 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10741 PyObject
*resultobj
;
10742 wxDC
*arg1
= (wxDC
*) 0 ;
10743 PyObject
* obj0
= 0 ;
10744 char *kwnames
[] = {
10745 (char *) "self", NULL
10748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
10749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10753 (arg1
)->BeginDrawing();
10755 wxPyEndAllowThreads(__tstate
);
10756 if (PyErr_Occurred()) SWIG_fail
;
10758 Py_INCREF(Py_None
); resultobj
= Py_None
;
10765 static PyObject
*_wrap_DC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10766 PyObject
*resultobj
;
10767 wxDC
*arg1
= (wxDC
*) 0 ;
10768 PyObject
* obj0
= 0 ;
10769 char *kwnames
[] = {
10770 (char *) "self", NULL
10773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
10774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10778 (arg1
)->EndDrawing();
10780 wxPyEndAllowThreads(__tstate
);
10781 if (PyErr_Occurred()) SWIG_fail
;
10783 Py_INCREF(Py_None
); resultobj
= Py_None
;
10790 static PyObject
*_wrap_DC_FloodFillXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10791 PyObject
*resultobj
;
10792 wxDC
*arg1
= (wxDC
*) 0 ;
10795 wxColour
*arg4
= 0 ;
10796 int arg5
= (int) wxFLOOD_SURFACE
;
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 *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFillXY",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
;
10811 arg2
= (int) SWIG_AsInt(obj1
);
10812 if (PyErr_Occurred()) SWIG_fail
;
10813 arg3
= (int) SWIG_AsInt(obj2
);
10814 if (PyErr_Occurred()) SWIG_fail
;
10817 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
10820 arg5
= (int) SWIG_AsInt(obj4
);
10821 if (PyErr_Occurred()) SWIG_fail
;
10824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10825 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
10827 wxPyEndAllowThreads(__tstate
);
10828 if (PyErr_Occurred()) SWIG_fail
;
10830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10837 static PyObject
*_wrap_DC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10838 PyObject
*resultobj
;
10839 wxDC
*arg1
= (wxDC
*) 0 ;
10840 wxPoint
*arg2
= 0 ;
10841 wxColour
*arg3
= 0 ;
10842 int arg4
= (int) wxFLOOD_SURFACE
;
10846 PyObject
* obj0
= 0 ;
10847 PyObject
* obj1
= 0 ;
10848 PyObject
* obj2
= 0 ;
10849 PyObject
* obj3
= 0 ;
10850 char *kwnames
[] = {
10851 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10859 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10863 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10866 arg4
= (int) SWIG_AsInt(obj3
);
10867 if (PyErr_Occurred()) SWIG_fail
;
10870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10871 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
10873 wxPyEndAllowThreads(__tstate
);
10874 if (PyErr_Occurred()) SWIG_fail
;
10876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10883 static PyObject
*_wrap_DC_GetPixelXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10884 PyObject
*resultobj
;
10885 wxDC
*arg1
= (wxDC
*) 0 ;
10889 PyObject
* obj0
= 0 ;
10890 PyObject
* obj1
= 0 ;
10891 PyObject
* obj2
= 0 ;
10892 char *kwnames
[] = {
10893 (char *) "self",(char *) "x",(char *) "y", NULL
10896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixelXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10899 arg2
= (int) SWIG_AsInt(obj1
);
10900 if (PyErr_Occurred()) SWIG_fail
;
10901 arg3
= (int) SWIG_AsInt(obj2
);
10902 if (PyErr_Occurred()) SWIG_fail
;
10904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10905 result
= wxDC_GetPixelXY(arg1
,arg2
,arg3
);
10907 wxPyEndAllowThreads(__tstate
);
10908 if (PyErr_Occurred()) SWIG_fail
;
10911 wxColour
* resultptr
;
10912 resultptr
= new wxColour((wxColour
&) result
);
10913 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10921 static PyObject
*_wrap_DC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10922 PyObject
*resultobj
;
10923 wxDC
*arg1
= (wxDC
*) 0 ;
10924 wxPoint
*arg2
= 0 ;
10927 PyObject
* obj0
= 0 ;
10928 PyObject
* obj1
= 0 ;
10929 char *kwnames
[] = {
10930 (char *) "self",(char *) "pt", NULL
10933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixel",kwnames
,&obj0
,&obj1
)) goto fail
;
10934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10938 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10942 result
= wxDC_GetPixel(arg1
,(wxPoint
const &)*arg2
);
10944 wxPyEndAllowThreads(__tstate
);
10945 if (PyErr_Occurred()) SWIG_fail
;
10948 wxColour
* resultptr
;
10949 resultptr
= new wxColour((wxColour
&) result
);
10950 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10958 static PyObject
*_wrap_DC_DrawLineXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10959 PyObject
*resultobj
;
10960 wxDC
*arg1
= (wxDC
*) 0 ;
10965 PyObject
* obj0
= 0 ;
10966 PyObject
* obj1
= 0 ;
10967 PyObject
* obj2
= 0 ;
10968 PyObject
* obj3
= 0 ;
10969 PyObject
* obj4
= 0 ;
10970 char *kwnames
[] = {
10971 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLineXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10977 arg2
= (int) SWIG_AsInt(obj1
);
10978 if (PyErr_Occurred()) SWIG_fail
;
10979 arg3
= (int) SWIG_AsInt(obj2
);
10980 if (PyErr_Occurred()) SWIG_fail
;
10981 arg4
= (int) SWIG_AsInt(obj3
);
10982 if (PyErr_Occurred()) SWIG_fail
;
10983 arg5
= (int) SWIG_AsInt(obj4
);
10984 if (PyErr_Occurred()) SWIG_fail
;
10986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10987 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
10989 wxPyEndAllowThreads(__tstate
);
10990 if (PyErr_Occurred()) SWIG_fail
;
10992 Py_INCREF(Py_None
); resultobj
= Py_None
;
10999 static PyObject
*_wrap_DC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11000 PyObject
*resultobj
;
11001 wxDC
*arg1
= (wxDC
*) 0 ;
11002 wxPoint
*arg2
= 0 ;
11003 wxPoint
*arg3
= 0 ;
11006 PyObject
* obj0
= 0 ;
11007 PyObject
* obj1
= 0 ;
11008 PyObject
* obj2
= 0 ;
11009 char *kwnames
[] = {
11010 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
11013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11018 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11022 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11026 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
11028 wxPyEndAllowThreads(__tstate
);
11029 if (PyErr_Occurred()) SWIG_fail
;
11031 Py_INCREF(Py_None
); resultobj
= Py_None
;
11038 static PyObject
*_wrap_DC_CrossHairXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11039 PyObject
*resultobj
;
11040 wxDC
*arg1
= (wxDC
*) 0 ;
11043 PyObject
* obj0
= 0 ;
11044 PyObject
* obj1
= 0 ;
11045 PyObject
* obj2
= 0 ;
11046 char *kwnames
[] = {
11047 (char *) "self",(char *) "x",(char *) "y", NULL
11050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHairXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11053 arg2
= (int) SWIG_AsInt(obj1
);
11054 if (PyErr_Occurred()) SWIG_fail
;
11055 arg3
= (int) SWIG_AsInt(obj2
);
11056 if (PyErr_Occurred()) SWIG_fail
;
11058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11059 (arg1
)->CrossHair(arg2
,arg3
);
11061 wxPyEndAllowThreads(__tstate
);
11062 if (PyErr_Occurred()) SWIG_fail
;
11064 Py_INCREF(Py_None
); resultobj
= Py_None
;
11071 static PyObject
*_wrap_DC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11072 PyObject
*resultobj
;
11073 wxDC
*arg1
= (wxDC
*) 0 ;
11074 wxPoint
*arg2
= 0 ;
11076 PyObject
* obj0
= 0 ;
11077 PyObject
* obj1
= 0 ;
11078 char *kwnames
[] = {
11079 (char *) "self",(char *) "pt", NULL
11082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHair",kwnames
,&obj0
,&obj1
)) goto fail
;
11083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11087 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11091 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
11093 wxPyEndAllowThreads(__tstate
);
11094 if (PyErr_Occurred()) SWIG_fail
;
11096 Py_INCREF(Py_None
); resultobj
= Py_None
;
11103 static PyObject
*_wrap_DC_DrawArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11104 PyObject
*resultobj
;
11105 wxDC
*arg1
= (wxDC
*) 0 ;
11112 PyObject
* obj0
= 0 ;
11113 PyObject
* obj1
= 0 ;
11114 PyObject
* obj2
= 0 ;
11115 PyObject
* obj3
= 0 ;
11116 PyObject
* obj4
= 0 ;
11117 PyObject
* obj5
= 0 ;
11118 PyObject
* obj6
= 0 ;
11119 char *kwnames
[] = {
11120 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
11123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11126 arg2
= (int) SWIG_AsInt(obj1
);
11127 if (PyErr_Occurred()) SWIG_fail
;
11128 arg3
= (int) SWIG_AsInt(obj2
);
11129 if (PyErr_Occurred()) SWIG_fail
;
11130 arg4
= (int) SWIG_AsInt(obj3
);
11131 if (PyErr_Occurred()) SWIG_fail
;
11132 arg5
= (int) SWIG_AsInt(obj4
);
11133 if (PyErr_Occurred()) SWIG_fail
;
11134 arg6
= (int) SWIG_AsInt(obj5
);
11135 if (PyErr_Occurred()) SWIG_fail
;
11136 arg7
= (int) SWIG_AsInt(obj6
);
11137 if (PyErr_Occurred()) SWIG_fail
;
11139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11140 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11142 wxPyEndAllowThreads(__tstate
);
11143 if (PyErr_Occurred()) SWIG_fail
;
11145 Py_INCREF(Py_None
); resultobj
= Py_None
;
11152 static PyObject
*_wrap_DC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11153 PyObject
*resultobj
;
11154 wxDC
*arg1
= (wxDC
*) 0 ;
11155 wxPoint
*arg2
= 0 ;
11156 wxPoint
*arg3
= 0 ;
11157 wxPoint
*arg4
= 0 ;
11161 PyObject
* obj0
= 0 ;
11162 PyObject
* obj1
= 0 ;
11163 PyObject
* obj2
= 0 ;
11164 PyObject
* obj3
= 0 ;
11165 char *kwnames
[] = {
11166 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
11169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11174 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11178 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11182 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11186 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
11188 wxPyEndAllowThreads(__tstate
);
11189 if (PyErr_Occurred()) SWIG_fail
;
11191 Py_INCREF(Py_None
); resultobj
= Py_None
;
11198 static PyObject
*_wrap_DC_DrawCheckMarkXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11199 PyObject
*resultobj
;
11200 wxDC
*arg1
= (wxDC
*) 0 ;
11205 PyObject
* obj0
= 0 ;
11206 PyObject
* obj1
= 0 ;
11207 PyObject
* obj2
= 0 ;
11208 PyObject
* obj3
= 0 ;
11209 PyObject
* obj4
= 0 ;
11210 char *kwnames
[] = {
11211 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMarkXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11217 arg2
= (int) SWIG_AsInt(obj1
);
11218 if (PyErr_Occurred()) SWIG_fail
;
11219 arg3
= (int) SWIG_AsInt(obj2
);
11220 if (PyErr_Occurred()) SWIG_fail
;
11221 arg4
= (int) SWIG_AsInt(obj3
);
11222 if (PyErr_Occurred()) SWIG_fail
;
11223 arg5
= (int) SWIG_AsInt(obj4
);
11224 if (PyErr_Occurred()) SWIG_fail
;
11226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11227 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
11229 wxPyEndAllowThreads(__tstate
);
11230 if (PyErr_Occurred()) SWIG_fail
;
11232 Py_INCREF(Py_None
); resultobj
= Py_None
;
11239 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11240 PyObject
*resultobj
;
11241 wxDC
*arg1
= (wxDC
*) 0 ;
11244 PyObject
* obj0
= 0 ;
11245 PyObject
* obj1
= 0 ;
11246 char *kwnames
[] = {
11247 (char *) "self",(char *) "rect", NULL
11250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
)) goto fail
;
11251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11255 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11259 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
11261 wxPyEndAllowThreads(__tstate
);
11262 if (PyErr_Occurred()) SWIG_fail
;
11264 Py_INCREF(Py_None
); resultobj
= Py_None
;
11271 static PyObject
*_wrap_DC_DrawEllipticArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11272 PyObject
*resultobj
;
11273 wxDC
*arg1
= (wxDC
*) 0 ;
11280 PyObject
* obj0
= 0 ;
11281 PyObject
* obj1
= 0 ;
11282 PyObject
* obj2
= 0 ;
11283 PyObject
* obj3
= 0 ;
11284 PyObject
* obj4
= 0 ;
11285 PyObject
* obj5
= 0 ;
11286 PyObject
* obj6
= 0 ;
11287 char *kwnames
[] = {
11288 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
11291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11294 arg2
= (int) SWIG_AsInt(obj1
);
11295 if (PyErr_Occurred()) SWIG_fail
;
11296 arg3
= (int) SWIG_AsInt(obj2
);
11297 if (PyErr_Occurred()) SWIG_fail
;
11298 arg4
= (int) SWIG_AsInt(obj3
);
11299 if (PyErr_Occurred()) SWIG_fail
;
11300 arg5
= (int) SWIG_AsInt(obj4
);
11301 if (PyErr_Occurred()) SWIG_fail
;
11302 arg6
= (double) SWIG_AsDouble(obj5
);
11303 if (PyErr_Occurred()) SWIG_fail
;
11304 arg7
= (double) SWIG_AsDouble(obj6
);
11305 if (PyErr_Occurred()) SWIG_fail
;
11307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11308 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11310 wxPyEndAllowThreads(__tstate
);
11311 if (PyErr_Occurred()) SWIG_fail
;
11313 Py_INCREF(Py_None
); resultobj
= Py_None
;
11320 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11321 PyObject
*resultobj
;
11322 wxDC
*arg1
= (wxDC
*) 0 ;
11323 wxPoint
*arg2
= 0 ;
11329 PyObject
* obj0
= 0 ;
11330 PyObject
* obj1
= 0 ;
11331 PyObject
* obj2
= 0 ;
11332 PyObject
* obj3
= 0 ;
11333 PyObject
* obj4
= 0 ;
11334 char *kwnames
[] = {
11335 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
11338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11343 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11347 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11349 arg4
= (double) SWIG_AsDouble(obj3
);
11350 if (PyErr_Occurred()) SWIG_fail
;
11351 arg5
= (double) SWIG_AsDouble(obj4
);
11352 if (PyErr_Occurred()) SWIG_fail
;
11354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11355 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
11357 wxPyEndAllowThreads(__tstate
);
11358 if (PyErr_Occurred()) SWIG_fail
;
11360 Py_INCREF(Py_None
); resultobj
= Py_None
;
11367 static PyObject
*_wrap_DC_DrawPointXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11368 PyObject
*resultobj
;
11369 wxDC
*arg1
= (wxDC
*) 0 ;
11372 PyObject
* obj0
= 0 ;
11373 PyObject
* obj1
= 0 ;
11374 PyObject
* obj2
= 0 ;
11375 char *kwnames
[] = {
11376 (char *) "self",(char *) "x",(char *) "y", NULL
11379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPointXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11382 arg2
= (int) SWIG_AsInt(obj1
);
11383 if (PyErr_Occurred()) SWIG_fail
;
11384 arg3
= (int) SWIG_AsInt(obj2
);
11385 if (PyErr_Occurred()) SWIG_fail
;
11387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11388 (arg1
)->DrawPoint(arg2
,arg3
);
11390 wxPyEndAllowThreads(__tstate
);
11391 if (PyErr_Occurred()) SWIG_fail
;
11393 Py_INCREF(Py_None
); resultobj
= Py_None
;
11400 static PyObject
*_wrap_DC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11401 PyObject
*resultobj
;
11402 wxDC
*arg1
= (wxDC
*) 0 ;
11403 wxPoint
*arg2
= 0 ;
11405 PyObject
* obj0
= 0 ;
11406 PyObject
* obj1
= 0 ;
11407 char *kwnames
[] = {
11408 (char *) "self",(char *) "pt", NULL
11411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11416 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11420 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
11422 wxPyEndAllowThreads(__tstate
);
11423 if (PyErr_Occurred()) SWIG_fail
;
11425 Py_INCREF(Py_None
); resultobj
= Py_None
;
11432 static PyObject
*_wrap_DC_DrawRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11433 PyObject
*resultobj
;
11434 wxDC
*arg1
= (wxDC
*) 0 ;
11439 PyObject
* obj0
= 0 ;
11440 PyObject
* obj1
= 0 ;
11441 PyObject
* obj2
= 0 ;
11442 PyObject
* obj3
= 0 ;
11443 PyObject
* obj4
= 0 ;
11444 char *kwnames
[] = {
11445 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11451 arg2
= (int) SWIG_AsInt(obj1
);
11452 if (PyErr_Occurred()) SWIG_fail
;
11453 arg3
= (int) SWIG_AsInt(obj2
);
11454 if (PyErr_Occurred()) SWIG_fail
;
11455 arg4
= (int) SWIG_AsInt(obj3
);
11456 if (PyErr_Occurred()) SWIG_fail
;
11457 arg5
= (int) SWIG_AsInt(obj4
);
11458 if (PyErr_Occurred()) SWIG_fail
;
11460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11461 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
11463 wxPyEndAllowThreads(__tstate
);
11464 if (PyErr_Occurred()) SWIG_fail
;
11466 Py_INCREF(Py_None
); resultobj
= Py_None
;
11473 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11474 PyObject
*resultobj
;
11475 wxDC
*arg1
= (wxDC
*) 0 ;
11476 wxPoint
*arg2
= 0 ;
11480 PyObject
* obj0
= 0 ;
11481 PyObject
* obj1
= 0 ;
11482 PyObject
* obj2
= 0 ;
11483 char *kwnames
[] = {
11484 (char *) "self",(char *) "pt",(char *) "sz", NULL
11487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11492 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11496 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11500 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11502 wxPyEndAllowThreads(__tstate
);
11503 if (PyErr_Occurred()) SWIG_fail
;
11505 Py_INCREF(Py_None
); resultobj
= Py_None
;
11512 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11513 PyObject
*resultobj
;
11514 wxDC
*arg1
= (wxDC
*) 0 ;
11517 PyObject
* obj0
= 0 ;
11518 PyObject
* obj1
= 0 ;
11519 char *kwnames
[] = {
11520 (char *) "self",(char *) "rect", NULL
11523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11528 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11532 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
11534 wxPyEndAllowThreads(__tstate
);
11535 if (PyErr_Occurred()) SWIG_fail
;
11537 Py_INCREF(Py_None
); resultobj
= Py_None
;
11544 static PyObject
*_wrap_DC_DrawRoundedRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11545 PyObject
*resultobj
;
11546 wxDC
*arg1
= (wxDC
*) 0 ;
11552 PyObject
* obj0
= 0 ;
11553 PyObject
* obj1
= 0 ;
11554 PyObject
* obj2
= 0 ;
11555 PyObject
* obj3
= 0 ;
11556 PyObject
* obj4
= 0 ;
11557 PyObject
* obj5
= 0 ;
11558 char *kwnames
[] = {
11559 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11565 arg2
= (int) SWIG_AsInt(obj1
);
11566 if (PyErr_Occurred()) SWIG_fail
;
11567 arg3
= (int) SWIG_AsInt(obj2
);
11568 if (PyErr_Occurred()) SWIG_fail
;
11569 arg4
= (int) SWIG_AsInt(obj3
);
11570 if (PyErr_Occurred()) SWIG_fail
;
11571 arg5
= (int) SWIG_AsInt(obj4
);
11572 if (PyErr_Occurred()) SWIG_fail
;
11573 arg6
= (double) SWIG_AsDouble(obj5
);
11574 if (PyErr_Occurred()) SWIG_fail
;
11576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11577 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
11579 wxPyEndAllowThreads(__tstate
);
11580 if (PyErr_Occurred()) SWIG_fail
;
11582 Py_INCREF(Py_None
); resultobj
= Py_None
;
11589 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11590 PyObject
*resultobj
;
11591 wxDC
*arg1
= (wxDC
*) 0 ;
11592 wxPoint
*arg2
= 0 ;
11597 PyObject
* obj0
= 0 ;
11598 PyObject
* obj1
= 0 ;
11599 PyObject
* obj2
= 0 ;
11600 PyObject
* obj3
= 0 ;
11601 char *kwnames
[] = {
11602 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
11605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11610 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11614 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11616 arg4
= (double) SWIG_AsDouble(obj3
);
11617 if (PyErr_Occurred()) SWIG_fail
;
11619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11620 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
11622 wxPyEndAllowThreads(__tstate
);
11623 if (PyErr_Occurred()) SWIG_fail
;
11625 Py_INCREF(Py_None
); resultobj
= Py_None
;
11632 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11633 PyObject
*resultobj
;
11634 wxDC
*arg1
= (wxDC
*) 0 ;
11638 PyObject
* obj0
= 0 ;
11639 PyObject
* obj1
= 0 ;
11640 PyObject
* obj2
= 0 ;
11641 char *kwnames
[] = {
11642 (char *) "self",(char *) "r",(char *) "radius", NULL
11645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11650 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11652 arg3
= (double) SWIG_AsDouble(obj2
);
11653 if (PyErr_Occurred()) SWIG_fail
;
11655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11656 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11658 wxPyEndAllowThreads(__tstate
);
11659 if (PyErr_Occurred()) SWIG_fail
;
11661 Py_INCREF(Py_None
); resultobj
= Py_None
;
11668 static PyObject
*_wrap_DC_DrawCircleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11669 PyObject
*resultobj
;
11670 wxDC
*arg1
= (wxDC
*) 0 ;
11674 PyObject
* obj0
= 0 ;
11675 PyObject
* obj1
= 0 ;
11676 PyObject
* obj2
= 0 ;
11677 PyObject
* obj3
= 0 ;
11678 char *kwnames
[] = {
11679 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11685 arg2
= (int) SWIG_AsInt(obj1
);
11686 if (PyErr_Occurred()) SWIG_fail
;
11687 arg3
= (int) SWIG_AsInt(obj2
);
11688 if (PyErr_Occurred()) SWIG_fail
;
11689 arg4
= (int) SWIG_AsInt(obj3
);
11690 if (PyErr_Occurred()) SWIG_fail
;
11692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11693 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
11695 wxPyEndAllowThreads(__tstate
);
11696 if (PyErr_Occurred()) SWIG_fail
;
11698 Py_INCREF(Py_None
); resultobj
= Py_None
;
11705 static PyObject
*_wrap_DC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11706 PyObject
*resultobj
;
11707 wxDC
*arg1
= (wxDC
*) 0 ;
11708 wxPoint
*arg2
= 0 ;
11711 PyObject
* obj0
= 0 ;
11712 PyObject
* obj1
= 0 ;
11713 PyObject
* obj2
= 0 ;
11714 char *kwnames
[] = {
11715 (char *) "self",(char *) "pt",(char *) "radius", NULL
11718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11723 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11725 arg3
= (int) SWIG_AsInt(obj2
);
11726 if (PyErr_Occurred()) SWIG_fail
;
11728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11729 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
11731 wxPyEndAllowThreads(__tstate
);
11732 if (PyErr_Occurred()) SWIG_fail
;
11734 Py_INCREF(Py_None
); resultobj
= Py_None
;
11741 static PyObject
*_wrap_DC_DrawEllipseXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11742 PyObject
*resultobj
;
11743 wxDC
*arg1
= (wxDC
*) 0 ;
11748 PyObject
* obj0
= 0 ;
11749 PyObject
* obj1
= 0 ;
11750 PyObject
* obj2
= 0 ;
11751 PyObject
* obj3
= 0 ;
11752 PyObject
* obj4
= 0 ;
11753 char *kwnames
[] = {
11754 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipseXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11760 arg2
= (int) SWIG_AsInt(obj1
);
11761 if (PyErr_Occurred()) SWIG_fail
;
11762 arg3
= (int) SWIG_AsInt(obj2
);
11763 if (PyErr_Occurred()) SWIG_fail
;
11764 arg4
= (int) SWIG_AsInt(obj3
);
11765 if (PyErr_Occurred()) SWIG_fail
;
11766 arg5
= (int) SWIG_AsInt(obj4
);
11767 if (PyErr_Occurred()) SWIG_fail
;
11769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11770 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11772 wxPyEndAllowThreads(__tstate
);
11773 if (PyErr_Occurred()) SWIG_fail
;
11775 Py_INCREF(Py_None
); resultobj
= Py_None
;
11782 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11783 PyObject
*resultobj
;
11784 wxDC
*arg1
= (wxDC
*) 0 ;
11785 wxPoint
*arg2
= 0 ;
11789 PyObject
* obj0
= 0 ;
11790 PyObject
* obj1
= 0 ;
11791 PyObject
* obj2
= 0 ;
11792 char *kwnames
[] = {
11793 (char *) "self",(char *) "pt",(char *) "sz", NULL
11796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11801 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11805 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11809 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11811 wxPyEndAllowThreads(__tstate
);
11812 if (PyErr_Occurred()) SWIG_fail
;
11814 Py_INCREF(Py_None
); resultobj
= Py_None
;
11821 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11822 PyObject
*resultobj
;
11823 wxDC
*arg1
= (wxDC
*) 0 ;
11826 PyObject
* obj0
= 0 ;
11827 PyObject
* obj1
= 0 ;
11828 char *kwnames
[] = {
11829 (char *) "self",(char *) "rect", NULL
11832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11837 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11841 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11843 wxPyEndAllowThreads(__tstate
);
11844 if (PyErr_Occurred()) SWIG_fail
;
11846 Py_INCREF(Py_None
); resultobj
= Py_None
;
11853 static PyObject
*_wrap_DC_DrawIconXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11854 PyObject
*resultobj
;
11855 wxDC
*arg1
= (wxDC
*) 0 ;
11859 PyObject
* obj0
= 0 ;
11860 PyObject
* obj1
= 0 ;
11861 PyObject
* obj2
= 0 ;
11862 PyObject
* obj3
= 0 ;
11863 char *kwnames
[] = {
11864 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIconXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11870 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11871 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11873 if (arg2
== NULL
) {
11874 PyErr_SetString(PyExc_TypeError
,"null reference");
11877 arg3
= (int) SWIG_AsInt(obj2
);
11878 if (PyErr_Occurred()) SWIG_fail
;
11879 arg4
= (int) SWIG_AsInt(obj3
);
11880 if (PyErr_Occurred()) SWIG_fail
;
11882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11883 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11885 wxPyEndAllowThreads(__tstate
);
11886 if (PyErr_Occurred()) SWIG_fail
;
11888 Py_INCREF(Py_None
); resultobj
= Py_None
;
11895 static PyObject
*_wrap_DC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11896 PyObject
*resultobj
;
11897 wxDC
*arg1
= (wxDC
*) 0 ;
11899 wxPoint
*arg3
= 0 ;
11901 PyObject
* obj0
= 0 ;
11902 PyObject
* obj1
= 0 ;
11903 PyObject
* obj2
= 0 ;
11904 char *kwnames
[] = {
11905 (char *) "self",(char *) "icon",(char *) "pt", NULL
11908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11911 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11912 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11914 if (arg2
== NULL
) {
11915 PyErr_SetString(PyExc_TypeError
,"null reference");
11920 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11924 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
11926 wxPyEndAllowThreads(__tstate
);
11927 if (PyErr_Occurred()) SWIG_fail
;
11929 Py_INCREF(Py_None
); resultobj
= Py_None
;
11936 static PyObject
*_wrap_DC_DrawBitmapXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11937 PyObject
*resultobj
;
11938 wxDC
*arg1
= (wxDC
*) 0 ;
11939 wxBitmap
*arg2
= 0 ;
11942 bool arg5
= (bool) False
;
11943 PyObject
* obj0
= 0 ;
11944 PyObject
* obj1
= 0 ;
11945 PyObject
* obj2
= 0 ;
11946 PyObject
* obj3
= 0 ;
11947 PyObject
* obj4
= 0 ;
11948 char *kwnames
[] = {
11949 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmapXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11955 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11956 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11958 if (arg2
== NULL
) {
11959 PyErr_SetString(PyExc_TypeError
,"null reference");
11962 arg3
= (int) SWIG_AsInt(obj2
);
11963 if (PyErr_Occurred()) SWIG_fail
;
11964 arg4
= (int) SWIG_AsInt(obj3
);
11965 if (PyErr_Occurred()) SWIG_fail
;
11967 arg5
= (bool) SWIG_AsBool(obj4
);
11968 if (PyErr_Occurred()) SWIG_fail
;
11971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11972 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
11974 wxPyEndAllowThreads(__tstate
);
11975 if (PyErr_Occurred()) SWIG_fail
;
11977 Py_INCREF(Py_None
); resultobj
= Py_None
;
11984 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11985 PyObject
*resultobj
;
11986 wxDC
*arg1
= (wxDC
*) 0 ;
11987 wxBitmap
*arg2
= 0 ;
11988 wxPoint
*arg3
= 0 ;
11989 bool arg4
= (bool) False
;
11991 PyObject
* obj0
= 0 ;
11992 PyObject
* obj1
= 0 ;
11993 PyObject
* obj2
= 0 ;
11994 PyObject
* obj3
= 0 ;
11995 char *kwnames
[] = {
11996 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12002 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
12003 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12005 if (arg2
== NULL
) {
12006 PyErr_SetString(PyExc_TypeError
,"null reference");
12011 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12014 arg4
= (bool) SWIG_AsBool(obj3
);
12015 if (PyErr_Occurred()) SWIG_fail
;
12018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12019 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
12021 wxPyEndAllowThreads(__tstate
);
12022 if (PyErr_Occurred()) SWIG_fail
;
12024 Py_INCREF(Py_None
); resultobj
= Py_None
;
12031 static PyObject
*_wrap_DC_DrawTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12032 PyObject
*resultobj
;
12033 wxDC
*arg1
= (wxDC
*) 0 ;
12034 wxString
*arg2
= 0 ;
12037 bool temp2
= False
;
12038 PyObject
* obj0
= 0 ;
12039 PyObject
* obj1
= 0 ;
12040 PyObject
* obj2
= 0 ;
12041 PyObject
* obj3
= 0 ;
12042 char *kwnames
[] = {
12043 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
12046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12050 arg2
= wxString_in_helper(obj1
);
12051 if (arg2
== NULL
) SWIG_fail
;
12054 arg3
= (int) SWIG_AsInt(obj2
);
12055 if (PyErr_Occurred()) SWIG_fail
;
12056 arg4
= (int) SWIG_AsInt(obj3
);
12057 if (PyErr_Occurred()) SWIG_fail
;
12059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12060 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
12062 wxPyEndAllowThreads(__tstate
);
12063 if (PyErr_Occurred()) SWIG_fail
;
12065 Py_INCREF(Py_None
); resultobj
= Py_None
;
12080 static PyObject
*_wrap_DC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12081 PyObject
*resultobj
;
12082 wxDC
*arg1
= (wxDC
*) 0 ;
12083 wxString
*arg2
= 0 ;
12084 wxPoint
*arg3
= 0 ;
12085 bool temp2
= False
;
12087 PyObject
* obj0
= 0 ;
12088 PyObject
* obj1
= 0 ;
12089 PyObject
* obj2
= 0 ;
12090 char *kwnames
[] = {
12091 (char *) "self",(char *) "text",(char *) "pt", NULL
12094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12098 arg2
= wxString_in_helper(obj1
);
12099 if (arg2
== NULL
) SWIG_fail
;
12104 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12108 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
12110 wxPyEndAllowThreads(__tstate
);
12111 if (PyErr_Occurred()) SWIG_fail
;
12113 Py_INCREF(Py_None
); resultobj
= Py_None
;
12128 static PyObject
*_wrap_DC_DrawRotatedTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12129 PyObject
*resultobj
;
12130 wxDC
*arg1
= (wxDC
*) 0 ;
12131 wxString
*arg2
= 0 ;
12135 bool temp2
= False
;
12136 PyObject
* obj0
= 0 ;
12137 PyObject
* obj1
= 0 ;
12138 PyObject
* obj2
= 0 ;
12139 PyObject
* obj3
= 0 ;
12140 PyObject
* obj4
= 0 ;
12141 char *kwnames
[] = {
12142 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
12145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12149 arg2
= wxString_in_helper(obj1
);
12150 if (arg2
== NULL
) SWIG_fail
;
12153 arg3
= (int) SWIG_AsInt(obj2
);
12154 if (PyErr_Occurred()) SWIG_fail
;
12155 arg4
= (int) SWIG_AsInt(obj3
);
12156 if (PyErr_Occurred()) SWIG_fail
;
12157 arg5
= (double) SWIG_AsDouble(obj4
);
12158 if (PyErr_Occurred()) SWIG_fail
;
12160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12161 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
12163 wxPyEndAllowThreads(__tstate
);
12164 if (PyErr_Occurred()) SWIG_fail
;
12166 Py_INCREF(Py_None
); resultobj
= Py_None
;
12181 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12182 PyObject
*resultobj
;
12183 wxDC
*arg1
= (wxDC
*) 0 ;
12184 wxString
*arg2
= 0 ;
12185 wxPoint
*arg3
= 0 ;
12187 bool temp2
= False
;
12189 PyObject
* obj0
= 0 ;
12190 PyObject
* obj1
= 0 ;
12191 PyObject
* obj2
= 0 ;
12192 PyObject
* obj3
= 0 ;
12193 char *kwnames
[] = {
12194 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
12197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12201 arg2
= wxString_in_helper(obj1
);
12202 if (arg2
== NULL
) SWIG_fail
;
12207 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12209 arg4
= (double) SWIG_AsDouble(obj3
);
12210 if (PyErr_Occurred()) SWIG_fail
;
12212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12213 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
12215 wxPyEndAllowThreads(__tstate
);
12216 if (PyErr_Occurred()) SWIG_fail
;
12218 Py_INCREF(Py_None
); resultobj
= Py_None
;
12233 static PyObject
*_wrap_DC_BlitXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12234 PyObject
*resultobj
;
12235 wxDC
*arg1
= (wxDC
*) 0 ;
12240 wxDC
*arg6
= (wxDC
*) 0 ;
12243 int arg9
= (int) wxCOPY
;
12244 bool arg10
= (bool) False
;
12245 int arg11
= (int) -1 ;
12246 int arg12
= (int) -1 ;
12248 PyObject
* obj0
= 0 ;
12249 PyObject
* obj1
= 0 ;
12250 PyObject
* obj2
= 0 ;
12251 PyObject
* obj3
= 0 ;
12252 PyObject
* obj4
= 0 ;
12253 PyObject
* obj5
= 0 ;
12254 PyObject
* obj6
= 0 ;
12255 PyObject
* obj7
= 0 ;
12256 PyObject
* obj8
= 0 ;
12257 PyObject
* obj9
= 0 ;
12258 PyObject
* obj10
= 0 ;
12259 PyObject
* obj11
= 0 ;
12260 char *kwnames
[] = {
12261 (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
12264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO|OOOO:DC_BlitXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
,&obj11
)) goto fail
;
12265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12267 arg2
= (int) SWIG_AsInt(obj1
);
12268 if (PyErr_Occurred()) SWIG_fail
;
12269 arg3
= (int) SWIG_AsInt(obj2
);
12270 if (PyErr_Occurred()) SWIG_fail
;
12271 arg4
= (int) SWIG_AsInt(obj3
);
12272 if (PyErr_Occurred()) SWIG_fail
;
12273 arg5
= (int) SWIG_AsInt(obj4
);
12274 if (PyErr_Occurred()) SWIG_fail
;
12275 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
12276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12277 arg7
= (int) SWIG_AsInt(obj6
);
12278 if (PyErr_Occurred()) SWIG_fail
;
12279 arg8
= (int) SWIG_AsInt(obj7
);
12280 if (PyErr_Occurred()) SWIG_fail
;
12282 arg9
= (int) SWIG_AsInt(obj8
);
12283 if (PyErr_Occurred()) SWIG_fail
;
12286 arg10
= (bool) SWIG_AsBool(obj9
);
12287 if (PyErr_Occurred()) SWIG_fail
;
12290 arg11
= (int) SWIG_AsInt(obj10
);
12291 if (PyErr_Occurred()) SWIG_fail
;
12294 arg12
= (int) SWIG_AsInt(obj11
);
12295 if (PyErr_Occurred()) SWIG_fail
;
12298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12299 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
12301 wxPyEndAllowThreads(__tstate
);
12302 if (PyErr_Occurred()) SWIG_fail
;
12304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12311 static PyObject
*_wrap_DC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12312 PyObject
*resultobj
;
12313 wxDC
*arg1
= (wxDC
*) 0 ;
12314 wxPoint
*arg2
= 0 ;
12316 wxDC
*arg4
= (wxDC
*) 0 ;
12317 wxPoint
*arg5
= 0 ;
12318 int arg6
= (int) wxCOPY
;
12319 bool arg7
= (bool) False
;
12320 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
12321 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
12327 PyObject
* obj0
= 0 ;
12328 PyObject
* obj1
= 0 ;
12329 PyObject
* obj2
= 0 ;
12330 PyObject
* obj3
= 0 ;
12331 PyObject
* obj4
= 0 ;
12332 PyObject
* obj5
= 0 ;
12333 PyObject
* obj6
= 0 ;
12334 PyObject
* obj7
= 0 ;
12335 char *kwnames
[] = {
12336 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
12339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_Blit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12344 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12348 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12350 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
12351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12354 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12357 arg6
= (int) SWIG_AsInt(obj5
);
12358 if (PyErr_Occurred()) SWIG_fail
;
12361 arg7
= (bool) SWIG_AsBool(obj6
);
12362 if (PyErr_Occurred()) SWIG_fail
;
12367 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
12371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12372 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
12374 wxPyEndAllowThreads(__tstate
);
12375 if (PyErr_Occurred()) SWIG_fail
;
12377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12384 static PyObject
*_wrap_DC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12385 PyObject
*resultobj
;
12386 wxDC
*arg1
= (wxDC
*) 0 ;
12388 wxPoint
*arg3
= (wxPoint
*) 0 ;
12389 int arg4
= (int) 0 ;
12390 int arg5
= (int) 0 ;
12391 PyObject
* obj0
= 0 ;
12392 PyObject
* obj1
= 0 ;
12393 PyObject
* obj2
= 0 ;
12394 PyObject
* obj3
= 0 ;
12395 char *kwnames
[] = {
12396 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
12399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12403 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12404 if (arg3
== NULL
) SWIG_fail
;
12407 arg4
= (int) SWIG_AsInt(obj2
);
12408 if (PyErr_Occurred()) SWIG_fail
;
12411 arg5
= (int) SWIG_AsInt(obj3
);
12412 if (PyErr_Occurred()) SWIG_fail
;
12415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12416 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
12418 wxPyEndAllowThreads(__tstate
);
12419 if (PyErr_Occurred()) SWIG_fail
;
12421 Py_INCREF(Py_None
); resultobj
= Py_None
;
12423 if (arg3
) delete [] arg3
;
12428 if (arg3
) delete [] arg3
;
12434 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12435 PyObject
*resultobj
;
12436 wxDC
*arg1
= (wxDC
*) 0 ;
12438 wxPoint
*arg3
= (wxPoint
*) 0 ;
12439 int arg4
= (int) 0 ;
12440 int arg5
= (int) 0 ;
12441 int arg6
= (int) wxODDEVEN_RULE
;
12442 PyObject
* obj0
= 0 ;
12443 PyObject
* obj1
= 0 ;
12444 PyObject
* obj2
= 0 ;
12445 PyObject
* obj3
= 0 ;
12446 PyObject
* obj4
= 0 ;
12447 char *kwnames
[] = {
12448 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
12451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12455 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12456 if (arg3
== NULL
) SWIG_fail
;
12459 arg4
= (int) SWIG_AsInt(obj2
);
12460 if (PyErr_Occurred()) SWIG_fail
;
12463 arg5
= (int) SWIG_AsInt(obj3
);
12464 if (PyErr_Occurred()) SWIG_fail
;
12467 arg6
= (int) SWIG_AsInt(obj4
);
12468 if (PyErr_Occurred()) SWIG_fail
;
12471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12472 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
12474 wxPyEndAllowThreads(__tstate
);
12475 if (PyErr_Occurred()) SWIG_fail
;
12477 Py_INCREF(Py_None
); resultobj
= Py_None
;
12479 if (arg3
) delete [] arg3
;
12484 if (arg3
) delete [] arg3
;
12490 static PyObject
*_wrap_DC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12491 PyObject
*resultobj
;
12492 wxDC
*arg1
= (wxDC
*) 0 ;
12493 wxString
*arg2
= 0 ;
12495 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12496 int arg5
= (int) -1 ;
12497 bool temp2
= False
;
12499 PyObject
* obj0
= 0 ;
12500 PyObject
* obj1
= 0 ;
12501 PyObject
* obj2
= 0 ;
12502 PyObject
* obj3
= 0 ;
12503 PyObject
* obj4
= 0 ;
12504 char *kwnames
[] = {
12505 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12512 arg2
= wxString_in_helper(obj1
);
12513 if (arg2
== NULL
) SWIG_fail
;
12518 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
12521 arg4
= (int) SWIG_AsInt(obj3
);
12522 if (PyErr_Occurred()) SWIG_fail
;
12525 arg5
= (int) SWIG_AsInt(obj4
);
12526 if (PyErr_Occurred()) SWIG_fail
;
12529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12530 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
12532 wxPyEndAllowThreads(__tstate
);
12533 if (PyErr_Occurred()) SWIG_fail
;
12535 Py_INCREF(Py_None
); resultobj
= Py_None
;
12550 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12551 PyObject
*resultobj
;
12552 wxDC
*arg1
= (wxDC
*) 0 ;
12553 wxString
*arg2
= 0 ;
12554 wxBitmap
*arg3
= 0 ;
12556 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12557 int arg6
= (int) -1 ;
12559 bool temp2
= False
;
12561 PyObject
* obj0
= 0 ;
12562 PyObject
* obj1
= 0 ;
12563 PyObject
* obj2
= 0 ;
12564 PyObject
* obj3
= 0 ;
12565 PyObject
* obj4
= 0 ;
12566 PyObject
* obj5
= 0 ;
12567 char *kwnames
[] = {
12568 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12575 arg2
= wxString_in_helper(obj1
);
12576 if (arg2
== NULL
) SWIG_fail
;
12579 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
12580 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12582 if (arg3
== NULL
) {
12583 PyErr_SetString(PyExc_TypeError
,"null reference");
12588 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
12591 arg5
= (int) SWIG_AsInt(obj4
);
12592 if (PyErr_Occurred()) SWIG_fail
;
12595 arg6
= (int) SWIG_AsInt(obj5
);
12596 if (PyErr_Occurred()) SWIG_fail
;
12599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12600 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
12602 wxPyEndAllowThreads(__tstate
);
12603 if (PyErr_Occurred()) SWIG_fail
;
12606 wxRect
* resultptr
;
12607 resultptr
= new wxRect((wxRect
&) result
);
12608 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12624 static PyObject
*_wrap_DC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12625 PyObject
*resultobj
;
12626 wxDC
*arg1
= (wxDC
*) 0 ;
12628 wxPoint
*arg3
= (wxPoint
*) 0 ;
12629 PyObject
* obj0
= 0 ;
12630 PyObject
* obj1
= 0 ;
12631 char *kwnames
[] = {
12632 (char *) "self",(char *) "points", NULL
12635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
12636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12639 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12640 if (arg3
== NULL
) SWIG_fail
;
12643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12644 (arg1
)->DrawSpline(arg2
,arg3
);
12646 wxPyEndAllowThreads(__tstate
);
12647 if (PyErr_Occurred()) SWIG_fail
;
12649 Py_INCREF(Py_None
); resultobj
= Py_None
;
12651 if (arg3
) delete [] arg3
;
12656 if (arg3
) delete [] arg3
;
12662 static PyObject
*_wrap_DC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12663 PyObject
*resultobj
;
12664 wxDC
*arg1
= (wxDC
*) 0 ;
12665 PyObject
* obj0
= 0 ;
12666 char *kwnames
[] = {
12667 (char *) "self", NULL
12670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",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();
12677 wxPyEndAllowThreads(__tstate
);
12678 if (PyErr_Occurred()) SWIG_fail
;
12680 Py_INCREF(Py_None
); resultobj
= Py_None
;
12687 static PyObject
*_wrap_DC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12688 PyObject
*resultobj
;
12689 wxDC
*arg1
= (wxDC
*) 0 ;
12690 wxString
*arg2
= 0 ;
12692 bool temp2
= False
;
12693 PyObject
* obj0
= 0 ;
12694 PyObject
* obj1
= 0 ;
12695 char *kwnames
[] = {
12696 (char *) "self",(char *) "message", NULL
12699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
12700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12703 arg2
= wxString_in_helper(obj1
);
12704 if (arg2
== NULL
) SWIG_fail
;
12708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12709 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
12711 wxPyEndAllowThreads(__tstate
);
12712 if (PyErr_Occurred()) SWIG_fail
;
12714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12729 static PyObject
*_wrap_DC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12730 PyObject
*resultobj
;
12731 wxDC
*arg1
= (wxDC
*) 0 ;
12732 PyObject
* obj0
= 0 ;
12733 char *kwnames
[] = {
12734 (char *) "self", NULL
12737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
12738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12744 wxPyEndAllowThreads(__tstate
);
12745 if (PyErr_Occurred()) SWIG_fail
;
12747 Py_INCREF(Py_None
); resultobj
= Py_None
;
12754 static PyObject
*_wrap_DC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12755 PyObject
*resultobj
;
12756 wxDC
*arg1
= (wxDC
*) 0 ;
12757 PyObject
* obj0
= 0 ;
12758 char *kwnames
[] = {
12759 (char *) "self", NULL
12762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
12763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12767 (arg1
)->StartPage();
12769 wxPyEndAllowThreads(__tstate
);
12770 if (PyErr_Occurred()) SWIG_fail
;
12772 Py_INCREF(Py_None
); resultobj
= Py_None
;
12779 static PyObject
*_wrap_DC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12780 PyObject
*resultobj
;
12781 wxDC
*arg1
= (wxDC
*) 0 ;
12782 PyObject
* obj0
= 0 ;
12783 char *kwnames
[] = {
12784 (char *) "self", NULL
12787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
12788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12794 wxPyEndAllowThreads(__tstate
);
12795 if (PyErr_Occurred()) SWIG_fail
;
12797 Py_INCREF(Py_None
); resultobj
= Py_None
;
12804 static PyObject
*_wrap_DC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12805 PyObject
*resultobj
;
12806 wxDC
*arg1
= (wxDC
*) 0 ;
12808 PyObject
* obj0
= 0 ;
12809 PyObject
* obj1
= 0 ;
12810 char *kwnames
[] = {
12811 (char *) "self",(char *) "font", NULL
12814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12817 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12818 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12820 if (arg2
== NULL
) {
12821 PyErr_SetString(PyExc_TypeError
,"null reference");
12825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12826 (arg1
)->SetFont((wxFont
const &)*arg2
);
12828 wxPyEndAllowThreads(__tstate
);
12829 if (PyErr_Occurred()) SWIG_fail
;
12831 Py_INCREF(Py_None
); resultobj
= Py_None
;
12838 static PyObject
*_wrap_DC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12839 PyObject
*resultobj
;
12840 wxDC
*arg1
= (wxDC
*) 0 ;
12842 PyObject
* obj0
= 0 ;
12843 PyObject
* obj1
= 0 ;
12844 char *kwnames
[] = {
12845 (char *) "self",(char *) "pen", NULL
12848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
12849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12851 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
12852 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12854 if (arg2
== NULL
) {
12855 PyErr_SetString(PyExc_TypeError
,"null reference");
12859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12860 (arg1
)->SetPen((wxPen
const &)*arg2
);
12862 wxPyEndAllowThreads(__tstate
);
12863 if (PyErr_Occurred()) SWIG_fail
;
12865 Py_INCREF(Py_None
); resultobj
= Py_None
;
12872 static PyObject
*_wrap_DC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12873 PyObject
*resultobj
;
12874 wxDC
*arg1
= (wxDC
*) 0 ;
12875 wxBrush
*arg2
= 0 ;
12876 PyObject
* obj0
= 0 ;
12877 PyObject
* obj1
= 0 ;
12878 char *kwnames
[] = {
12879 (char *) "self",(char *) "brush", NULL
12882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
12883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12885 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12886 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12888 if (arg2
== NULL
) {
12889 PyErr_SetString(PyExc_TypeError
,"null reference");
12893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12894 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
12896 wxPyEndAllowThreads(__tstate
);
12897 if (PyErr_Occurred()) SWIG_fail
;
12899 Py_INCREF(Py_None
); resultobj
= Py_None
;
12906 static PyObject
*_wrap_DC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12907 PyObject
*resultobj
;
12908 wxDC
*arg1
= (wxDC
*) 0 ;
12909 wxBrush
*arg2
= 0 ;
12910 PyObject
* obj0
= 0 ;
12911 PyObject
* obj1
= 0 ;
12912 char *kwnames
[] = {
12913 (char *) "self",(char *) "brush", NULL
12916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12919 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12920 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12922 if (arg2
== NULL
) {
12923 PyErr_SetString(PyExc_TypeError
,"null reference");
12927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12928 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
12930 wxPyEndAllowThreads(__tstate
);
12931 if (PyErr_Occurred()) SWIG_fail
;
12933 Py_INCREF(Py_None
); resultobj
= Py_None
;
12940 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12941 PyObject
*resultobj
;
12942 wxDC
*arg1
= (wxDC
*) 0 ;
12944 PyObject
* obj0
= 0 ;
12945 PyObject
* obj1
= 0 ;
12946 char *kwnames
[] = {
12947 (char *) "self",(char *) "mode", NULL
12950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
12951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12953 arg2
= (int) SWIG_AsInt(obj1
);
12954 if (PyErr_Occurred()) SWIG_fail
;
12956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12957 (arg1
)->SetBackgroundMode(arg2
);
12959 wxPyEndAllowThreads(__tstate
);
12960 if (PyErr_Occurred()) SWIG_fail
;
12962 Py_INCREF(Py_None
); resultobj
= Py_None
;
12969 static PyObject
*_wrap_DC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12970 PyObject
*resultobj
;
12971 wxDC
*arg1
= (wxDC
*) 0 ;
12972 wxPalette
*arg2
= 0 ;
12973 PyObject
* obj0
= 0 ;
12974 PyObject
* obj1
= 0 ;
12975 char *kwnames
[] = {
12976 (char *) "self",(char *) "palette", NULL
12979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
12980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12982 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
12983 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12985 if (arg2
== NULL
) {
12986 PyErr_SetString(PyExc_TypeError
,"null reference");
12990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12991 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
12993 wxPyEndAllowThreads(__tstate
);
12994 if (PyErr_Occurred()) SWIG_fail
;
12996 Py_INCREF(Py_None
); resultobj
= Py_None
;
13003 static PyObject
*_wrap_DC_SetClippingRegionXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13004 PyObject
*resultobj
;
13005 wxDC
*arg1
= (wxDC
*) 0 ;
13010 PyObject
* obj0
= 0 ;
13011 PyObject
* obj1
= 0 ;
13012 PyObject
* obj2
= 0 ;
13013 PyObject
* obj3
= 0 ;
13014 PyObject
* obj4
= 0 ;
13015 char *kwnames
[] = {
13016 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegionXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13022 arg2
= (int) SWIG_AsInt(obj1
);
13023 if (PyErr_Occurred()) SWIG_fail
;
13024 arg3
= (int) SWIG_AsInt(obj2
);
13025 if (PyErr_Occurred()) SWIG_fail
;
13026 arg4
= (int) SWIG_AsInt(obj3
);
13027 if (PyErr_Occurred()) SWIG_fail
;
13028 arg5
= (int) SWIG_AsInt(obj4
);
13029 if (PyErr_Occurred()) SWIG_fail
;
13031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13032 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
13034 wxPyEndAllowThreads(__tstate
);
13035 if (PyErr_Occurred()) SWIG_fail
;
13037 Py_INCREF(Py_None
); resultobj
= Py_None
;
13044 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13045 PyObject
*resultobj
;
13046 wxDC
*arg1
= (wxDC
*) 0 ;
13047 wxPoint
*arg2
= 0 ;
13051 PyObject
* obj0
= 0 ;
13052 PyObject
* obj1
= 0 ;
13053 PyObject
* obj2
= 0 ;
13054 char *kwnames
[] = {
13055 (char *) "self",(char *) "pt",(char *) "sz", NULL
13058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13063 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13067 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13071 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13073 wxPyEndAllowThreads(__tstate
);
13074 if (PyErr_Occurred()) SWIG_fail
;
13076 Py_INCREF(Py_None
); resultobj
= Py_None
;
13083 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13084 PyObject
*resultobj
;
13085 wxDC
*arg1
= (wxDC
*) 0 ;
13088 PyObject
* obj0
= 0 ;
13089 PyObject
* obj1
= 0 ;
13090 char *kwnames
[] = {
13091 (char *) "self",(char *) "rect", NULL
13094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
13095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13099 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13103 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
13105 wxPyEndAllowThreads(__tstate
);
13106 if (PyErr_Occurred()) SWIG_fail
;
13108 Py_INCREF(Py_None
); resultobj
= Py_None
;
13115 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13116 PyObject
*resultobj
;
13117 wxDC
*arg1
= (wxDC
*) 0 ;
13118 wxRegion
*arg2
= 0 ;
13119 PyObject
* obj0
= 0 ;
13120 PyObject
* obj1
= 0 ;
13121 char *kwnames
[] = {
13122 (char *) "self",(char *) "region", NULL
13125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
13126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13128 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
13129 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13131 if (arg2
== NULL
) {
13132 PyErr_SetString(PyExc_TypeError
,"null reference");
13136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13137 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
13139 wxPyEndAllowThreads(__tstate
);
13140 if (PyErr_Occurred()) SWIG_fail
;
13142 Py_INCREF(Py_None
); resultobj
= Py_None
;
13149 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13150 PyObject
*resultobj
;
13151 wxDC
*arg1
= (wxDC
*) 0 ;
13152 PyObject
* obj0
= 0 ;
13153 char *kwnames
[] = {
13154 (char *) "self", NULL
13157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
13158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13162 (arg1
)->DestroyClippingRegion();
13164 wxPyEndAllowThreads(__tstate
);
13165 if (PyErr_Occurred()) SWIG_fail
;
13167 Py_INCREF(Py_None
); resultobj
= Py_None
;
13174 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13175 PyObject
*resultobj
;
13176 wxDC
*arg1
= (wxDC
*) 0 ;
13177 int *arg2
= (int *) 0 ;
13178 int *arg3
= (int *) 0 ;
13179 int *arg4
= (int *) 0 ;
13180 int *arg5
= (int *) 0 ;
13185 PyObject
* obj0
= 0 ;
13186 char *kwnames
[] = {
13187 (char *) "self", NULL
13194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
13195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13199 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
13201 wxPyEndAllowThreads(__tstate
);
13202 if (PyErr_Occurred()) SWIG_fail
;
13204 Py_INCREF(Py_None
); resultobj
= Py_None
;
13206 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13207 resultobj
= t_output_helper(resultobj
,o
);
13210 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13211 resultobj
= t_output_helper(resultobj
,o
);
13214 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13215 resultobj
= t_output_helper(resultobj
,o
);
13218 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13219 resultobj
= t_output_helper(resultobj
,o
);
13227 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13228 PyObject
*resultobj
;
13229 wxDC
*arg1
= (wxDC
*) 0 ;
13231 PyObject
* obj0
= 0 ;
13232 char *kwnames
[] = {
13233 (char *) "self", NULL
13236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
13237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13241 result
= wxDC_GetClippingRect(arg1
);
13243 wxPyEndAllowThreads(__tstate
);
13244 if (PyErr_Occurred()) SWIG_fail
;
13247 wxRect
* resultptr
;
13248 resultptr
= new wxRect((wxRect
&) result
);
13249 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
13257 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13258 PyObject
*resultobj
;
13259 wxDC
*arg1
= (wxDC
*) 0 ;
13261 PyObject
* obj0
= 0 ;
13262 char *kwnames
[] = {
13263 (char *) "self", NULL
13266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
13267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13271 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
13273 wxPyEndAllowThreads(__tstate
);
13274 if (PyErr_Occurred()) SWIG_fail
;
13276 resultobj
= SWIG_FromInt((int)result
);
13283 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13284 PyObject
*resultobj
;
13285 wxDC
*arg1
= (wxDC
*) 0 ;
13287 PyObject
* obj0
= 0 ;
13288 char *kwnames
[] = {
13289 (char *) "self", NULL
13292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
13293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13297 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
13299 wxPyEndAllowThreads(__tstate
);
13300 if (PyErr_Occurred()) SWIG_fail
;
13302 resultobj
= SWIG_FromInt((int)result
);
13309 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13310 PyObject
*resultobj
;
13311 wxDC
*arg1
= (wxDC
*) 0 ;
13312 wxString
*arg2
= 0 ;
13313 int *arg3
= (int *) 0 ;
13314 int *arg4
= (int *) 0 ;
13315 bool temp2
= False
;
13318 PyObject
* obj0
= 0 ;
13319 PyObject
* obj1
= 0 ;
13320 char *kwnames
[] = {
13321 (char *) "self",(char *) "string", NULL
13326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
13327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13330 arg2
= wxString_in_helper(obj1
);
13331 if (arg2
== NULL
) SWIG_fail
;
13335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13336 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
13338 wxPyEndAllowThreads(__tstate
);
13339 if (PyErr_Occurred()) SWIG_fail
;
13341 Py_INCREF(Py_None
); resultobj
= Py_None
;
13343 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13344 resultobj
= t_output_helper(resultobj
,o
);
13347 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13348 resultobj
= t_output_helper(resultobj
,o
);
13364 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13365 PyObject
*resultobj
;
13366 wxDC
*arg1
= (wxDC
*) 0 ;
13367 wxString
*arg2
= 0 ;
13368 int *arg3
= (int *) 0 ;
13369 int *arg4
= (int *) 0 ;
13370 int *arg5
= (int *) 0 ;
13371 int *arg6
= (int *) 0 ;
13372 wxFont
*arg7
= (wxFont
*) NULL
;
13373 bool temp2
= False
;
13378 PyObject
* obj0
= 0 ;
13379 PyObject
* obj1
= 0 ;
13380 PyObject
* obj2
= 0 ;
13381 char *kwnames
[] = {
13382 (char *) "self",(char *) "string",(char *) "font", NULL
13389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13393 arg2
= wxString_in_helper(obj1
);
13394 if (arg2
== NULL
) SWIG_fail
;
13398 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
13399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13403 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13405 wxPyEndAllowThreads(__tstate
);
13406 if (PyErr_Occurred()) SWIG_fail
;
13408 Py_INCREF(Py_None
); resultobj
= Py_None
;
13410 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13411 resultobj
= t_output_helper(resultobj
,o
);
13414 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13415 resultobj
= t_output_helper(resultobj
,o
);
13418 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13419 resultobj
= t_output_helper(resultobj
,o
);
13422 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
13423 resultobj
= t_output_helper(resultobj
,o
);
13439 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13440 PyObject
*resultobj
;
13441 wxDC
*arg1
= (wxDC
*) 0 ;
13442 wxString
*arg2
= 0 ;
13443 int *arg3
= (int *) 0 ;
13444 int *arg4
= (int *) 0 ;
13445 int *arg5
= (int *) 0 ;
13446 wxFont
*arg6
= (wxFont
*) NULL
;
13447 bool temp2
= False
;
13451 PyObject
* obj0
= 0 ;
13452 PyObject
* obj1
= 0 ;
13453 PyObject
* obj2
= 0 ;
13454 char *kwnames
[] = {
13455 (char *) "self",(char *) "text",(char *) "font", NULL
13461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13465 arg2
= wxString_in_helper(obj1
);
13466 if (arg2
== NULL
) SWIG_fail
;
13470 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
13471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13475 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
13477 wxPyEndAllowThreads(__tstate
);
13478 if (PyErr_Occurred()) SWIG_fail
;
13480 Py_INCREF(Py_None
); resultobj
= Py_None
;
13482 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13483 resultobj
= t_output_helper(resultobj
,o
);
13486 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13487 resultobj
= t_output_helper(resultobj
,o
);
13490 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13491 resultobj
= t_output_helper(resultobj
,o
);
13507 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13508 PyObject
*resultobj
;
13509 wxDC
*arg1
= (wxDC
*) 0 ;
13510 wxString
*arg2
= 0 ;
13512 bool temp2
= False
;
13513 PyObject
* obj0
= 0 ;
13514 PyObject
* obj1
= 0 ;
13515 char *kwnames
[] = {
13516 (char *) "self",(char *) "text", NULL
13519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
13520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13523 arg2
= wxString_in_helper(obj1
);
13524 if (arg2
== NULL
) SWIG_fail
;
13528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13529 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
13531 wxPyEndAllowThreads(__tstate
);
13532 if (PyErr_Occurred()) SWIG_fail
;
13535 resultobj
= PyList_New(0);
13537 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13538 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13539 PyList_Append(resultobj
, val
);
13557 static PyObject
*_wrap_DC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13558 PyObject
*resultobj
;
13559 wxDC
*arg1
= (wxDC
*) 0 ;
13561 PyObject
* obj0
= 0 ;
13562 char *kwnames
[] = {
13563 (char *) "self", NULL
13566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
13567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13571 result
= (arg1
)->GetSize();
13573 wxPyEndAllowThreads(__tstate
);
13574 if (PyErr_Occurred()) SWIG_fail
;
13577 wxSize
* resultptr
;
13578 resultptr
= new wxSize((wxSize
&) result
);
13579 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13587 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13588 PyObject
*resultobj
;
13589 wxDC
*arg1
= (wxDC
*) 0 ;
13590 int *arg2
= (int *) 0 ;
13591 int *arg3
= (int *) 0 ;
13594 PyObject
* obj0
= 0 ;
13595 char *kwnames
[] = {
13596 (char *) "self", NULL
13601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
13602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13606 (arg1
)->GetSize(arg2
,arg3
);
13608 wxPyEndAllowThreads(__tstate
);
13609 if (PyErr_Occurred()) SWIG_fail
;
13611 Py_INCREF(Py_None
); resultobj
= Py_None
;
13613 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13614 resultobj
= t_output_helper(resultobj
,o
);
13617 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13618 resultobj
= t_output_helper(resultobj
,o
);
13626 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13627 PyObject
*resultobj
;
13628 wxDC
*arg1
= (wxDC
*) 0 ;
13630 PyObject
* obj0
= 0 ;
13631 char *kwnames
[] = {
13632 (char *) "self", NULL
13635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
13636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13640 result
= ((wxDC
const *)arg1
)->GetSizeMM();
13642 wxPyEndAllowThreads(__tstate
);
13643 if (PyErr_Occurred()) SWIG_fail
;
13646 wxSize
* resultptr
;
13647 resultptr
= new wxSize((wxSize
&) result
);
13648 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13656 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13657 PyObject
*resultobj
;
13658 wxDC
*arg1
= (wxDC
*) 0 ;
13659 int *arg2
= (int *) 0 ;
13660 int *arg3
= (int *) 0 ;
13663 PyObject
* obj0
= 0 ;
13664 char *kwnames
[] = {
13665 (char *) "self", NULL
13670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13675 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13677 wxPyEndAllowThreads(__tstate
);
13678 if (PyErr_Occurred()) SWIG_fail
;
13680 Py_INCREF(Py_None
); resultobj
= Py_None
;
13682 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13683 resultobj
= t_output_helper(resultobj
,o
);
13686 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13687 resultobj
= t_output_helper(resultobj
,o
);
13695 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13696 PyObject
*resultobj
;
13697 wxDC
*arg1
= (wxDC
*) 0 ;
13700 PyObject
* obj0
= 0 ;
13701 PyObject
* obj1
= 0 ;
13702 char *kwnames
[] = {
13703 (char *) "self",(char *) "x", NULL
13706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
13707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13709 arg2
= (int) SWIG_AsInt(obj1
);
13710 if (PyErr_Occurred()) SWIG_fail
;
13712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13713 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
13715 wxPyEndAllowThreads(__tstate
);
13716 if (PyErr_Occurred()) SWIG_fail
;
13718 resultobj
= SWIG_FromInt((int)result
);
13725 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13726 PyObject
*resultobj
;
13727 wxDC
*arg1
= (wxDC
*) 0 ;
13730 PyObject
* obj0
= 0 ;
13731 PyObject
* obj1
= 0 ;
13732 char *kwnames
[] = {
13733 (char *) "self",(char *) "y", NULL
13736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
13737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13739 arg2
= (int) SWIG_AsInt(obj1
);
13740 if (PyErr_Occurred()) SWIG_fail
;
13742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13743 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
13745 wxPyEndAllowThreads(__tstate
);
13746 if (PyErr_Occurred()) SWIG_fail
;
13748 resultobj
= SWIG_FromInt((int)result
);
13755 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13756 PyObject
*resultobj
;
13757 wxDC
*arg1
= (wxDC
*) 0 ;
13760 PyObject
* obj0
= 0 ;
13761 PyObject
* obj1
= 0 ;
13762 char *kwnames
[] = {
13763 (char *) "self",(char *) "x", NULL
13766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13769 arg2
= (int) SWIG_AsInt(obj1
);
13770 if (PyErr_Occurred()) SWIG_fail
;
13772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13773 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
13775 wxPyEndAllowThreads(__tstate
);
13776 if (PyErr_Occurred()) SWIG_fail
;
13778 resultobj
= SWIG_FromInt((int)result
);
13785 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13786 PyObject
*resultobj
;
13787 wxDC
*arg1
= (wxDC
*) 0 ;
13790 PyObject
* obj0
= 0 ;
13791 PyObject
* obj1
= 0 ;
13792 char *kwnames
[] = {
13793 (char *) "self",(char *) "y", NULL
13796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13799 arg2
= (int) SWIG_AsInt(obj1
);
13800 if (PyErr_Occurred()) SWIG_fail
;
13802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13803 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
13805 wxPyEndAllowThreads(__tstate
);
13806 if (PyErr_Occurred()) SWIG_fail
;
13808 resultobj
= SWIG_FromInt((int)result
);
13815 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13816 PyObject
*resultobj
;
13817 wxDC
*arg1
= (wxDC
*) 0 ;
13820 PyObject
* obj0
= 0 ;
13821 PyObject
* obj1
= 0 ;
13822 char *kwnames
[] = {
13823 (char *) "self",(char *) "x", NULL
13826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
13827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13829 arg2
= (int) SWIG_AsInt(obj1
);
13830 if (PyErr_Occurred()) SWIG_fail
;
13832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13833 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
13835 wxPyEndAllowThreads(__tstate
);
13836 if (PyErr_Occurred()) SWIG_fail
;
13838 resultobj
= SWIG_FromInt((int)result
);
13845 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13846 PyObject
*resultobj
;
13847 wxDC
*arg1
= (wxDC
*) 0 ;
13850 PyObject
* obj0
= 0 ;
13851 PyObject
* obj1
= 0 ;
13852 char *kwnames
[] = {
13853 (char *) "self",(char *) "y", NULL
13856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13859 arg2
= (int) SWIG_AsInt(obj1
);
13860 if (PyErr_Occurred()) SWIG_fail
;
13862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13863 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
13865 wxPyEndAllowThreads(__tstate
);
13866 if (PyErr_Occurred()) SWIG_fail
;
13868 resultobj
= SWIG_FromInt((int)result
);
13875 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13876 PyObject
*resultobj
;
13877 wxDC
*arg1
= (wxDC
*) 0 ;
13880 PyObject
* obj0
= 0 ;
13881 PyObject
* obj1
= 0 ;
13882 char *kwnames
[] = {
13883 (char *) "self",(char *) "x", NULL
13886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13889 arg2
= (int) SWIG_AsInt(obj1
);
13890 if (PyErr_Occurred()) SWIG_fail
;
13892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13893 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
13895 wxPyEndAllowThreads(__tstate
);
13896 if (PyErr_Occurred()) SWIG_fail
;
13898 resultobj
= SWIG_FromInt((int)result
);
13905 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13906 PyObject
*resultobj
;
13907 wxDC
*arg1
= (wxDC
*) 0 ;
13910 PyObject
* obj0
= 0 ;
13911 PyObject
* obj1
= 0 ;
13912 char *kwnames
[] = {
13913 (char *) "self",(char *) "y", NULL
13916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13919 arg2
= (int) SWIG_AsInt(obj1
);
13920 if (PyErr_Occurred()) SWIG_fail
;
13922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13923 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
13925 wxPyEndAllowThreads(__tstate
);
13926 if (PyErr_Occurred()) SWIG_fail
;
13928 resultobj
= SWIG_FromInt((int)result
);
13935 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13936 PyObject
*resultobj
;
13937 wxDC
*arg1
= (wxDC
*) 0 ;
13939 PyObject
* obj0
= 0 ;
13940 char *kwnames
[] = {
13941 (char *) "self", NULL
13944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
13945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13949 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
13951 wxPyEndAllowThreads(__tstate
);
13952 if (PyErr_Occurred()) SWIG_fail
;
13954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13961 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13962 PyObject
*resultobj
;
13963 wxDC
*arg1
= (wxDC
*) 0 ;
13965 PyObject
* obj0
= 0 ;
13966 char *kwnames
[] = {
13967 (char *) "self", NULL
13970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
13971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13975 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
13977 wxPyEndAllowThreads(__tstate
);
13978 if (PyErr_Occurred()) SWIG_fail
;
13980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13987 static PyObject
*_wrap_DC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13988 PyObject
*resultobj
;
13989 wxDC
*arg1
= (wxDC
*) 0 ;
13991 PyObject
* obj0
= 0 ;
13992 char *kwnames
[] = {
13993 (char *) "self", NULL
13996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
13997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14001 result
= (int)((wxDC
const *)arg1
)->GetDepth();
14003 wxPyEndAllowThreads(__tstate
);
14004 if (PyErr_Occurred()) SWIG_fail
;
14006 resultobj
= SWIG_FromInt((int)result
);
14013 static PyObject
*_wrap_DC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14014 PyObject
*resultobj
;
14015 wxDC
*arg1
= (wxDC
*) 0 ;
14017 PyObject
* obj0
= 0 ;
14018 char *kwnames
[] = {
14019 (char *) "self", NULL
14022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
14023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14027 result
= ((wxDC
const *)arg1
)->GetPPI();
14029 wxPyEndAllowThreads(__tstate
);
14030 if (PyErr_Occurred()) SWIG_fail
;
14033 wxSize
* resultptr
;
14034 resultptr
= new wxSize((wxSize
&) result
);
14035 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14043 static PyObject
*_wrap_DC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14044 PyObject
*resultobj
;
14045 wxDC
*arg1
= (wxDC
*) 0 ;
14047 PyObject
* obj0
= 0 ;
14048 char *kwnames
[] = {
14049 (char *) "self", NULL
14052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
14053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14057 result
= (bool)((wxDC
const *)arg1
)->Ok();
14059 wxPyEndAllowThreads(__tstate
);
14060 if (PyErr_Occurred()) SWIG_fail
;
14062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14069 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14070 PyObject
*resultobj
;
14071 wxDC
*arg1
= (wxDC
*) 0 ;
14073 PyObject
* obj0
= 0 ;
14074 char *kwnames
[] = {
14075 (char *) "self", NULL
14078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
14079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14083 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
14085 wxPyEndAllowThreads(__tstate
);
14086 if (PyErr_Occurred()) SWIG_fail
;
14088 resultobj
= SWIG_FromInt((int)result
);
14095 static PyObject
*_wrap_DC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14096 PyObject
*resultobj
;
14097 wxDC
*arg1
= (wxDC
*) 0 ;
14099 PyObject
* obj0
= 0 ;
14100 char *kwnames
[] = {
14101 (char *) "self", NULL
14104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
14105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14110 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
14111 result
= (wxBrush
*) &_result_ref
;
14114 wxPyEndAllowThreads(__tstate
);
14115 if (PyErr_Occurred()) SWIG_fail
;
14118 wxBrush
* resultptr
= new wxBrush(*result
);
14119 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
14127 static PyObject
*_wrap_DC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14128 PyObject
*resultobj
;
14129 wxDC
*arg1
= (wxDC
*) 0 ;
14131 PyObject
* obj0
= 0 ;
14132 char *kwnames
[] = {
14133 (char *) "self", NULL
14136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
14137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14142 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
14143 result
= (wxBrush
*) &_result_ref
;
14146 wxPyEndAllowThreads(__tstate
);
14147 if (PyErr_Occurred()) SWIG_fail
;
14150 wxBrush
* resultptr
= new wxBrush(*result
);
14151 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
14159 static PyObject
*_wrap_DC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14160 PyObject
*resultobj
;
14161 wxDC
*arg1
= (wxDC
*) 0 ;
14163 PyObject
* obj0
= 0 ;
14164 char *kwnames
[] = {
14165 (char *) "self", NULL
14168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
14169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14174 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
14175 result
= (wxFont
*) &_result_ref
;
14178 wxPyEndAllowThreads(__tstate
);
14179 if (PyErr_Occurred()) SWIG_fail
;
14182 wxFont
* resultptr
= new wxFont(*result
);
14183 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
14191 static PyObject
*_wrap_DC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14192 PyObject
*resultobj
;
14193 wxDC
*arg1
= (wxDC
*) 0 ;
14195 PyObject
* obj0
= 0 ;
14196 char *kwnames
[] = {
14197 (char *) "self", NULL
14200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
14201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14206 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
14207 result
= (wxPen
*) &_result_ref
;
14210 wxPyEndAllowThreads(__tstate
);
14211 if (PyErr_Occurred()) SWIG_fail
;
14214 wxPen
* resultptr
= new wxPen(*result
);
14215 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
14223 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14224 PyObject
*resultobj
;
14225 wxDC
*arg1
= (wxDC
*) 0 ;
14227 PyObject
* obj0
= 0 ;
14228 char *kwnames
[] = {
14229 (char *) "self", NULL
14232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
14233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14238 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
14239 result
= (wxColour
*) &_result_ref
;
14242 wxPyEndAllowThreads(__tstate
);
14243 if (PyErr_Occurred()) SWIG_fail
;
14245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14252 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14253 PyObject
*resultobj
;
14254 wxDC
*arg1
= (wxDC
*) 0 ;
14256 PyObject
* obj0
= 0 ;
14257 char *kwnames
[] = {
14258 (char *) "self", NULL
14261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
14262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14267 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
14268 result
= (wxColour
*) &_result_ref
;
14271 wxPyEndAllowThreads(__tstate
);
14272 if (PyErr_Occurred()) SWIG_fail
;
14274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14281 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14282 PyObject
*resultobj
;
14283 wxDC
*arg1
= (wxDC
*) 0 ;
14284 wxColour
*arg2
= 0 ;
14286 PyObject
* obj0
= 0 ;
14287 PyObject
* obj1
= 0 ;
14288 char *kwnames
[] = {
14289 (char *) "self",(char *) "colour", NULL
14292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
14293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14297 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14301 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
14303 wxPyEndAllowThreads(__tstate
);
14304 if (PyErr_Occurred()) SWIG_fail
;
14306 Py_INCREF(Py_None
); resultobj
= Py_None
;
14313 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14314 PyObject
*resultobj
;
14315 wxDC
*arg1
= (wxDC
*) 0 ;
14316 wxColour
*arg2
= 0 ;
14318 PyObject
* obj0
= 0 ;
14319 PyObject
* obj1
= 0 ;
14320 char *kwnames
[] = {
14321 (char *) "self",(char *) "colour", NULL
14324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
14325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14329 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14333 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
14335 wxPyEndAllowThreads(__tstate
);
14336 if (PyErr_Occurred()) SWIG_fail
;
14338 Py_INCREF(Py_None
); resultobj
= Py_None
;
14345 static PyObject
*_wrap_DC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14346 PyObject
*resultobj
;
14347 wxDC
*arg1
= (wxDC
*) 0 ;
14349 PyObject
* obj0
= 0 ;
14350 char *kwnames
[] = {
14351 (char *) "self", NULL
14354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
14355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14359 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
14361 wxPyEndAllowThreads(__tstate
);
14362 if (PyErr_Occurred()) SWIG_fail
;
14364 resultobj
= SWIG_FromInt((int)result
);
14371 static PyObject
*_wrap_DC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14372 PyObject
*resultobj
;
14373 wxDC
*arg1
= (wxDC
*) 0 ;
14375 PyObject
* obj0
= 0 ;
14376 PyObject
* obj1
= 0 ;
14377 char *kwnames
[] = {
14378 (char *) "self",(char *) "mode", NULL
14381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
14382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14384 arg2
= (int) SWIG_AsInt(obj1
);
14385 if (PyErr_Occurred()) SWIG_fail
;
14387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14388 (arg1
)->SetMapMode(arg2
);
14390 wxPyEndAllowThreads(__tstate
);
14391 if (PyErr_Occurred()) SWIG_fail
;
14393 Py_INCREF(Py_None
); resultobj
= Py_None
;
14400 static PyObject
*_wrap_DC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14401 PyObject
*resultobj
;
14402 wxDC
*arg1
= (wxDC
*) 0 ;
14403 double *arg2
= (double *) 0 ;
14404 double *arg3
= (double *) 0 ;
14407 PyObject
* obj0
= 0 ;
14408 char *kwnames
[] = {
14409 (char *) "self", NULL
14414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
14415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14419 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
14421 wxPyEndAllowThreads(__tstate
);
14422 if (PyErr_Occurred()) SWIG_fail
;
14424 Py_INCREF(Py_None
); resultobj
= Py_None
;
14426 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14427 resultobj
= t_output_helper(resultobj
,o
);
14430 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14431 resultobj
= t_output_helper(resultobj
,o
);
14439 static PyObject
*_wrap_DC_SetUserScale(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_SetUserScale",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
= (double) SWIG_AsDouble(obj1
);
14455 if (PyErr_Occurred()) SWIG_fail
;
14456 arg3
= (double) SWIG_AsDouble(obj2
);
14457 if (PyErr_Occurred()) SWIG_fail
;
14459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14460 (arg1
)->SetUserScale(arg2
,arg3
);
14462 wxPyEndAllowThreads(__tstate
);
14463 if (PyErr_Occurred()) SWIG_fail
;
14465 Py_INCREF(Py_None
); resultobj
= Py_None
;
14472 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14473 PyObject
*resultobj
;
14474 wxDC
*arg1
= (wxDC
*) 0 ;
14475 double *arg2
= (double *) 0 ;
14476 double *arg3
= (double *) 0 ;
14479 PyObject
* obj0
= 0 ;
14480 char *kwnames
[] = {
14481 (char *) "self", NULL
14486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
14487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14491 (arg1
)->GetLogicalScale(arg2
,arg3
);
14493 wxPyEndAllowThreads(__tstate
);
14494 if (PyErr_Occurred()) SWIG_fail
;
14496 Py_INCREF(Py_None
); resultobj
= Py_None
;
14498 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14499 resultobj
= t_output_helper(resultobj
,o
);
14502 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14503 resultobj
= t_output_helper(resultobj
,o
);
14511 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14512 PyObject
*resultobj
;
14513 wxDC
*arg1
= (wxDC
*) 0 ;
14516 PyObject
* obj0
= 0 ;
14517 PyObject
* obj1
= 0 ;
14518 PyObject
* obj2
= 0 ;
14519 char *kwnames
[] = {
14520 (char *) "self",(char *) "x",(char *) "y", NULL
14523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14526 arg2
= (double) SWIG_AsDouble(obj1
);
14527 if (PyErr_Occurred()) SWIG_fail
;
14528 arg3
= (double) SWIG_AsDouble(obj2
);
14529 if (PyErr_Occurred()) SWIG_fail
;
14531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14532 (arg1
)->SetLogicalScale(arg2
,arg3
);
14534 wxPyEndAllowThreads(__tstate
);
14535 if (PyErr_Occurred()) SWIG_fail
;
14537 Py_INCREF(Py_None
); resultobj
= Py_None
;
14544 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14545 PyObject
*resultobj
;
14546 wxDC
*arg1
= (wxDC
*) 0 ;
14548 PyObject
* obj0
= 0 ;
14549 char *kwnames
[] = {
14550 (char *) "self", NULL
14553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
14554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14558 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
14560 wxPyEndAllowThreads(__tstate
);
14561 if (PyErr_Occurred()) SWIG_fail
;
14564 wxPoint
* resultptr
;
14565 resultptr
= new wxPoint((wxPoint
&) result
);
14566 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14574 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14575 PyObject
*resultobj
;
14576 wxDC
*arg1
= (wxDC
*) 0 ;
14577 int *arg2
= (int *) 0 ;
14578 int *arg3
= (int *) 0 ;
14581 PyObject
* obj0
= 0 ;
14582 char *kwnames
[] = {
14583 (char *) "self", NULL
14588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
14589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14593 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
14595 wxPyEndAllowThreads(__tstate
);
14596 if (PyErr_Occurred()) SWIG_fail
;
14598 Py_INCREF(Py_None
); resultobj
= Py_None
;
14600 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14601 resultobj
= t_output_helper(resultobj
,o
);
14604 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14605 resultobj
= t_output_helper(resultobj
,o
);
14613 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14614 PyObject
*resultobj
;
14615 wxDC
*arg1
= (wxDC
*) 0 ;
14618 PyObject
* obj0
= 0 ;
14619 PyObject
* obj1
= 0 ;
14620 PyObject
* obj2
= 0 ;
14621 char *kwnames
[] = {
14622 (char *) "self",(char *) "x",(char *) "y", NULL
14625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14628 arg2
= (int) SWIG_AsInt(obj1
);
14629 if (PyErr_Occurred()) SWIG_fail
;
14630 arg3
= (int) SWIG_AsInt(obj2
);
14631 if (PyErr_Occurred()) SWIG_fail
;
14633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14634 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
14636 wxPyEndAllowThreads(__tstate
);
14637 if (PyErr_Occurred()) SWIG_fail
;
14639 Py_INCREF(Py_None
); resultobj
= Py_None
;
14646 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14647 PyObject
*resultobj
;
14648 wxDC
*arg1
= (wxDC
*) 0 ;
14650 PyObject
* obj0
= 0 ;
14651 char *kwnames
[] = {
14652 (char *) "self", NULL
14655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
14656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14660 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
14662 wxPyEndAllowThreads(__tstate
);
14663 if (PyErr_Occurred()) SWIG_fail
;
14666 wxPoint
* resultptr
;
14667 resultptr
= new wxPoint((wxPoint
&) result
);
14668 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14676 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14677 PyObject
*resultobj
;
14678 wxDC
*arg1
= (wxDC
*) 0 ;
14679 int *arg2
= (int *) 0 ;
14680 int *arg3
= (int *) 0 ;
14683 PyObject
* obj0
= 0 ;
14684 char *kwnames
[] = {
14685 (char *) "self", NULL
14690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
14691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14695 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
14697 wxPyEndAllowThreads(__tstate
);
14698 if (PyErr_Occurred()) SWIG_fail
;
14700 Py_INCREF(Py_None
); resultobj
= Py_None
;
14702 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14703 resultobj
= t_output_helper(resultobj
,o
);
14706 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14707 resultobj
= t_output_helper(resultobj
,o
);
14715 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14716 PyObject
*resultobj
;
14717 wxDC
*arg1
= (wxDC
*) 0 ;
14720 PyObject
* obj0
= 0 ;
14721 PyObject
* obj1
= 0 ;
14722 PyObject
* obj2
= 0 ;
14723 char *kwnames
[] = {
14724 (char *) "self",(char *) "x",(char *) "y", NULL
14727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14730 arg2
= (int) SWIG_AsInt(obj1
);
14731 if (PyErr_Occurred()) SWIG_fail
;
14732 arg3
= (int) SWIG_AsInt(obj2
);
14733 if (PyErr_Occurred()) SWIG_fail
;
14735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14736 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
14738 wxPyEndAllowThreads(__tstate
);
14739 if (PyErr_Occurred()) SWIG_fail
;
14741 Py_INCREF(Py_None
); resultobj
= Py_None
;
14748 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14749 PyObject
*resultobj
;
14750 wxDC
*arg1
= (wxDC
*) 0 ;
14753 PyObject
* obj0
= 0 ;
14754 PyObject
* obj1
= 0 ;
14755 PyObject
* obj2
= 0 ;
14756 char *kwnames
[] = {
14757 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14763 arg2
= (bool) SWIG_AsBool(obj1
);
14764 if (PyErr_Occurred()) SWIG_fail
;
14765 arg3
= (bool) SWIG_AsBool(obj2
);
14766 if (PyErr_Occurred()) SWIG_fail
;
14768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14769 (arg1
)->SetAxisOrientation(arg2
,arg3
);
14771 wxPyEndAllowThreads(__tstate
);
14772 if (PyErr_Occurred()) SWIG_fail
;
14774 Py_INCREF(Py_None
); resultobj
= Py_None
;
14781 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14782 PyObject
*resultobj
;
14783 wxDC
*arg1
= (wxDC
*) 0 ;
14785 PyObject
* obj0
= 0 ;
14786 char *kwnames
[] = {
14787 (char *) "self", NULL
14790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
14791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14795 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
14797 wxPyEndAllowThreads(__tstate
);
14798 if (PyErr_Occurred()) SWIG_fail
;
14800 resultobj
= SWIG_FromInt((int)result
);
14807 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14808 PyObject
*resultobj
;
14809 wxDC
*arg1
= (wxDC
*) 0 ;
14811 PyObject
* obj0
= 0 ;
14812 PyObject
* obj1
= 0 ;
14813 char *kwnames
[] = {
14814 (char *) "self",(char *) "function", NULL
14817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
14818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14820 arg2
= (int) SWIG_AsInt(obj1
);
14821 if (PyErr_Occurred()) SWIG_fail
;
14823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14824 (arg1
)->SetLogicalFunction(arg2
);
14826 wxPyEndAllowThreads(__tstate
);
14827 if (PyErr_Occurred()) SWIG_fail
;
14829 Py_INCREF(Py_None
); resultobj
= Py_None
;
14836 static PyObject
*_wrap_DC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14837 PyObject
*resultobj
;
14838 wxDC
*arg1
= (wxDC
*) 0 ;
14840 PyObject
* obj0
= 0 ;
14841 PyObject
* obj1
= 0 ;
14842 char *kwnames
[] = {
14843 (char *) "self",(char *) "opt", NULL
14846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
14847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14849 arg2
= (bool) SWIG_AsBool(obj1
);
14850 if (PyErr_Occurred()) SWIG_fail
;
14852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14853 (arg1
)->SetOptimization(arg2
);
14855 wxPyEndAllowThreads(__tstate
);
14856 if (PyErr_Occurred()) SWIG_fail
;
14858 Py_INCREF(Py_None
); resultobj
= Py_None
;
14865 static PyObject
*_wrap_DC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14866 PyObject
*resultobj
;
14867 wxDC
*arg1
= (wxDC
*) 0 ;
14869 PyObject
* obj0
= 0 ;
14870 char *kwnames
[] = {
14871 (char *) "self", NULL
14874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
14875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14879 result
= (bool)(arg1
)->GetOptimization();
14881 wxPyEndAllowThreads(__tstate
);
14882 if (PyErr_Occurred()) SWIG_fail
;
14884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14891 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14892 PyObject
*resultobj
;
14893 wxDC
*arg1
= (wxDC
*) 0 ;
14896 PyObject
* obj0
= 0 ;
14897 PyObject
* obj1
= 0 ;
14898 PyObject
* obj2
= 0 ;
14899 char *kwnames
[] = {
14900 (char *) "self",(char *) "x",(char *) "y", NULL
14903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14906 arg2
= (int) SWIG_AsInt(obj1
);
14907 if (PyErr_Occurred()) SWIG_fail
;
14908 arg3
= (int) SWIG_AsInt(obj2
);
14909 if (PyErr_Occurred()) SWIG_fail
;
14911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14912 (arg1
)->CalcBoundingBox(arg2
,arg3
);
14914 wxPyEndAllowThreads(__tstate
);
14915 if (PyErr_Occurred()) SWIG_fail
;
14917 Py_INCREF(Py_None
); resultobj
= Py_None
;
14924 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14925 PyObject
*resultobj
;
14926 wxDC
*arg1
= (wxDC
*) 0 ;
14927 PyObject
* obj0
= 0 ;
14928 char *kwnames
[] = {
14929 (char *) "self", NULL
14932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
14933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14937 (arg1
)->ResetBoundingBox();
14939 wxPyEndAllowThreads(__tstate
);
14940 if (PyErr_Occurred()) SWIG_fail
;
14942 Py_INCREF(Py_None
); resultobj
= Py_None
;
14949 static PyObject
*_wrap_DC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14950 PyObject
*resultobj
;
14951 wxDC
*arg1
= (wxDC
*) 0 ;
14953 PyObject
* obj0
= 0 ;
14954 char *kwnames
[] = {
14955 (char *) "self", NULL
14958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
14959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14963 result
= (int)((wxDC
const *)arg1
)->MinX();
14965 wxPyEndAllowThreads(__tstate
);
14966 if (PyErr_Occurred()) SWIG_fail
;
14968 resultobj
= SWIG_FromInt((int)result
);
14975 static PyObject
*_wrap_DC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14976 PyObject
*resultobj
;
14977 wxDC
*arg1
= (wxDC
*) 0 ;
14979 PyObject
* obj0
= 0 ;
14980 char *kwnames
[] = {
14981 (char *) "self", NULL
14984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
14985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14989 result
= (int)((wxDC
const *)arg1
)->MaxX();
14991 wxPyEndAllowThreads(__tstate
);
14992 if (PyErr_Occurred()) SWIG_fail
;
14994 resultobj
= SWIG_FromInt((int)result
);
15001 static PyObject
*_wrap_DC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15002 PyObject
*resultobj
;
15003 wxDC
*arg1
= (wxDC
*) 0 ;
15005 PyObject
* obj0
= 0 ;
15006 char *kwnames
[] = {
15007 (char *) "self", NULL
15010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
15011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15015 result
= (int)((wxDC
const *)arg1
)->MinY();
15017 wxPyEndAllowThreads(__tstate
);
15018 if (PyErr_Occurred()) SWIG_fail
;
15020 resultobj
= SWIG_FromInt((int)result
);
15027 static PyObject
*_wrap_DC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15028 PyObject
*resultobj
;
15029 wxDC
*arg1
= (wxDC
*) 0 ;
15031 PyObject
* obj0
= 0 ;
15032 char *kwnames
[] = {
15033 (char *) "self", NULL
15036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
15037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15041 result
= (int)((wxDC
const *)arg1
)->MaxY();
15043 wxPyEndAllowThreads(__tstate
);
15044 if (PyErr_Occurred()) SWIG_fail
;
15046 resultobj
= SWIG_FromInt((int)result
);
15053 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15054 PyObject
*resultobj
;
15055 wxDC
*arg1
= (wxDC
*) 0 ;
15056 int *arg2
= (int *) 0 ;
15057 int *arg3
= (int *) 0 ;
15058 int *arg4
= (int *) 0 ;
15059 int *arg5
= (int *) 0 ;
15064 PyObject
* obj0
= 0 ;
15065 char *kwnames
[] = {
15066 (char *) "self", NULL
15073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
15074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15078 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
15080 wxPyEndAllowThreads(__tstate
);
15081 if (PyErr_Occurred()) SWIG_fail
;
15083 Py_INCREF(Py_None
); resultobj
= Py_None
;
15085 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15086 resultobj
= t_output_helper(resultobj
,o
);
15089 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15090 resultobj
= t_output_helper(resultobj
,o
);
15093 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
15094 resultobj
= t_output_helper(resultobj
,o
);
15097 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
15098 resultobj
= t_output_helper(resultobj
,o
);
15106 static PyObject
*_wrap_DC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15107 PyObject
*resultobj
;
15108 wxDC
*arg1
= (wxDC
*) 0 ;
15109 PyObject
*arg2
= (PyObject
*) 0 ;
15110 PyObject
*arg3
= (PyObject
*) 0 ;
15111 PyObject
*arg4
= (PyObject
*) 0 ;
15113 PyObject
* obj0
= 0 ;
15114 PyObject
* obj1
= 0 ;
15115 PyObject
* obj2
= 0 ;
15116 PyObject
* obj3
= 0 ;
15117 char *kwnames
[] = {
15118 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15129 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
15131 wxPyEndAllowThreads(__tstate
);
15132 if (PyErr_Occurred()) SWIG_fail
;
15134 resultobj
= result
;
15141 static PyObject
*_wrap_DC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15142 PyObject
*resultobj
;
15143 wxDC
*arg1
= (wxDC
*) 0 ;
15144 PyObject
*arg2
= (PyObject
*) 0 ;
15145 PyObject
*arg3
= (PyObject
*) 0 ;
15146 PyObject
*arg4
= (PyObject
*) 0 ;
15148 PyObject
* obj0
= 0 ;
15149 PyObject
* obj1
= 0 ;
15150 PyObject
* obj2
= 0 ;
15151 PyObject
* obj3
= 0 ;
15152 char *kwnames
[] = {
15153 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15164 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
15166 wxPyEndAllowThreads(__tstate
);
15167 if (PyErr_Occurred()) SWIG_fail
;
15169 resultobj
= result
;
15176 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15177 PyObject
*resultobj
;
15178 wxDC
*arg1
= (wxDC
*) 0 ;
15179 PyObject
*arg2
= (PyObject
*) 0 ;
15180 PyObject
*arg3
= (PyObject
*) 0 ;
15181 PyObject
*arg4
= (PyObject
*) 0 ;
15183 PyObject
* obj0
= 0 ;
15184 PyObject
* obj1
= 0 ;
15185 PyObject
* obj2
= 0 ;
15186 PyObject
* obj3
= 0 ;
15187 char *kwnames
[] = {
15188 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15199 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
15201 wxPyEndAllowThreads(__tstate
);
15202 if (PyErr_Occurred()) SWIG_fail
;
15204 resultobj
= result
;
15211 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15212 PyObject
*resultobj
;
15213 wxDC
*arg1
= (wxDC
*) 0 ;
15214 PyObject
*arg2
= (PyObject
*) 0 ;
15215 PyObject
*arg3
= (PyObject
*) 0 ;
15216 PyObject
*arg4
= (PyObject
*) 0 ;
15218 PyObject
* obj0
= 0 ;
15219 PyObject
* obj1
= 0 ;
15220 PyObject
* obj2
= 0 ;
15221 PyObject
* obj3
= 0 ;
15222 char *kwnames
[] = {
15223 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15234 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
15236 wxPyEndAllowThreads(__tstate
);
15237 if (PyErr_Occurred()) SWIG_fail
;
15239 resultobj
= result
;
15246 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15247 PyObject
*resultobj
;
15248 wxDC
*arg1
= (wxDC
*) 0 ;
15249 PyObject
*arg2
= (PyObject
*) 0 ;
15250 PyObject
*arg3
= (PyObject
*) 0 ;
15251 PyObject
*arg4
= (PyObject
*) 0 ;
15253 PyObject
* obj0
= 0 ;
15254 PyObject
* obj1
= 0 ;
15255 PyObject
* obj2
= 0 ;
15256 PyObject
* obj3
= 0 ;
15257 char *kwnames
[] = {
15258 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15269 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
15271 wxPyEndAllowThreads(__tstate
);
15272 if (PyErr_Occurred()) SWIG_fail
;
15274 resultobj
= result
;
15281 static PyObject
*_wrap_DC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15282 PyObject
*resultobj
;
15283 wxDC
*arg1
= (wxDC
*) 0 ;
15284 PyObject
*arg2
= (PyObject
*) 0 ;
15285 PyObject
*arg3
= (PyObject
*) 0 ;
15286 PyObject
*arg4
= (PyObject
*) 0 ;
15287 PyObject
*arg5
= (PyObject
*) 0 ;
15289 PyObject
* obj0
= 0 ;
15290 PyObject
* obj1
= 0 ;
15291 PyObject
* obj2
= 0 ;
15292 PyObject
* obj3
= 0 ;
15293 PyObject
* obj4
= 0 ;
15294 char *kwnames
[] = {
15295 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
15298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15307 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
15309 wxPyEndAllowThreads(__tstate
);
15310 if (PyErr_Occurred()) SWIG_fail
;
15312 resultobj
= result
;
15319 static PyObject
* DC_swigregister(PyObject
*self
, PyObject
*args
) {
15321 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15322 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
15324 return Py_BuildValue((char *)"");
15326 static PyObject
*_wrap_new_MemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15327 PyObject
*resultobj
;
15328 wxMemoryDC
*result
;
15329 char *kwnames
[] = {
15333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
15335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15336 result
= (wxMemoryDC
*)new wxMemoryDC();
15338 wxPyEndAllowThreads(__tstate
);
15339 if (PyErr_Occurred()) SWIG_fail
;
15341 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15348 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15349 PyObject
*resultobj
;
15350 wxDC
*arg1
= (wxDC
*) 0 ;
15351 wxMemoryDC
*result
;
15352 PyObject
* obj0
= 0 ;
15353 char *kwnames
[] = {
15354 (char *) "oldDC", NULL
15357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
15358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15362 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
15364 wxPyEndAllowThreads(__tstate
);
15365 if (PyErr_Occurred()) SWIG_fail
;
15367 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15374 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15375 PyObject
*resultobj
;
15376 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
15377 wxBitmap
*arg2
= 0 ;
15378 PyObject
* obj0
= 0 ;
15379 PyObject
* obj1
= 0 ;
15380 char *kwnames
[] = {
15381 (char *) "self",(char *) "bitmap", NULL
15384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
15386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15387 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15388 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15390 if (arg2
== NULL
) {
15391 PyErr_SetString(PyExc_TypeError
,"null reference");
15395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15396 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
15398 wxPyEndAllowThreads(__tstate
);
15399 if (PyErr_Occurred()) SWIG_fail
;
15401 Py_INCREF(Py_None
); resultobj
= Py_None
;
15408 static PyObject
* MemoryDC_swigregister(PyObject
*self
, PyObject
*args
) {
15410 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15411 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
15413 return Py_BuildValue((char *)"");
15415 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*self
, PyObject
*args
) {
15416 PyObject
*resultobj
;
15417 wxDC
*arg1
= (wxDC
*) 0 ;
15418 wxBitmap
*arg2
= 0 ;
15419 wxBufferedDC
*result
;
15420 PyObject
* obj0
= 0 ;
15421 PyObject
* obj1
= 0 ;
15423 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15426 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15427 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15429 if (arg2
== NULL
) {
15430 PyErr_SetString(PyExc_TypeError
,"null reference");
15434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15435 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
15437 wxPyEndAllowThreads(__tstate
);
15438 if (PyErr_Occurred()) SWIG_fail
;
15440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15447 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*self
, PyObject
*args
) {
15448 PyObject
*resultobj
;
15449 wxDC
*arg1
= (wxDC
*) 0 ;
15451 wxBufferedDC
*result
;
15453 PyObject
* obj0
= 0 ;
15454 PyObject
* obj1
= 0 ;
15456 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15461 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15465 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15467 wxPyEndAllowThreads(__tstate
);
15468 if (PyErr_Occurred()) SWIG_fail
;
15470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15477 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
15482 argc
= PyObject_Length(args
);
15483 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
15484 argv
[ii
] = PyTuple_GetItem(args
,ii
);
15490 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15500 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
15508 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
15516 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15525 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
15528 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
15533 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
15538 static PyObject
*_wrap_new_BufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
) {
15539 PyObject
*resultobj
;
15540 wxDC
*arg1
= (wxDC
*) 0 ;
15542 wxBufferedDC
*result
;
15544 PyObject
* obj0
= 0 ;
15545 PyObject
* obj1
= 0 ;
15547 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDCInternalBuffer",&obj0
,&obj1
)) goto fail
;
15548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15552 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15556 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15558 wxPyEndAllowThreads(__tstate
);
15559 if (PyErr_Occurred()) SWIG_fail
;
15561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15568 static PyObject
*_wrap_delete_BufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15569 PyObject
*resultobj
;
15570 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15571 PyObject
* obj0
= 0 ;
15572 char *kwnames
[] = {
15573 (char *) "self", NULL
15576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
15577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15583 wxPyEndAllowThreads(__tstate
);
15584 if (PyErr_Occurred()) SWIG_fail
;
15586 Py_INCREF(Py_None
); resultobj
= Py_None
;
15593 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15594 PyObject
*resultobj
;
15595 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15596 PyObject
* obj0
= 0 ;
15597 char *kwnames
[] = {
15598 (char *) "self", NULL
15601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
15602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15608 wxPyEndAllowThreads(__tstate
);
15609 if (PyErr_Occurred()) SWIG_fail
;
15611 Py_INCREF(Py_None
); resultobj
= Py_None
;
15618 static PyObject
* BufferedDC_swigregister(PyObject
*self
, PyObject
*args
) {
15620 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15621 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
15623 return Py_BuildValue((char *)"");
15625 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15626 PyObject
*resultobj
;
15627 wxWindow
*arg1
= (wxWindow
*) 0 ;
15628 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
15629 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
15630 wxBufferedPaintDC
*result
;
15631 PyObject
* obj0
= 0 ;
15632 PyObject
* obj1
= 0 ;
15633 char *kwnames
[] = {
15634 (char *) "window",(char *) "buffer", NULL
15637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15641 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15642 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15644 if (arg2
== NULL
) {
15645 PyErr_SetString(PyExc_TypeError
,"null reference");
15650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15651 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
15653 wxPyEndAllowThreads(__tstate
);
15654 if (PyErr_Occurred()) SWIG_fail
;
15656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
15663 static PyObject
* BufferedPaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15665 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15666 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
15668 return Py_BuildValue((char *)"");
15670 static PyObject
*_wrap_new_ScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15671 PyObject
*resultobj
;
15672 wxScreenDC
*result
;
15673 char *kwnames
[] = {
15677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
15679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15680 result
= (wxScreenDC
*)new wxScreenDC();
15682 wxPyEndAllowThreads(__tstate
);
15683 if (PyErr_Occurred()) SWIG_fail
;
15685 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
15692 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15693 PyObject
*resultobj
;
15694 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15695 wxWindow
*arg2
= (wxWindow
*) 0 ;
15697 PyObject
* obj0
= 0 ;
15698 PyObject
* obj1
= 0 ;
15699 char *kwnames
[] = {
15700 (char *) "self",(char *) "window", NULL
15703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
15704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15706 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15710 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15712 wxPyEndAllowThreads(__tstate
);
15713 if (PyErr_Occurred()) SWIG_fail
;
15715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15722 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15723 PyObject
*resultobj
;
15724 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15725 wxRect
*arg2
= (wxRect
*) NULL
;
15727 PyObject
* obj0
= 0 ;
15728 PyObject
* obj1
= 0 ;
15729 char *kwnames
[] = {
15730 (char *) "self",(char *) "rect", NULL
15733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
15734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15737 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
15738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15742 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15744 wxPyEndAllowThreads(__tstate
);
15745 if (PyErr_Occurred()) SWIG_fail
;
15747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15754 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15755 PyObject
*resultobj
;
15756 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15758 PyObject
* obj0
= 0 ;
15759 char *kwnames
[] = {
15760 (char *) "self", NULL
15763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
15764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15768 result
= (bool)(arg1
)->EndDrawingOnTop();
15770 wxPyEndAllowThreads(__tstate
);
15771 if (PyErr_Occurred()) SWIG_fail
;
15773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15780 static PyObject
* ScreenDC_swigregister(PyObject
*self
, PyObject
*args
) {
15782 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15783 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
15785 return Py_BuildValue((char *)"");
15787 static PyObject
*_wrap_new_ClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15788 PyObject
*resultobj
;
15789 wxWindow
*arg1
= (wxWindow
*) 0 ;
15790 wxClientDC
*result
;
15791 PyObject
* obj0
= 0 ;
15792 char *kwnames
[] = {
15793 (char *) "win", NULL
15796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
15797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15801 result
= (wxClientDC
*)new wxClientDC(arg1
);
15803 wxPyEndAllowThreads(__tstate
);
15804 if (PyErr_Occurred()) SWIG_fail
;
15806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
15813 static PyObject
* ClientDC_swigregister(PyObject
*self
, PyObject
*args
) {
15815 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15816 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
15818 return Py_BuildValue((char *)"");
15820 static PyObject
*_wrap_new_PaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15821 PyObject
*resultobj
;
15822 wxWindow
*arg1
= (wxWindow
*) 0 ;
15824 PyObject
* obj0
= 0 ;
15825 char *kwnames
[] = {
15826 (char *) "win", NULL
15829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
15830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15834 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
15836 wxPyEndAllowThreads(__tstate
);
15837 if (PyErr_Occurred()) SWIG_fail
;
15839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
15846 static PyObject
* PaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15848 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15849 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
15851 return Py_BuildValue((char *)"");
15853 static PyObject
*_wrap_new_WindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15854 PyObject
*resultobj
;
15855 wxWindow
*arg1
= (wxWindow
*) 0 ;
15856 wxWindowDC
*result
;
15857 PyObject
* obj0
= 0 ;
15858 char *kwnames
[] = {
15859 (char *) "win", NULL
15862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
15863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15867 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
15869 wxPyEndAllowThreads(__tstate
);
15870 if (PyErr_Occurred()) SWIG_fail
;
15872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
15879 static PyObject
* WindowDC_swigregister(PyObject
*self
, PyObject
*args
) {
15881 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15882 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
15884 return Py_BuildValue((char *)"");
15886 static PyObject
*_wrap_new_MirrorDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15887 PyObject
*resultobj
;
15890 wxMirrorDC
*result
;
15891 PyObject
* obj0
= 0 ;
15892 PyObject
* obj1
= 0 ;
15893 char *kwnames
[] = {
15894 (char *) "dc",(char *) "mirror", NULL
15897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15899 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15901 if (arg1
== NULL
) {
15902 PyErr_SetString(PyExc_TypeError
,"null reference");
15905 arg2
= (bool) SWIG_AsBool(obj1
);
15906 if (PyErr_Occurred()) SWIG_fail
;
15908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15909 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
15911 wxPyEndAllowThreads(__tstate
);
15912 if (PyErr_Occurred()) SWIG_fail
;
15914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
15921 static PyObject
* MirrorDC_swigregister(PyObject
*self
, PyObject
*args
) {
15923 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15924 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
15926 return Py_BuildValue((char *)"");
15928 static PyObject
*_wrap_new_PostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15929 PyObject
*resultobj
;
15930 wxPrintData
*arg1
= 0 ;
15931 wxPostScriptDC
*result
;
15932 PyObject
* obj0
= 0 ;
15933 char *kwnames
[] = {
15934 (char *) "printData", NULL
15937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
15938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15939 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15941 if (arg1
== NULL
) {
15942 PyErr_SetString(PyExc_TypeError
,"null reference");
15946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15947 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
15949 wxPyEndAllowThreads(__tstate
);
15950 if (PyErr_Occurred()) SWIG_fail
;
15952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
15959 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15960 PyObject
*resultobj
;
15961 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15962 wxPrintData
*result
;
15963 PyObject
* obj0
= 0 ;
15964 char *kwnames
[] = {
15965 (char *) "self", NULL
15968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
15969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15974 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
15975 result
= (wxPrintData
*) &_result_ref
;
15978 wxPyEndAllowThreads(__tstate
);
15979 if (PyErr_Occurred()) SWIG_fail
;
15981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
15988 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15989 PyObject
*resultobj
;
15990 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15991 wxPrintData
*arg2
= 0 ;
15992 PyObject
* obj0
= 0 ;
15993 PyObject
* obj1
= 0 ;
15994 char *kwnames
[] = {
15995 (char *) "self",(char *) "data", NULL
15998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
15999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
16000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16001 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
16002 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16004 if (arg2
== NULL
) {
16005 PyErr_SetString(PyExc_TypeError
,"null reference");
16009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16010 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
16012 wxPyEndAllowThreads(__tstate
);
16013 if (PyErr_Occurred()) SWIG_fail
;
16015 Py_INCREF(Py_None
); resultobj
= Py_None
;
16022 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16023 PyObject
*resultobj
;
16025 PyObject
* obj0
= 0 ;
16026 char *kwnames
[] = {
16027 (char *) "ppi", NULL
16030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
16031 arg1
= (int) SWIG_AsInt(obj0
);
16032 if (PyErr_Occurred()) SWIG_fail
;
16034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16035 wxPostScriptDC::SetResolution(arg1
);
16037 wxPyEndAllowThreads(__tstate
);
16038 if (PyErr_Occurred()) SWIG_fail
;
16040 Py_INCREF(Py_None
); resultobj
= Py_None
;
16047 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16048 PyObject
*resultobj
;
16050 char *kwnames
[] = {
16054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
16056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16057 result
= (int)wxPostScriptDC::GetResolution();
16059 wxPyEndAllowThreads(__tstate
);
16060 if (PyErr_Occurred()) SWIG_fail
;
16062 resultobj
= SWIG_FromInt((int)result
);
16069 static PyObject
* PostScriptDC_swigregister(PyObject
*self
, PyObject
*args
) {
16071 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16072 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
16074 return Py_BuildValue((char *)"");
16076 static PyObject
*_wrap_new_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16077 PyObject
*resultobj
;
16078 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16079 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16080 wxMetaFile
*result
;
16081 bool temp1
= False
;
16082 PyObject
* obj0
= 0 ;
16083 char *kwnames
[] = {
16084 (char *) "filename", NULL
16087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
16090 arg1
= wxString_in_helper(obj0
);
16091 if (arg1
== NULL
) SWIG_fail
;
16096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16097 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
16099 wxPyEndAllowThreads(__tstate
);
16100 if (PyErr_Occurred()) SWIG_fail
;
16102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
16117 static PyObject
*_wrap_delete_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16118 PyObject
*resultobj
;
16119 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16120 PyObject
* obj0
= 0 ;
16121 char *kwnames
[] = {
16122 (char *) "self", NULL
16125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
;
16126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16132 wxPyEndAllowThreads(__tstate
);
16133 if (PyErr_Occurred()) SWIG_fail
;
16135 Py_INCREF(Py_None
); resultobj
= Py_None
;
16142 static PyObject
*_wrap_MetaFile_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16143 PyObject
*resultobj
;
16144 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16146 PyObject
* obj0
= 0 ;
16147 char *kwnames
[] = {
16148 (char *) "self", NULL
16151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
;
16152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16156 result
= (bool)(arg1
)->Ok();
16158 wxPyEndAllowThreads(__tstate
);
16159 if (PyErr_Occurred()) SWIG_fail
;
16161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16168 static PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16169 PyObject
*resultobj
;
16170 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16171 int arg2
= (int) 0 ;
16172 int arg3
= (int) 0 ;
16174 PyObject
* obj0
= 0 ;
16175 PyObject
* obj1
= 0 ;
16176 PyObject
* obj2
= 0 ;
16177 char *kwnames
[] = {
16178 (char *) "self",(char *) "width",(char *) "height", NULL
16181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16185 arg2
= (int) SWIG_AsInt(obj1
);
16186 if (PyErr_Occurred()) SWIG_fail
;
16189 arg3
= (int) SWIG_AsInt(obj2
);
16190 if (PyErr_Occurred()) SWIG_fail
;
16193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16194 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
16196 wxPyEndAllowThreads(__tstate
);
16197 if (PyErr_Occurred()) SWIG_fail
;
16199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16206 static PyObject
*_wrap_MetaFile_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16207 PyObject
*resultobj
;
16208 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16210 PyObject
* obj0
= 0 ;
16211 char *kwnames
[] = {
16212 (char *) "self", NULL
16215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
;
16216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16220 result
= (arg1
)->GetSize();
16222 wxPyEndAllowThreads(__tstate
);
16223 if (PyErr_Occurred()) SWIG_fail
;
16226 wxSize
* resultptr
;
16227 resultptr
= new wxSize((wxSize
&) result
);
16228 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16236 static PyObject
*_wrap_MetaFile_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16237 PyObject
*resultobj
;
16238 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16240 PyObject
* obj0
= 0 ;
16241 char *kwnames
[] = {
16242 (char *) "self", NULL
16245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
;
16246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16250 result
= (int)(arg1
)->GetWidth();
16252 wxPyEndAllowThreads(__tstate
);
16253 if (PyErr_Occurred()) SWIG_fail
;
16255 resultobj
= SWIG_FromInt((int)result
);
16262 static PyObject
*_wrap_MetaFile_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16263 PyObject
*resultobj
;
16264 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16266 PyObject
* obj0
= 0 ;
16267 char *kwnames
[] = {
16268 (char *) "self", NULL
16271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
;
16272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16276 result
= (int)(arg1
)->GetHeight();
16278 wxPyEndAllowThreads(__tstate
);
16279 if (PyErr_Occurred()) SWIG_fail
;
16281 resultobj
= SWIG_FromInt((int)result
);
16288 static PyObject
*_wrap_MetaFile_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16289 PyObject
*resultobj
;
16290 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16292 PyObject
* obj0
= 0 ;
16293 char *kwnames
[] = {
16294 (char *) "self", NULL
16297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetFileName",kwnames
,&obj0
)) goto fail
;
16298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16303 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
16304 result
= (wxString
*) &_result_ref
;
16307 wxPyEndAllowThreads(__tstate
);
16308 if (PyErr_Occurred()) SWIG_fail
;
16312 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16314 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16323 static PyObject
* MetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
16325 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16326 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
16328 return Py_BuildValue((char *)"");
16330 static PyObject
*_wrap_new_MetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16331 PyObject
*resultobj
;
16332 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16333 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16334 int arg2
= (int) 0 ;
16335 int arg3
= (int) 0 ;
16336 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16337 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16338 wxMetaFileDC
*result
;
16339 bool temp1
= False
;
16340 bool temp4
= False
;
16341 PyObject
* obj0
= 0 ;
16342 PyObject
* obj1
= 0 ;
16343 PyObject
* obj2
= 0 ;
16344 PyObject
* obj3
= 0 ;
16345 char *kwnames
[] = {
16346 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
16349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16352 arg1
= wxString_in_helper(obj0
);
16353 if (arg1
== NULL
) SWIG_fail
;
16358 arg2
= (int) SWIG_AsInt(obj1
);
16359 if (PyErr_Occurred()) SWIG_fail
;
16362 arg3
= (int) SWIG_AsInt(obj2
);
16363 if (PyErr_Occurred()) SWIG_fail
;
16367 arg4
= wxString_in_helper(obj3
);
16368 if (arg4
== NULL
) SWIG_fail
;
16373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16374 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
16376 wxPyEndAllowThreads(__tstate
);
16377 if (PyErr_Occurred()) SWIG_fail
;
16379 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
16402 static PyObject
*_wrap_MetaFileDC_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16403 PyObject
*resultobj
;
16404 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
16405 wxMetaFile
*result
;
16406 PyObject
* obj0
= 0 ;
16407 char *kwnames
[] = {
16408 (char *) "self", NULL
16411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
;
16412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFileDC
,
16413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16416 result
= (wxMetaFile
*)(arg1
)->Close();
16418 wxPyEndAllowThreads(__tstate
);
16419 if (PyErr_Occurred()) SWIG_fail
;
16421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 0);
16428 static PyObject
* MetaFileDC_swigregister(PyObject
*self
, PyObject
*args
) {
16430 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16431 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
16433 return Py_BuildValue((char *)"");
16435 static PyObject
*_wrap_new_PrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16436 PyObject
*resultobj
;
16437 wxPrintData
*arg1
= 0 ;
16438 wxPrinterDC
*result
;
16439 PyObject
* obj0
= 0 ;
16440 char *kwnames
[] = {
16441 (char *) "printData", NULL
16444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
16445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16446 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16448 if (arg1
== NULL
) {
16449 PyErr_SetString(PyExc_TypeError
,"null reference");
16453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16454 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
16456 wxPyEndAllowThreads(__tstate
);
16457 if (PyErr_Occurred()) SWIG_fail
;
16459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
16466 static PyObject
* PrinterDC_swigregister(PyObject
*self
, PyObject
*args
) {
16468 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16469 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
16471 return Py_BuildValue((char *)"");
16473 static PyObject
*_wrap_new_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16474 PyObject
*resultobj
;
16477 int arg3
= (int) True
;
16478 int arg4
= (int) 1 ;
16479 wxImageList
*result
;
16480 PyObject
* obj0
= 0 ;
16481 PyObject
* obj1
= 0 ;
16482 PyObject
* obj2
= 0 ;
16483 PyObject
* obj3
= 0 ;
16484 char *kwnames
[] = {
16485 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
16488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16489 arg1
= (int) SWIG_AsInt(obj0
);
16490 if (PyErr_Occurred()) SWIG_fail
;
16491 arg2
= (int) SWIG_AsInt(obj1
);
16492 if (PyErr_Occurred()) SWIG_fail
;
16494 arg3
= (int) SWIG_AsInt(obj2
);
16495 if (PyErr_Occurred()) SWIG_fail
;
16498 arg4
= (int) SWIG_AsInt(obj3
);
16499 if (PyErr_Occurred()) SWIG_fail
;
16502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16503 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
16505 wxPyEndAllowThreads(__tstate
);
16506 if (PyErr_Occurred()) SWIG_fail
;
16509 resultobj
= wxPyMake_wxObject(result
);
16517 static PyObject
*_wrap_delete_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16518 PyObject
*resultobj
;
16519 wxImageList
*arg1
= (wxImageList
*) 0 ;
16520 PyObject
* obj0
= 0 ;
16521 char *kwnames
[] = {
16522 (char *) "self", NULL
16525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
16526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16532 wxPyEndAllowThreads(__tstate
);
16533 if (PyErr_Occurred()) SWIG_fail
;
16535 Py_INCREF(Py_None
); resultobj
= Py_None
;
16542 static PyObject
*_wrap_ImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16543 PyObject
*resultobj
;
16544 wxImageList
*arg1
= (wxImageList
*) 0 ;
16545 wxBitmap
*arg2
= 0 ;
16546 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
16547 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
16549 PyObject
* obj0
= 0 ;
16550 PyObject
* obj1
= 0 ;
16551 PyObject
* obj2
= 0 ;
16552 char *kwnames
[] = {
16553 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
16556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16559 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16560 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16562 if (arg2
== NULL
) {
16563 PyErr_SetString(PyExc_TypeError
,"null reference");
16567 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16568 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16570 if (arg3
== NULL
) {
16571 PyErr_SetString(PyExc_TypeError
,"null reference");
16576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16577 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
16579 wxPyEndAllowThreads(__tstate
);
16580 if (PyErr_Occurred()) SWIG_fail
;
16582 resultobj
= SWIG_FromInt((int)result
);
16589 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16590 PyObject
*resultobj
;
16591 wxImageList
*arg1
= (wxImageList
*) 0 ;
16592 wxBitmap
*arg2
= 0 ;
16593 wxColour
*arg3
= 0 ;
16596 PyObject
* obj0
= 0 ;
16597 PyObject
* obj1
= 0 ;
16598 PyObject
* obj2
= 0 ;
16599 char *kwnames
[] = {
16600 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
16603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16606 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16607 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16609 if (arg2
== NULL
) {
16610 PyErr_SetString(PyExc_TypeError
,"null reference");
16615 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16619 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
16621 wxPyEndAllowThreads(__tstate
);
16622 if (PyErr_Occurred()) SWIG_fail
;
16624 resultobj
= SWIG_FromInt((int)result
);
16631 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16632 PyObject
*resultobj
;
16633 wxImageList
*arg1
= (wxImageList
*) 0 ;
16636 PyObject
* obj0
= 0 ;
16637 PyObject
* obj1
= 0 ;
16638 char *kwnames
[] = {
16639 (char *) "self",(char *) "icon", NULL
16642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
16643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16645 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
16646 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16648 if (arg2
== NULL
) {
16649 PyErr_SetString(PyExc_TypeError
,"null reference");
16653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16654 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
16656 wxPyEndAllowThreads(__tstate
);
16657 if (PyErr_Occurred()) SWIG_fail
;
16659 resultobj
= SWIG_FromInt((int)result
);
16666 static PyObject
*_wrap_ImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16667 PyObject
*resultobj
;
16668 wxImageList
*arg1
= (wxImageList
*) 0 ;
16670 wxBitmap
*arg3
= 0 ;
16671 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
16672 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
16674 PyObject
* obj0
= 0 ;
16675 PyObject
* obj1
= 0 ;
16676 PyObject
* obj2
= 0 ;
16677 PyObject
* obj3
= 0 ;
16678 char *kwnames
[] = {
16679 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
16682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16685 arg2
= (int) SWIG_AsInt(obj1
);
16686 if (PyErr_Occurred()) SWIG_fail
;
16687 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16688 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16690 if (arg3
== NULL
) {
16691 PyErr_SetString(PyExc_TypeError
,"null reference");
16695 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
16696 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16698 if (arg4
== NULL
) {
16699 PyErr_SetString(PyExc_TypeError
,"null reference");
16704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16705 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
16707 wxPyEndAllowThreads(__tstate
);
16708 if (PyErr_Occurred()) SWIG_fail
;
16710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16717 static PyObject
*_wrap_ImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16718 PyObject
*resultobj
;
16719 wxImageList
*arg1
= (wxImageList
*) 0 ;
16724 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
16725 bool arg7
= (bool) (bool)False
;
16727 PyObject
* obj0
= 0 ;
16728 PyObject
* obj1
= 0 ;
16729 PyObject
* obj2
= 0 ;
16730 PyObject
* obj3
= 0 ;
16731 PyObject
* obj4
= 0 ;
16732 PyObject
* obj5
= 0 ;
16733 PyObject
* obj6
= 0 ;
16734 char *kwnames
[] = {
16735 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
16738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16741 arg2
= (int) SWIG_AsInt(obj1
);
16742 if (PyErr_Occurred()) SWIG_fail
;
16743 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
16744 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16746 if (arg3
== NULL
) {
16747 PyErr_SetString(PyExc_TypeError
,"null reference");
16750 arg4
= (int) SWIG_AsInt(obj3
);
16751 if (PyErr_Occurred()) SWIG_fail
;
16752 arg5
= (int) SWIG_AsInt(obj4
);
16753 if (PyErr_Occurred()) SWIG_fail
;
16755 arg6
= (int) SWIG_AsInt(obj5
);
16756 if (PyErr_Occurred()) SWIG_fail
;
16759 arg7
= (bool const) SWIG_AsBool(obj6
);
16760 if (PyErr_Occurred()) SWIG_fail
;
16763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16764 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
16766 wxPyEndAllowThreads(__tstate
);
16767 if (PyErr_Occurred()) SWIG_fail
;
16769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16776 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16777 PyObject
*resultobj
;
16778 wxImageList
*arg1
= (wxImageList
*) 0 ;
16780 PyObject
* obj0
= 0 ;
16781 char *kwnames
[] = {
16782 (char *) "self", NULL
16785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
16786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16790 result
= (int)(arg1
)->GetImageCount();
16792 wxPyEndAllowThreads(__tstate
);
16793 if (PyErr_Occurred()) SWIG_fail
;
16795 resultobj
= SWIG_FromInt((int)result
);
16802 static PyObject
*_wrap_ImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16803 PyObject
*resultobj
;
16804 wxImageList
*arg1
= (wxImageList
*) 0 ;
16807 PyObject
* obj0
= 0 ;
16808 PyObject
* obj1
= 0 ;
16809 char *kwnames
[] = {
16810 (char *) "self",(char *) "index", NULL
16813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
16814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16816 arg2
= (int) SWIG_AsInt(obj1
);
16817 if (PyErr_Occurred()) SWIG_fail
;
16819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16820 result
= (bool)(arg1
)->Remove(arg2
);
16822 wxPyEndAllowThreads(__tstate
);
16823 if (PyErr_Occurred()) SWIG_fail
;
16825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16832 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16833 PyObject
*resultobj
;
16834 wxImageList
*arg1
= (wxImageList
*) 0 ;
16836 PyObject
* obj0
= 0 ;
16837 char *kwnames
[] = {
16838 (char *) "self", NULL
16841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
16842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16846 result
= (bool)(arg1
)->RemoveAll();
16848 wxPyEndAllowThreads(__tstate
);
16849 if (PyErr_Occurred()) SWIG_fail
;
16851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16858 static PyObject
*_wrap_ImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16859 PyObject
*resultobj
;
16860 wxImageList
*arg1
= (wxImageList
*) 0 ;
16866 PyObject
* obj0
= 0 ;
16867 PyObject
* obj1
= 0 ;
16868 char *kwnames
[] = {
16869 (char *) "self",(char *) "index", NULL
16874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16877 arg2
= (int) SWIG_AsInt(obj1
);
16878 if (PyErr_Occurred()) SWIG_fail
;
16880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16881 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
16883 wxPyEndAllowThreads(__tstate
);
16884 if (PyErr_Occurred()) SWIG_fail
;
16886 Py_INCREF(Py_None
); resultobj
= Py_None
;
16888 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16889 resultobj
= t_output_helper(resultobj
,o
);
16892 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
16893 resultobj
= t_output_helper(resultobj
,o
);
16901 static PyObject
* ImageList_swigregister(PyObject
*self
, PyObject
*args
) {
16903 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16904 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
16906 return Py_BuildValue((char *)"");
16908 static int _wrap_NORMAL_FONT_set(PyObject
*_val
) {
16909 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
16914 static PyObject
*_wrap_NORMAL_FONT_get() {
16917 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
16922 static int _wrap_SMALL_FONT_set(PyObject
*_val
) {
16923 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
16928 static PyObject
*_wrap_SMALL_FONT_get() {
16931 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
16936 static int _wrap_ITALIC_FONT_set(PyObject
*_val
) {
16937 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
16942 static PyObject
*_wrap_ITALIC_FONT_get() {
16945 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
16950 static int _wrap_SWISS_FONT_set(PyObject
*_val
) {
16951 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
16956 static PyObject
*_wrap_SWISS_FONT_get() {
16959 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
16964 static int _wrap_RED_PEN_set(PyObject
*_val
) {
16965 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
16970 static PyObject
*_wrap_RED_PEN_get() {
16973 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
16978 static int _wrap_CYAN_PEN_set(PyObject
*_val
) {
16979 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
16984 static PyObject
*_wrap_CYAN_PEN_get() {
16987 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
16992 static int _wrap_GREEN_PEN_set(PyObject
*_val
) {
16993 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
16998 static PyObject
*_wrap_GREEN_PEN_get() {
17001 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
17006 static int _wrap_BLACK_PEN_set(PyObject
*_val
) {
17007 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
17012 static PyObject
*_wrap_BLACK_PEN_get() {
17015 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
17020 static int _wrap_WHITE_PEN_set(PyObject
*_val
) {
17021 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
17026 static PyObject
*_wrap_WHITE_PEN_get() {
17029 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
17034 static int _wrap_TRANSPARENT_PEN_set(PyObject
*_val
) {
17035 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
17040 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
17043 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
17048 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*_val
) {
17049 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
17054 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
17057 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
17062 static int _wrap_GREY_PEN_set(PyObject
*_val
) {
17063 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
17068 static PyObject
*_wrap_GREY_PEN_get() {
17071 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17076 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*_val
) {
17077 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
17082 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
17085 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17090 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*_val
) {
17091 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
17096 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
17099 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17104 static int _wrap_BLUE_BRUSH_set(PyObject
*_val
) {
17105 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
17110 static PyObject
*_wrap_BLUE_BRUSH_get() {
17113 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17118 static int _wrap_GREEN_BRUSH_set(PyObject
*_val
) {
17119 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
17124 static PyObject
*_wrap_GREEN_BRUSH_get() {
17127 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17132 static int _wrap_WHITE_BRUSH_set(PyObject
*_val
) {
17133 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
17138 static PyObject
*_wrap_WHITE_BRUSH_get() {
17141 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17146 static int _wrap_BLACK_BRUSH_set(PyObject
*_val
) {
17147 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
17152 static PyObject
*_wrap_BLACK_BRUSH_get() {
17155 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17160 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*_val
) {
17161 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
17166 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
17169 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17174 static int _wrap_CYAN_BRUSH_set(PyObject
*_val
) {
17175 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
17180 static PyObject
*_wrap_CYAN_BRUSH_get() {
17183 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17188 static int _wrap_RED_BRUSH_set(PyObject
*_val
) {
17189 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
17194 static PyObject
*_wrap_RED_BRUSH_get() {
17197 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17202 static int _wrap_GREY_BRUSH_set(PyObject
*_val
) {
17203 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
17208 static PyObject
*_wrap_GREY_BRUSH_get() {
17211 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17216 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*_val
) {
17217 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
17222 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
17225 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17230 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*_val
) {
17231 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
17236 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
17239 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17244 static int _wrap_BLACK_set(PyObject
*_val
) {
17245 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
17250 static PyObject
*_wrap_BLACK_get() {
17253 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
17258 static int _wrap_WHITE_set(PyObject
*_val
) {
17259 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
17264 static PyObject
*_wrap_WHITE_get() {
17267 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
17272 static int _wrap_RED_set(PyObject
*_val
) {
17273 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
17278 static PyObject
*_wrap_RED_get() {
17281 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
17286 static int _wrap_BLUE_set(PyObject
*_val
) {
17287 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
17292 static PyObject
*_wrap_BLUE_get() {
17295 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
17300 static int _wrap_GREEN_set(PyObject
*_val
) {
17301 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
17306 static PyObject
*_wrap_GREEN_get() {
17309 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
17314 static int _wrap_CYAN_set(PyObject
*_val
) {
17315 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
17320 static PyObject
*_wrap_CYAN_get() {
17323 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
17328 static int _wrap_LIGHT_GREY_set(PyObject
*_val
) {
17329 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
17334 static PyObject
*_wrap_LIGHT_GREY_get() {
17337 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
17342 static int _wrap_STANDARD_CURSOR_set(PyObject
*_val
) {
17343 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
17348 static PyObject
*_wrap_STANDARD_CURSOR_get() {
17351 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17356 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*_val
) {
17357 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
17362 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
17365 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17370 static int _wrap_CROSS_CURSOR_set(PyObject
*_val
) {
17371 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
17376 static PyObject
*_wrap_CROSS_CURSOR_get() {
17379 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17384 static int _wrap_NullBitmap_set(PyObject
*_val
) {
17385 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
17390 static PyObject
*_wrap_NullBitmap_get() {
17393 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
17398 static int _wrap_NullIcon_set(PyObject
*_val
) {
17399 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
17404 static PyObject
*_wrap_NullIcon_get() {
17407 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
17412 static int _wrap_NullCursor_set(PyObject
*_val
) {
17413 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
17418 static PyObject
*_wrap_NullCursor_get() {
17421 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
17426 static int _wrap_NullPen_set(PyObject
*_val
) {
17427 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
17432 static PyObject
*_wrap_NullPen_get() {
17435 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
17440 static int _wrap_NullBrush_set(PyObject
*_val
) {
17441 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
17446 static PyObject
*_wrap_NullBrush_get() {
17449 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
17454 static int _wrap_NullPalette_set(PyObject
*_val
) {
17455 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
17460 static PyObject
*_wrap_NullPalette_get() {
17463 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
17468 static int _wrap_NullFont_set(PyObject
*_val
) {
17469 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
17474 static PyObject
*_wrap_NullFont_get() {
17477 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
17482 static int _wrap_NullColour_set(PyObject
*_val
) {
17483 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
17488 static PyObject
*_wrap_NullColour_get() {
17491 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
17496 static PyObject
*_wrap_PenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17497 PyObject
*resultobj
;
17498 wxPenList
*arg1
= (wxPenList
*) 0 ;
17499 wxPen
*arg2
= (wxPen
*) 0 ;
17500 PyObject
* obj0
= 0 ;
17501 PyObject
* obj1
= 0 ;
17502 char *kwnames
[] = {
17503 (char *) "self",(char *) "pen", NULL
17506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
17507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17509 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17513 (arg1
)->AddPen(arg2
);
17515 wxPyEndAllowThreads(__tstate
);
17516 if (PyErr_Occurred()) SWIG_fail
;
17518 Py_INCREF(Py_None
); resultobj
= Py_None
;
17525 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17526 PyObject
*resultobj
;
17527 wxPenList
*arg1
= (wxPenList
*) 0 ;
17528 wxColour
*arg2
= 0 ;
17533 PyObject
* obj0
= 0 ;
17534 PyObject
* obj1
= 0 ;
17535 PyObject
* obj2
= 0 ;
17536 PyObject
* obj3
= 0 ;
17537 char *kwnames
[] = {
17538 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
17541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17546 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17548 arg3
= (int) SWIG_AsInt(obj2
);
17549 if (PyErr_Occurred()) SWIG_fail
;
17550 arg4
= (int) SWIG_AsInt(obj3
);
17551 if (PyErr_Occurred()) SWIG_fail
;
17553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17554 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
17556 wxPyEndAllowThreads(__tstate
);
17557 if (PyErr_Occurred()) SWIG_fail
;
17559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
17566 static PyObject
*_wrap_PenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17567 PyObject
*resultobj
;
17568 wxPenList
*arg1
= (wxPenList
*) 0 ;
17569 wxPen
*arg2
= (wxPen
*) 0 ;
17570 PyObject
* obj0
= 0 ;
17571 PyObject
* obj1
= 0 ;
17572 char *kwnames
[] = {
17573 (char *) "self",(char *) "pen", NULL
17576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
17577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17579 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17583 (arg1
)->RemovePen(arg2
);
17585 wxPyEndAllowThreads(__tstate
);
17586 if (PyErr_Occurred()) SWIG_fail
;
17588 Py_INCREF(Py_None
); resultobj
= Py_None
;
17595 static PyObject
*_wrap_PenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17596 PyObject
*resultobj
;
17597 wxPenList
*arg1
= (wxPenList
*) 0 ;
17599 PyObject
* obj0
= 0 ;
17600 char *kwnames
[] = {
17601 (char *) "self", NULL
17604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
17605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17609 result
= (int)(arg1
)->GetCount();
17611 wxPyEndAllowThreads(__tstate
);
17612 if (PyErr_Occurred()) SWIG_fail
;
17614 resultobj
= SWIG_FromInt((int)result
);
17621 static PyObject
* PenList_swigregister(PyObject
*self
, PyObject
*args
) {
17623 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17624 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
17626 return Py_BuildValue((char *)"");
17628 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17629 PyObject
*resultobj
;
17630 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17631 wxBrush
*arg2
= (wxBrush
*) 0 ;
17632 PyObject
* obj0
= 0 ;
17633 PyObject
* obj1
= 0 ;
17634 char *kwnames
[] = {
17635 (char *) "self",(char *) "brush", NULL
17638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17641 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17645 (arg1
)->AddBrush(arg2
);
17647 wxPyEndAllowThreads(__tstate
);
17648 if (PyErr_Occurred()) SWIG_fail
;
17650 Py_INCREF(Py_None
); resultobj
= Py_None
;
17657 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17658 PyObject
*resultobj
;
17659 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17660 wxColour
*arg2
= 0 ;
17664 PyObject
* obj0
= 0 ;
17665 PyObject
* obj1
= 0 ;
17666 PyObject
* obj2
= 0 ;
17667 char *kwnames
[] = {
17668 (char *) "self",(char *) "colour",(char *) "style", NULL
17671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17676 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17678 arg3
= (int) SWIG_AsInt(obj2
);
17679 if (PyErr_Occurred()) SWIG_fail
;
17681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17682 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
17684 wxPyEndAllowThreads(__tstate
);
17685 if (PyErr_Occurred()) SWIG_fail
;
17687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
17694 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17695 PyObject
*resultobj
;
17696 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17697 wxBrush
*arg2
= (wxBrush
*) 0 ;
17698 PyObject
* obj0
= 0 ;
17699 PyObject
* obj1
= 0 ;
17700 char *kwnames
[] = {
17701 (char *) "self",(char *) "brush", NULL
17704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17707 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17711 (arg1
)->RemoveBrush(arg2
);
17713 wxPyEndAllowThreads(__tstate
);
17714 if (PyErr_Occurred()) SWIG_fail
;
17716 Py_INCREF(Py_None
); resultobj
= Py_None
;
17723 static PyObject
*_wrap_BrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17724 PyObject
*resultobj
;
17725 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17727 PyObject
* obj0
= 0 ;
17728 char *kwnames
[] = {
17729 (char *) "self", NULL
17732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
17733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17737 result
= (int)(arg1
)->GetCount();
17739 wxPyEndAllowThreads(__tstate
);
17740 if (PyErr_Occurred()) SWIG_fail
;
17742 resultobj
= SWIG_FromInt((int)result
);
17749 static PyObject
* BrushList_swigregister(PyObject
*self
, PyObject
*args
) {
17751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17752 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
17754 return Py_BuildValue((char *)"");
17756 static PyObject
*_wrap_new_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17757 PyObject
*resultobj
;
17758 wxColourDatabase
*result
;
17759 char *kwnames
[] = {
17763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
17765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17766 result
= (wxColourDatabase
*)new wxColourDatabase();
17768 wxPyEndAllowThreads(__tstate
);
17769 if (PyErr_Occurred()) SWIG_fail
;
17771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
17778 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17779 PyObject
*resultobj
;
17780 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17781 PyObject
* obj0
= 0 ;
17782 char *kwnames
[] = {
17783 (char *) "self", NULL
17786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
17787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17793 wxPyEndAllowThreads(__tstate
);
17794 if (PyErr_Occurred()) SWIG_fail
;
17796 Py_INCREF(Py_None
); resultobj
= Py_None
;
17803 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17804 PyObject
*resultobj
;
17805 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17806 wxString
*arg2
= 0 ;
17808 bool temp2
= False
;
17809 PyObject
* obj0
= 0 ;
17810 PyObject
* obj1
= 0 ;
17811 char *kwnames
[] = {
17812 (char *) "self",(char *) "name", NULL
17815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
17816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17819 arg2
= wxString_in_helper(obj1
);
17820 if (arg2
== NULL
) SWIG_fail
;
17824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17825 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
17827 wxPyEndAllowThreads(__tstate
);
17828 if (PyErr_Occurred()) SWIG_fail
;
17831 wxColour
* resultptr
;
17832 resultptr
= new wxColour((wxColour
&) result
);
17833 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17849 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17850 PyObject
*resultobj
;
17851 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17852 wxColour
*arg2
= 0 ;
17855 PyObject
* obj0
= 0 ;
17856 PyObject
* obj1
= 0 ;
17857 char *kwnames
[] = {
17858 (char *) "self",(char *) "colour", NULL
17861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
17862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17866 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17870 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
17872 wxPyEndAllowThreads(__tstate
);
17873 if (PyErr_Occurred()) SWIG_fail
;
17877 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17879 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17888 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17889 PyObject
*resultobj
;
17890 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17891 wxString
*arg2
= 0 ;
17892 wxColour
*arg3
= 0 ;
17893 bool temp2
= False
;
17895 PyObject
* obj0
= 0 ;
17896 PyObject
* obj1
= 0 ;
17897 PyObject
* obj2
= 0 ;
17898 char *kwnames
[] = {
17899 (char *) "self",(char *) "name",(char *) "colour", NULL
17902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17906 arg2
= wxString_in_helper(obj1
);
17907 if (arg2
== NULL
) SWIG_fail
;
17912 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17916 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
17918 wxPyEndAllowThreads(__tstate
);
17919 if (PyErr_Occurred()) SWIG_fail
;
17921 Py_INCREF(Py_None
); resultobj
= Py_None
;
17936 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17937 PyObject
*resultobj
;
17938 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17939 wxString
*arg2
= 0 ;
17943 bool temp2
= False
;
17944 PyObject
* obj0
= 0 ;
17945 PyObject
* obj1
= 0 ;
17946 PyObject
* obj2
= 0 ;
17947 PyObject
* obj3
= 0 ;
17948 PyObject
* obj4
= 0 ;
17949 char *kwnames
[] = {
17950 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
17953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17957 arg2
= wxString_in_helper(obj1
);
17958 if (arg2
== NULL
) SWIG_fail
;
17961 arg3
= (int) SWIG_AsInt(obj2
);
17962 if (PyErr_Occurred()) SWIG_fail
;
17963 arg4
= (int) SWIG_AsInt(obj3
);
17964 if (PyErr_Occurred()) SWIG_fail
;
17965 arg5
= (int) SWIG_AsInt(obj4
);
17966 if (PyErr_Occurred()) SWIG_fail
;
17968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17969 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17971 wxPyEndAllowThreads(__tstate
);
17972 if (PyErr_Occurred()) SWIG_fail
;
17974 Py_INCREF(Py_None
); resultobj
= Py_None
;
17989 static PyObject
* ColourDatabase_swigregister(PyObject
*self
, PyObject
*args
) {
17991 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17992 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
17994 return Py_BuildValue((char *)"");
17996 static PyObject
*_wrap_FontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17997 PyObject
*resultobj
;
17998 wxFontList
*arg1
= (wxFontList
*) 0 ;
17999 wxFont
*arg2
= (wxFont
*) 0 ;
18000 PyObject
* obj0
= 0 ;
18001 PyObject
* obj1
= 0 ;
18002 char *kwnames
[] = {
18003 (char *) "self",(char *) "font", NULL
18006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18009 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18013 (arg1
)->AddFont(arg2
);
18015 wxPyEndAllowThreads(__tstate
);
18016 if (PyErr_Occurred()) SWIG_fail
;
18018 Py_INCREF(Py_None
); resultobj
= Py_None
;
18025 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18026 PyObject
*resultobj
;
18027 wxFontList
*arg1
= (wxFontList
*) 0 ;
18032 bool arg6
= (bool) False
;
18033 wxString
const &arg7_defvalue
= wxPyEmptyString
;
18034 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18035 int arg8
= (int) wxFONTENCODING_DEFAULT
;
18037 bool temp7
= False
;
18038 PyObject
* obj0
= 0 ;
18039 PyObject
* obj1
= 0 ;
18040 PyObject
* obj2
= 0 ;
18041 PyObject
* obj3
= 0 ;
18042 PyObject
* obj4
= 0 ;
18043 PyObject
* obj5
= 0 ;
18044 PyObject
* obj6
= 0 ;
18045 PyObject
* obj7
= 0 ;
18046 char *kwnames
[] = {
18047 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
18050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
18051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18053 arg2
= (int) SWIG_AsInt(obj1
);
18054 if (PyErr_Occurred()) SWIG_fail
;
18055 arg3
= (int) SWIG_AsInt(obj2
);
18056 if (PyErr_Occurred()) SWIG_fail
;
18057 arg4
= (int) SWIG_AsInt(obj3
);
18058 if (PyErr_Occurred()) SWIG_fail
;
18059 arg5
= (int) SWIG_AsInt(obj4
);
18060 if (PyErr_Occurred()) SWIG_fail
;
18062 arg6
= (bool) SWIG_AsBool(obj5
);
18063 if (PyErr_Occurred()) SWIG_fail
;
18067 arg7
= wxString_in_helper(obj6
);
18068 if (arg7
== NULL
) SWIG_fail
;
18073 arg8
= (wxFontEncoding
) SWIG_AsInt(obj7
);
18074 if (PyErr_Occurred()) SWIG_fail
;
18077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18078 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
18080 wxPyEndAllowThreads(__tstate
);
18081 if (PyErr_Occurred()) SWIG_fail
;
18083 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
18098 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18099 PyObject
*resultobj
;
18100 wxFontList
*arg1
= (wxFontList
*) 0 ;
18101 wxFont
*arg2
= (wxFont
*) 0 ;
18102 PyObject
* obj0
= 0 ;
18103 PyObject
* obj1
= 0 ;
18104 char *kwnames
[] = {
18105 (char *) "self",(char *) "font", NULL
18108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18111 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18115 (arg1
)->RemoveFont(arg2
);
18117 wxPyEndAllowThreads(__tstate
);
18118 if (PyErr_Occurred()) SWIG_fail
;
18120 Py_INCREF(Py_None
); resultobj
= Py_None
;
18127 static PyObject
*_wrap_FontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18128 PyObject
*resultobj
;
18129 wxFontList
*arg1
= (wxFontList
*) 0 ;
18131 PyObject
* obj0
= 0 ;
18132 char *kwnames
[] = {
18133 (char *) "self", NULL
18136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
18137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18141 result
= (int)(arg1
)->GetCount();
18143 wxPyEndAllowThreads(__tstate
);
18144 if (PyErr_Occurred()) SWIG_fail
;
18146 resultobj
= SWIG_FromInt((int)result
);
18153 static PyObject
* FontList_swigregister(PyObject
*self
, PyObject
*args
) {
18155 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18156 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
18158 return Py_BuildValue((char *)"");
18160 static int _wrap_TheFontList_set(PyObject
*_val
) {
18161 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
18166 static PyObject
*_wrap_TheFontList_get() {
18169 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
18174 static int _wrap_ThePenList_set(PyObject
*_val
) {
18175 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
18180 static PyObject
*_wrap_ThePenList_get() {
18183 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
18188 static int _wrap_TheBrushList_set(PyObject
*_val
) {
18189 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
18194 static PyObject
*_wrap_TheBrushList_get() {
18197 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
18202 static int _wrap_TheColourDatabase_set(PyObject
*_val
) {
18203 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
18208 static PyObject
*_wrap_TheColourDatabase_get() {
18211 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
18216 static PyObject
*_wrap_new_Effects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18217 PyObject
*resultobj
;
18219 char *kwnames
[] = {
18223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
18225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18226 result
= (wxEffects
*)new wxEffects();
18228 wxPyEndAllowThreads(__tstate
);
18229 if (PyErr_Occurred()) SWIG_fail
;
18231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
18238 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18239 PyObject
*resultobj
;
18240 wxEffects
*arg1
= (wxEffects
*) 0 ;
18242 PyObject
* obj0
= 0 ;
18243 char *kwnames
[] = {
18244 (char *) "self", NULL
18247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
18248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18252 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
18254 wxPyEndAllowThreads(__tstate
);
18255 if (PyErr_Occurred()) SWIG_fail
;
18258 wxColour
* resultptr
;
18259 resultptr
= new wxColour((wxColour
&) result
);
18260 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18268 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18269 PyObject
*resultobj
;
18270 wxEffects
*arg1
= (wxEffects
*) 0 ;
18272 PyObject
* obj0
= 0 ;
18273 char *kwnames
[] = {
18274 (char *) "self", NULL
18277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
18278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18282 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
18284 wxPyEndAllowThreads(__tstate
);
18285 if (PyErr_Occurred()) SWIG_fail
;
18288 wxColour
* resultptr
;
18289 resultptr
= new wxColour((wxColour
&) result
);
18290 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18298 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18299 PyObject
*resultobj
;
18300 wxEffects
*arg1
= (wxEffects
*) 0 ;
18302 PyObject
* obj0
= 0 ;
18303 char *kwnames
[] = {
18304 (char *) "self", NULL
18307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
18308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18312 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
18314 wxPyEndAllowThreads(__tstate
);
18315 if (PyErr_Occurred()) SWIG_fail
;
18318 wxColour
* resultptr
;
18319 resultptr
= new wxColour((wxColour
&) result
);
18320 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18328 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18329 PyObject
*resultobj
;
18330 wxEffects
*arg1
= (wxEffects
*) 0 ;
18332 PyObject
* obj0
= 0 ;
18333 char *kwnames
[] = {
18334 (char *) "self", NULL
18337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
18338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18342 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
18344 wxPyEndAllowThreads(__tstate
);
18345 if (PyErr_Occurred()) SWIG_fail
;
18348 wxColour
* resultptr
;
18349 resultptr
= new wxColour((wxColour
&) result
);
18350 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18358 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18359 PyObject
*resultobj
;
18360 wxEffects
*arg1
= (wxEffects
*) 0 ;
18362 PyObject
* obj0
= 0 ;
18363 char *kwnames
[] = {
18364 (char *) "self", NULL
18367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
18368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18372 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
18374 wxPyEndAllowThreads(__tstate
);
18375 if (PyErr_Occurred()) SWIG_fail
;
18378 wxColour
* resultptr
;
18379 resultptr
= new wxColour((wxColour
&) result
);
18380 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18388 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18389 PyObject
*resultobj
;
18390 wxEffects
*arg1
= (wxEffects
*) 0 ;
18391 wxColour
*arg2
= 0 ;
18393 PyObject
* obj0
= 0 ;
18394 PyObject
* obj1
= 0 ;
18395 char *kwnames
[] = {
18396 (char *) "self",(char *) "c", NULL
18399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18404 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18408 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
18410 wxPyEndAllowThreads(__tstate
);
18411 if (PyErr_Occurred()) SWIG_fail
;
18413 Py_INCREF(Py_None
); resultobj
= Py_None
;
18420 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18421 PyObject
*resultobj
;
18422 wxEffects
*arg1
= (wxEffects
*) 0 ;
18423 wxColour
*arg2
= 0 ;
18425 PyObject
* obj0
= 0 ;
18426 PyObject
* obj1
= 0 ;
18427 char *kwnames
[] = {
18428 (char *) "self",(char *) "c", NULL
18431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18436 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18440 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
18442 wxPyEndAllowThreads(__tstate
);
18443 if (PyErr_Occurred()) SWIG_fail
;
18445 Py_INCREF(Py_None
); resultobj
= Py_None
;
18452 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18453 PyObject
*resultobj
;
18454 wxEffects
*arg1
= (wxEffects
*) 0 ;
18455 wxColour
*arg2
= 0 ;
18457 PyObject
* obj0
= 0 ;
18458 PyObject
* obj1
= 0 ;
18459 char *kwnames
[] = {
18460 (char *) "self",(char *) "c", NULL
18463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18468 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18472 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
18474 wxPyEndAllowThreads(__tstate
);
18475 if (PyErr_Occurred()) SWIG_fail
;
18477 Py_INCREF(Py_None
); resultobj
= Py_None
;
18484 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18485 PyObject
*resultobj
;
18486 wxEffects
*arg1
= (wxEffects
*) 0 ;
18487 wxColour
*arg2
= 0 ;
18489 PyObject
* obj0
= 0 ;
18490 PyObject
* obj1
= 0 ;
18491 char *kwnames
[] = {
18492 (char *) "self",(char *) "c", NULL
18495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18500 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18504 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
18506 wxPyEndAllowThreads(__tstate
);
18507 if (PyErr_Occurred()) SWIG_fail
;
18509 Py_INCREF(Py_None
); resultobj
= Py_None
;
18516 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18517 PyObject
*resultobj
;
18518 wxEffects
*arg1
= (wxEffects
*) 0 ;
18519 wxColour
*arg2
= 0 ;
18521 PyObject
* obj0
= 0 ;
18522 PyObject
* obj1
= 0 ;
18523 char *kwnames
[] = {
18524 (char *) "self",(char *) "c", NULL
18527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18532 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18536 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
18538 wxPyEndAllowThreads(__tstate
);
18539 if (PyErr_Occurred()) SWIG_fail
;
18541 Py_INCREF(Py_None
); resultobj
= Py_None
;
18548 static PyObject
*_wrap_Effects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18549 PyObject
*resultobj
;
18550 wxEffects
*arg1
= (wxEffects
*) 0 ;
18551 wxColour
*arg2
= 0 ;
18552 wxColour
*arg3
= 0 ;
18553 wxColour
*arg4
= 0 ;
18554 wxColour
*arg5
= 0 ;
18555 wxColour
*arg6
= 0 ;
18561 PyObject
* obj0
= 0 ;
18562 PyObject
* obj1
= 0 ;
18563 PyObject
* obj2
= 0 ;
18564 PyObject
* obj3
= 0 ;
18565 PyObject
* obj4
= 0 ;
18566 PyObject
* obj5
= 0 ;
18567 char *kwnames
[] = {
18568 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
18571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18576 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18580 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18584 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18588 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
18592 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
18595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18596 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
18598 wxPyEndAllowThreads(__tstate
);
18599 if (PyErr_Occurred()) SWIG_fail
;
18601 Py_INCREF(Py_None
); resultobj
= Py_None
;
18608 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18609 PyObject
*resultobj
;
18610 wxEffects
*arg1
= (wxEffects
*) 0 ;
18613 int arg4
= (int) 1 ;
18615 PyObject
* obj0
= 0 ;
18616 PyObject
* obj1
= 0 ;
18617 PyObject
* obj2
= 0 ;
18618 PyObject
* obj3
= 0 ;
18619 char *kwnames
[] = {
18620 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
18623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18626 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18627 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18629 if (arg2
== NULL
) {
18630 PyErr_SetString(PyExc_TypeError
,"null reference");
18635 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
18638 arg4
= (int) SWIG_AsInt(obj3
);
18639 if (PyErr_Occurred()) SWIG_fail
;
18642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18643 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
18645 wxPyEndAllowThreads(__tstate
);
18646 if (PyErr_Occurred()) SWIG_fail
;
18648 Py_INCREF(Py_None
); resultobj
= Py_None
;
18655 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18656 PyObject
*resultobj
;
18657 wxEffects
*arg1
= (wxEffects
*) 0 ;
18660 wxBitmap
*arg4
= 0 ;
18663 PyObject
* obj0
= 0 ;
18664 PyObject
* obj1
= 0 ;
18665 PyObject
* obj2
= 0 ;
18666 PyObject
* obj3
= 0 ;
18667 char *kwnames
[] = {
18668 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
18671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18676 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18678 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
18679 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18681 if (arg3
== NULL
) {
18682 PyErr_SetString(PyExc_TypeError
,"null reference");
18685 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
18686 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18688 if (arg4
== NULL
) {
18689 PyErr_SetString(PyExc_TypeError
,"null reference");
18693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18694 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
18696 wxPyEndAllowThreads(__tstate
);
18697 if (PyErr_Occurred()) SWIG_fail
;
18699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18706 static PyObject
* Effects_swigregister(PyObject
*self
, PyObject
*args
) {
18708 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18709 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
18711 return Py_BuildValue((char *)"");
18713 static PyMethodDef SwigMethods
[] = {
18714 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18715 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18716 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18717 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18718 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
18719 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
},
18720 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18721 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
},
18722 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
},
18723 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18724 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
},
18725 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
},
18726 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
18727 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18728 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
},
18729 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18730 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
},
18731 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18732 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18733 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18734 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
},
18735 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18736 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
},
18737 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18738 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18739 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18740 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18741 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18742 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
},
18743 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18744 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18745 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
18746 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18747 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18748 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18749 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18750 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18751 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
18752 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18753 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18754 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18755 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18756 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18757 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18758 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18759 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18760 { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS
| METH_KEYWORDS
},
18761 { (char *)"Pen_GetStipple", (PyCFunction
) _wrap_Pen_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18762 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18763 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
},
18764 { (char *)"new_PyPen", (PyCFunction
) _wrap_new_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
18765 { (char *)"delete_PyPen", (PyCFunction
) _wrap_delete_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
18766 { (char *)"PyPen_SetDashes", (PyCFunction
) _wrap_PyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18767 { (char *)"PyPen_swigregister", PyPen_swigregister
, METH_VARARGS
},
18768 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18769 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18770 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18771 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18772 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18773 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18774 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18775 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18776 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18777 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
},
18778 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18779 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18780 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18781 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18782 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18783 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18784 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
18785 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
18786 { (char *)"Bitmap_GetHandle", (PyCFunction
) _wrap_Bitmap_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
18787 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
18788 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18789 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18790 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18791 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18792 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
},
18793 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
18794 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
18795 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
18796 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18797 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
18798 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
18799 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18800 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18801 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18802 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18803 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
},
18804 { (char *)"Bitmap_GetQuality", (PyCFunction
) _wrap_Bitmap_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
18805 { (char *)"Bitmap_SetQuality", (PyCFunction
) _wrap_Bitmap_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
18806 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18807 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18808 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
},
18809 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
},
18810 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
},
18811 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18812 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18813 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
18814 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
18815 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18816 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18817 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
18818 { (char *)"Icon_GetHandle", (PyCFunction
) _wrap_Icon_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
18819 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
18820 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18821 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18822 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18823 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18824 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18825 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18826 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18827 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
18828 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18829 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
},
18830 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18831 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18832 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18833 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18834 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18835 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18836 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18837 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
},
18838 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
18839 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
18840 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18841 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
18842 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
18843 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
18844 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
18845 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
},
18846 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
18847 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
18848 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
},
18849 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18850 { (char *)"Cursor_GetHandle", (PyCFunction
) _wrap_Cursor_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
18851 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
18852 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18853 { (char *)"Cursor_GetWidth", (PyCFunction
) _wrap_Cursor_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18854 { (char *)"Cursor_GetHeight", (PyCFunction
) _wrap_Cursor_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18855 { (char *)"Cursor_GetDepth", (PyCFunction
) _wrap_Cursor_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18856 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18857 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18858 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18859 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
18860 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
},
18861 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
},
18862 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18863 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
},
18864 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
},
18865 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
},
18866 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
},
18867 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
},
18868 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
18869 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
18870 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
18871 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
18872 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
18873 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
18874 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
18875 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
18876 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
},
18877 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
18878 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
18879 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
18880 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
18881 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
18882 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
},
18883 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
18884 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
18885 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18886 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18887 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
},
18888 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
18889 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
18890 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
18891 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
18892 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
18893 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18894 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
18895 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18896 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
18897 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
18898 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
18899 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
18900 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
18901 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
},
18902 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18903 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18904 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
18905 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
},
18906 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18907 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18908 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18909 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18910 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18911 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18912 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18913 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18914 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18915 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18916 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18917 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18918 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18919 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18920 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18921 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18922 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
18923 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
18924 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
18925 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
},
18926 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
},
18927 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
},
18928 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
},
18929 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
},
18930 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18931 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18932 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18933 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18934 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
},
18935 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18936 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18937 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18938 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18939 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
18940 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
18941 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18942 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
},
18943 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18944 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18945 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
18946 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
18947 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18948 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18949 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18950 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
18951 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
18952 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
18953 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
},
18954 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
},
18955 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
},
18956 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
18957 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
},
18958 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
},
18959 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18960 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18961 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18962 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18963 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18964 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18965 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18966 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18967 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18968 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18969 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18970 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
18971 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
18972 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18973 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18974 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18975 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18976 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18977 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18978 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18979 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18980 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18981 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
},
18982 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18983 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
18984 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
18985 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
18986 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18987 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18988 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18989 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18990 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
},
18991 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18992 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18993 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
18994 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18995 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18996 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18997 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18998 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
},
18999 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
19000 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
19001 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
19002 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
19003 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
19004 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
19005 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
},
19006 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
},
19007 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
},
19008 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
},
19009 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
},
19010 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
19011 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19012 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
19013 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
19014 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
19015 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
19016 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
19017 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
19018 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
19019 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
19020 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
19021 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
19022 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
},
19023 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
19024 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
19025 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
19026 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
19027 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
},
19028 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
19029 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
},
19030 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
19031 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
19032 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
19033 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
19034 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
19035 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
19036 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
},
19037 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
},
19038 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
},
19039 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
19040 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
19041 { (char *)"DC_FloodFillXY", (PyCFunction
) _wrap_DC_FloodFillXY
, METH_VARARGS
| METH_KEYWORDS
},
19042 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
19043 { (char *)"DC_GetPixelXY", (PyCFunction
) _wrap_DC_GetPixelXY
, METH_VARARGS
| METH_KEYWORDS
},
19044 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
19045 { (char *)"DC_DrawLineXY", (PyCFunction
) _wrap_DC_DrawLineXY
, METH_VARARGS
| METH_KEYWORDS
},
19046 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
19047 { (char *)"DC_CrossHairXY", (PyCFunction
) _wrap_DC_CrossHairXY
, METH_VARARGS
| METH_KEYWORDS
},
19048 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
19049 { (char *)"DC_DrawArcXY", (PyCFunction
) _wrap_DC_DrawArcXY
, METH_VARARGS
| METH_KEYWORDS
},
19050 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
19051 { (char *)"DC_DrawCheckMarkXY", (PyCFunction
) _wrap_DC_DrawCheckMarkXY
, METH_VARARGS
| METH_KEYWORDS
},
19052 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
},
19053 { (char *)"DC_DrawEllipticArcXY", (PyCFunction
) _wrap_DC_DrawEllipticArcXY
, METH_VARARGS
| METH_KEYWORDS
},
19054 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
19055 { (char *)"DC_DrawPointXY", (PyCFunction
) _wrap_DC_DrawPointXY
, METH_VARARGS
| METH_KEYWORDS
},
19056 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
19057 { (char *)"DC_DrawRectangleXY", (PyCFunction
) _wrap_DC_DrawRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
19058 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
19059 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
19060 { (char *)"DC_DrawRoundedRectangleXY", (PyCFunction
) _wrap_DC_DrawRoundedRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
19061 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
19062 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
19063 { (char *)"DC_DrawCircleXY", (PyCFunction
) _wrap_DC_DrawCircleXY
, METH_VARARGS
| METH_KEYWORDS
},
19064 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
19065 { (char *)"DC_DrawEllipseXY", (PyCFunction
) _wrap_DC_DrawEllipseXY
, METH_VARARGS
| METH_KEYWORDS
},
19066 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
19067 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
},
19068 { (char *)"DC_DrawIconXY", (PyCFunction
) _wrap_DC_DrawIconXY
, METH_VARARGS
| METH_KEYWORDS
},
19069 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
19070 { (char *)"DC_DrawBitmapXY", (PyCFunction
) _wrap_DC_DrawBitmapXY
, METH_VARARGS
| METH_KEYWORDS
},
19071 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19072 { (char *)"DC_DrawTextXY", (PyCFunction
) _wrap_DC_DrawTextXY
, METH_VARARGS
| METH_KEYWORDS
},
19073 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
19074 { (char *)"DC_DrawRotatedTextXY", (PyCFunction
) _wrap_DC_DrawRotatedTextXY
, METH_VARARGS
| METH_KEYWORDS
},
19075 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
19076 { (char *)"DC_BlitXY", (PyCFunction
) _wrap_DC_BlitXY
, METH_VARARGS
| METH_KEYWORDS
},
19077 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
19078 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
19079 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
19080 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
19081 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
19082 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
19083 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
19084 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
19085 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
19086 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
19087 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
19088 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
19089 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
19090 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
19091 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
19092 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
19093 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
19094 { (char *)"DC_SetClippingRegionXY", (PyCFunction
) _wrap_DC_SetClippingRegionXY
, METH_VARARGS
| METH_KEYWORDS
},
19095 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
19096 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
19097 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
19098 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
19099 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
19100 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
19101 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
19102 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
19103 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
19104 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
19105 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
19106 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
},
19107 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
19108 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
19109 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
19110 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
},
19111 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
19112 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
19113 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
19114 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
19115 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
19116 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
19117 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
19118 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
19119 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19120 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
19121 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
19122 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
19123 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19124 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
19125 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
19126 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
19127 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
19128 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
19129 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
19130 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
19131 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
19132 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
19133 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
19134 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
19135 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
19136 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
19137 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
19138 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
19139 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
19140 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
19141 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
19142 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
19143 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
19144 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
19145 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
19146 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
19147 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
19148 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
19149 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
19150 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
19151 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
19152 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
19153 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
19154 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
19155 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
19156 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
19157 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
19158 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
19159 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
19160 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
19161 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
19162 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
19163 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
},
19164 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
19165 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
19166 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
19167 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
},
19168 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
},
19169 { (char *)"new_BufferedDCInternalBuffer", _wrap_new_BufferedDCInternalBuffer
, METH_VARARGS
},
19170 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
19171 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
19172 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
},
19173 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
19174 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
},
19175 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
19176 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
19177 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
19178 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
19179 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
},
19180 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
},
19181 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
},
19182 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
},
19183 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
},
19184 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
},
19185 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
},
19186 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
19187 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
},
19188 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
19189 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
19190 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
19191 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
19192 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
19193 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
},
19194 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
19195 { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
19196 { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19197 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
},
19198 { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
19199 { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19200 { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
19201 { (char *)"MetaFile_GetFileName", (PyCFunction
) _wrap_MetaFile_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
19202 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
},
19203 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
19204 { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
},
19205 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
},
19206 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
19207 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
},
19208 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
19209 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
19210 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
19211 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
19212 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
19213 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
19214 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
19215 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
19216 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
19217 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
19218 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
19219 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
},
19220 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
19221 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
19222 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
19223 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
19224 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
},
19225 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
19226 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
19227 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
19228 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
19229 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
},
19230 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
19231 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
19232 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
},
19233 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
19234 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
19235 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
19236 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
},
19237 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
19238 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
19239 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
19240 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
19241 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
},
19242 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
},
19243 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
19244 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
19245 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
19246 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
19247 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
19248 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
19249 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
19250 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
19251 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
19252 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
19253 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
},
19254 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
19255 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19256 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
},
19261 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
19263 static void *_p_wxControlTo_p_wxWindow(void *x
) {
19264 return (void *)((wxWindow
*) ((wxControl
*) x
));
19266 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
19267 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
19269 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
19270 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
19272 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
19273 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
19275 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
19276 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19278 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
19279 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
19281 static void *_p_wxPenTo_p_wxObject(void *x
) {
19282 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
19284 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
19285 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
19287 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
19288 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
19290 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
19291 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
19293 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
19294 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
19296 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
19297 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
19299 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
19300 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
19302 static void *_p_wxIconTo_p_wxObject(void *x
) {
19303 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
19305 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
19306 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
19308 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
19309 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
19311 static void *_p_wxSizerTo_p_wxObject(void *x
) {
19312 return (void *)((wxObject
*) ((wxSizer
*) x
));
19314 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
19315 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
19317 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
19318 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
19320 static void *_p_wxPenListTo_p_wxObject(void *x
) {
19321 return (void *)((wxObject
*) ((wxPenList
*) x
));
19323 static void *_p_wxEventTo_p_wxObject(void *x
) {
19324 return (void *)((wxObject
*) ((wxEvent
*) x
));
19326 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
19327 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
19329 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
19330 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
19332 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
19333 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
19335 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
19336 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
19338 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
19339 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
19341 static void *_p_wxDCTo_p_wxObject(void *x
) {
19342 return (void *)((wxObject
*) ((wxDC
*) x
));
19344 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
19345 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
19347 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
19348 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
19350 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
19351 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
19353 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
19354 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
19356 static void *_p_wxControlTo_p_wxObject(void *x
) {
19357 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
19359 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
19360 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
19362 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
19363 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
19365 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
19366 return (void *)((wxObject
*) ((wxFSFile
*) x
));
19368 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
19369 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
19371 static void *_p_wxRegionTo_p_wxObject(void *x
) {
19372 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
19374 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
19375 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
19377 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
19378 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
19380 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
19381 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
19383 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
19384 return (void *)((wxObject
*) ((wxEffects
*) x
));
19386 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
19387 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
19389 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
19390 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
19392 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
19393 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
19395 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
19396 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
19398 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
19399 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
19401 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
19402 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
19404 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
19405 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
19407 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
19408 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
19410 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
19411 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
19413 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
19414 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
19416 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
19417 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
19419 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
19420 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
19422 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
19423 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
19425 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
19426 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
19428 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
19429 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
19431 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
19432 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
19434 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
19435 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
19437 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
19438 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
19440 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
19441 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
19443 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
19444 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
19446 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
19447 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
19449 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
19450 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
19452 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
19453 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
19455 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
19456 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
19458 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
19459 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
19461 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
19462 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
19464 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
19465 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19467 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
19468 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
19470 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
19471 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
19473 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
19474 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
19476 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
19477 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
19479 static void *_p_wxImageTo_p_wxObject(void *x
) {
19480 return (void *)((wxObject
*) ((wxImage
*) x
));
19482 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
19483 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
19485 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
19486 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
19488 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
19489 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
19491 static void *_p_wxImageListTo_p_wxObject(void *x
) {
19492 return (void *)((wxObject
*) ((wxImageList
*) x
));
19494 static void *_p_wxCursorTo_p_wxObject(void *x
) {
19495 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
19497 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
19498 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
19500 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
19501 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
19503 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
19504 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19506 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
19507 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
19509 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
19510 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
19512 static void *_p_wxWindowTo_p_wxObject(void *x
) {
19513 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
19515 static void *_p_wxMenuTo_p_wxObject(void *x
) {
19516 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
19518 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
19519 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
19521 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
19522 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
19524 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
19525 return (void *)((wxObject
*) ((wxBrushList
*) x
));
19527 static void *_p_wxPyPenTo_p_wxObject(void *x
) {
19528 return (void *)((wxObject
*) (wxGDIObject
*)(wxPen
*) ((wxPyPen
*) x
));
19530 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
19531 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
19533 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
19534 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
19536 static void *_p_wxMaskTo_p_wxObject(void *x
) {
19537 return (void *)((wxObject
*) ((wxMask
*) x
));
19539 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
19540 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19542 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
19543 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
19545 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
19546 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
19548 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
19549 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
19551 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
19552 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
19554 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
19555 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
19557 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
19558 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19560 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
19561 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
19563 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
19564 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
19566 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
19567 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
19569 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
19570 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19572 static void *_p_wxFontTo_p_wxObject(void *x
) {
19573 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
19575 static void *_p_wxBrushTo_p_wxObject(void *x
) {
19576 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
19578 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
19579 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
19581 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
19582 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19584 static void *_p_wxColourTo_p_wxObject(void *x
) {
19585 return (void *)((wxObject
*) ((wxColour
*) x
));
19587 static void *_p_wxFontListTo_p_wxObject(void *x
) {
19588 return (void *)((wxObject
*) ((wxFontList
*) x
));
19590 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
19591 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
19593 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
19594 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
19596 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
19597 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19599 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
19600 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
19602 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
19603 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
19605 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
19606 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
19608 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
19609 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
19611 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
19612 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
19614 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
19615 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
19617 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
19618 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19620 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
19621 return (void *)((wxDC
*) ((wxClientDC
*) x
));
19623 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
19624 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
19626 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
19627 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
19629 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
19630 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
19632 static void *_p_wxPyPenTo_p_wxGDIObject(void *x
) {
19633 return (void *)((wxGDIObject
*) (wxPen
*) ((wxPyPen
*) x
));
19635 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
19636 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
19638 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
19639 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
19641 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
19642 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
19644 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
19645 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
19647 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
19648 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
19650 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
19651 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
19653 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
19654 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
19656 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
19657 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
19659 static void *_p_wxPyPenTo_p_wxPen(void *x
) {
19660 return (void *)((wxPen
*) ((wxPyPen
*) x
));
19662 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}};
19663 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}};
19664 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}};
19665 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}};
19666 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}};
19667 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}};
19668 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}};
19669 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}};
19670 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}};
19671 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}};
19672 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}};
19673 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}};
19674 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}};
19675 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}};
19676 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}};
19677 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}};
19678 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}};
19679 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}};
19680 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}};
19681 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}};
19682 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}};
19683 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}};
19684 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_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_wxPCXHandler", _p_wxPCXHandlerTo_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_wxPyPen", _p_wxPyPenTo_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}};
19685 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}};
19686 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}};
19687 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}};
19688 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}};
19689 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}};
19690 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}};
19691 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}};
19692 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}};
19693 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}};
19694 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}};
19695 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}};
19696 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}};
19697 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}};
19698 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_wxPyPen", _p_wxPyPenTo_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}};
19699 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}};
19700 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}};
19701 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}};
19702 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}};
19703 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}};
19704 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}};
19705 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}};
19706 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}};
19707 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}};
19708 static swig_type_info _swigt__p_wxPen
[] = {{"_p_wxPen", 0, "wxPen *", 0, 0, 0, 0},{"_p_wxPyPen", _p_wxPyPenTo_p_wxPen
, 0, 0, 0, 0, 0},{"_p_wxPen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19709 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}};
19710 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}};
19711 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}};
19712 static swig_type_info _swigt__p_wxPyPen
[] = {{"_p_wxPyPen", 0, "wxPyPen *", 0, 0, 0, 0},{"_p_wxPyPen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19713 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}};
19714 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}};
19715 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}};
19716 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}};
19717 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}};
19719 static swig_type_info
*swig_types_initial
[] = {
19720 _swigt__p_wxPostScriptDC
,
19722 _swigt__p_wxColour
,
19724 _swigt__p_wxMirrorDC
,
19726 _swigt__p_wxPyFontEnumerator
,
19728 _swigt__p_wxIconLocation
,
19730 _swigt__p_wxMetaFileDC
,
19733 _swigt__p_wxWindow
,
19736 _swigt__p_wxMemoryDC
,
19737 _swigt__p_wxFontMapper
,
19738 _swigt__p_wxEffects
,
19739 _swigt__p_wxNativeEncodingInfo
,
19740 _swigt__p_wxPalette
,
19741 _swigt__p_wxBitmap
,
19742 _swigt__p_wxObject
,
19743 _swigt__p_wxRegionIterator
,
19745 _swigt__p_wxString
,
19746 _swigt__p_wxPrinterDC
,
19747 _swigt__p_wxIconBundle
,
19750 _swigt__p_wxScreenDC
,
19751 _swigt__p_wxCursor
,
19752 _swigt__p_wxClientDC
,
19753 _swigt__p_wxBufferedDC
,
19754 _swigt__p_wxImageList
,
19755 _swigt__p_unsigned_char
,
19756 _swigt__p_wxGDIObject
,
19758 _swigt__p_wxLocale
,
19759 _swigt__p_wxRegion
,
19760 _swigt__p_wxLanguageInfo
,
19761 _swigt__p_wxConfigBase
,
19762 _swigt__p_wxWindowDC
,
19763 _swigt__p_wxPrintData
,
19764 _swigt__p_wxBrushList
,
19765 _swigt__p_wxFontList
,
19767 _swigt__p_wxBufferedPaintDC
,
19768 _swigt__p_wxPaintDC
,
19769 _swigt__p_wxPenList
,
19772 _swigt__p_wxMetaFile
,
19773 _swigt__p_wxNativeFontInfo
,
19774 _swigt__p_wxEncodingConverter
,
19775 _swigt__p_wxColourDatabase
,
19780 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19782 static swig_const_info swig_const_table
[] = {
19792 SWIGEXPORT(void) SWIG_init(void) {
19793 static PyObject
*SWIG_globals
= 0;
19794 static int typeinit
= 0;
19797 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
19798 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
19799 d
= PyModule_GetDict(m
);
19802 for (i
= 0; swig_types_initial
[i
]; i
++) {
19803 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
19807 SWIG_InstallConstants(d
,swig_const_table
);
19809 PyDict_SetItemString(d
,"OutRegion", SWIG_FromInt((int)wxOutRegion
));
19810 PyDict_SetItemString(d
,"PartRegion", SWIG_FromInt((int)wxPartRegion
));
19811 PyDict_SetItemString(d
,"InRegion", SWIG_FromInt((int)wxInRegion
));
19812 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_FromInt((int)wxFONTFAMILY_DEFAULT
));
19813 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_FromInt((int)wxFONTFAMILY_DECORATIVE
));
19814 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_FromInt((int)wxFONTFAMILY_ROMAN
));
19815 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_FromInt((int)wxFONTFAMILY_SCRIPT
));
19816 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_FromInt((int)wxFONTFAMILY_SWISS
));
19817 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_FromInt((int)wxFONTFAMILY_MODERN
));
19818 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_FromInt((int)wxFONTFAMILY_TELETYPE
));
19819 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_FromInt((int)wxFONTFAMILY_MAX
));
19820 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_FromInt((int)wxFONTFAMILY_UNKNOWN
));
19821 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_FromInt((int)wxFONTSTYLE_NORMAL
));
19822 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_FromInt((int)wxFONTSTYLE_ITALIC
));
19823 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_FromInt((int)wxFONTSTYLE_SLANT
));
19824 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_FromInt((int)wxFONTSTYLE_MAX
));
19825 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_FromInt((int)wxFONTWEIGHT_NORMAL
));
19826 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_FromInt((int)wxFONTWEIGHT_LIGHT
));
19827 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_FromInt((int)wxFONTWEIGHT_BOLD
));
19828 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_FromInt((int)wxFONTWEIGHT_MAX
));
19829 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_FromInt((int)wxFONTFLAG_DEFAULT
));
19830 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_FromInt((int)wxFONTFLAG_ITALIC
));
19831 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_FromInt((int)wxFONTFLAG_SLANT
));
19832 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_FromInt((int)wxFONTFLAG_LIGHT
));
19833 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_FromInt((int)wxFONTFLAG_BOLD
));
19834 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_ANTIALIASED
));
19835 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_NOT_ANTIALIASED
));
19836 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_FromInt((int)wxFONTFLAG_UNDERLINED
));
19837 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_FromInt((int)wxFONTFLAG_STRIKETHROUGH
));
19838 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_FromInt((int)wxFONTFLAG_MASK
));
19839 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_FromInt((int)wxFONTENCODING_SYSTEM
));
19840 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_FromInt((int)wxFONTENCODING_DEFAULT
));
19841 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_FromInt((int)wxFONTENCODING_ISO8859_1
));
19842 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_FromInt((int)wxFONTENCODING_ISO8859_2
));
19843 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_FromInt((int)wxFONTENCODING_ISO8859_3
));
19844 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_FromInt((int)wxFONTENCODING_ISO8859_4
));
19845 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_FromInt((int)wxFONTENCODING_ISO8859_5
));
19846 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_FromInt((int)wxFONTENCODING_ISO8859_6
));
19847 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_FromInt((int)wxFONTENCODING_ISO8859_7
));
19848 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_FromInt((int)wxFONTENCODING_ISO8859_8
));
19849 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_FromInt((int)wxFONTENCODING_ISO8859_9
));
19850 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_FromInt((int)wxFONTENCODING_ISO8859_10
));
19851 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_FromInt((int)wxFONTENCODING_ISO8859_11
));
19852 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_FromInt((int)wxFONTENCODING_ISO8859_12
));
19853 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_FromInt((int)wxFONTENCODING_ISO8859_13
));
19854 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_FromInt((int)wxFONTENCODING_ISO8859_14
));
19855 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_FromInt((int)wxFONTENCODING_ISO8859_15
));
19856 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_FromInt((int)wxFONTENCODING_ISO8859_MAX
));
19857 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_FromInt((int)wxFONTENCODING_KOI8
));
19858 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_FromInt((int)wxFONTENCODING_ALTERNATIVE
));
19859 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_FromInt((int)wxFONTENCODING_BULGARIAN
));
19860 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_FromInt((int)wxFONTENCODING_CP437
));
19861 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_FromInt((int)wxFONTENCODING_CP850
));
19862 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_FromInt((int)wxFONTENCODING_CP852
));
19863 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_FromInt((int)wxFONTENCODING_CP855
));
19864 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_FromInt((int)wxFONTENCODING_CP866
));
19865 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_FromInt((int)wxFONTENCODING_CP874
));
19866 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_FromInt((int)wxFONTENCODING_CP932
));
19867 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_FromInt((int)wxFONTENCODING_CP936
));
19868 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_FromInt((int)wxFONTENCODING_CP949
));
19869 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_FromInt((int)wxFONTENCODING_CP950
));
19870 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_FromInt((int)wxFONTENCODING_CP1250
));
19871 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_FromInt((int)wxFONTENCODING_CP1251
));
19872 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_FromInt((int)wxFONTENCODING_CP1252
));
19873 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_FromInt((int)wxFONTENCODING_CP1253
));
19874 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_FromInt((int)wxFONTENCODING_CP1254
));
19875 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_FromInt((int)wxFONTENCODING_CP1255
));
19876 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_FromInt((int)wxFONTENCODING_CP1256
));
19877 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_FromInt((int)wxFONTENCODING_CP1257
));
19878 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_FromInt((int)wxFONTENCODING_CP12_MAX
));
19879 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_FromInt((int)wxFONTENCODING_UTF7
));
19880 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_FromInt((int)wxFONTENCODING_UTF8
));
19881 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_FromInt((int)wxFONTENCODING_EUC_JP
));
19882 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_FromInt((int)wxFONTENCODING_UTF16BE
));
19883 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_FromInt((int)wxFONTENCODING_UTF16LE
));
19884 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_FromInt((int)wxFONTENCODING_UTF32BE
));
19885 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_FromInt((int)wxFONTENCODING_UTF32LE
));
19886 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_FromInt((int)wxFONTENCODING_MACROMAN
));
19887 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_FromInt((int)wxFONTENCODING_MACJAPANESE
));
19888 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_FromInt((int)wxFONTENCODING_MACCHINESETRAD
));
19889 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_FromInt((int)wxFONTENCODING_MACKOREAN
));
19890 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_FromInt((int)wxFONTENCODING_MACARABIC
));
19891 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_FromInt((int)wxFONTENCODING_MACHEBREW
));
19892 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_FromInt((int)wxFONTENCODING_MACGREEK
));
19893 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_FromInt((int)wxFONTENCODING_MACCYRILLIC
));
19894 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_FromInt((int)wxFONTENCODING_MACDEVANAGARI
));
19895 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_FromInt((int)wxFONTENCODING_MACGURMUKHI
));
19896 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_FromInt((int)wxFONTENCODING_MACGUJARATI
));
19897 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_FromInt((int)wxFONTENCODING_MACORIYA
));
19898 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_FromInt((int)wxFONTENCODING_MACBENGALI
));
19899 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_FromInt((int)wxFONTENCODING_MACTAMIL
));
19900 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_FromInt((int)wxFONTENCODING_MACTELUGU
));
19901 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_FromInt((int)wxFONTENCODING_MACKANNADA
));
19902 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_FromInt((int)wxFONTENCODING_MACMALAJALAM
));
19903 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_FromInt((int)wxFONTENCODING_MACSINHALESE
));
19904 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_FromInt((int)wxFONTENCODING_MACBURMESE
));
19905 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_FromInt((int)wxFONTENCODING_MACKHMER
));
19906 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_FromInt((int)wxFONTENCODING_MACTHAI
));
19907 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_FromInt((int)wxFONTENCODING_MACLAOTIAN
));
19908 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_FromInt((int)wxFONTENCODING_MACGEORGIAN
));
19909 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_FromInt((int)wxFONTENCODING_MACARMENIAN
));
19910 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_FromInt((int)wxFONTENCODING_MACCHINESESIMP
));
19911 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_FromInt((int)wxFONTENCODING_MACTIBETAN
));
19912 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_FromInt((int)wxFONTENCODING_MACMONGOLIAN
));
19913 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_FromInt((int)wxFONTENCODING_MACETHIOPIC
));
19914 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_FromInt((int)wxFONTENCODING_MACCENTRALEUR
));
19915 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_FromInt((int)wxFONTENCODING_MACVIATNAMESE
));
19916 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_FromInt((int)wxFONTENCODING_MACARABICEXT
));
19917 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_FromInt((int)wxFONTENCODING_MACSYMBOL
));
19918 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_FromInt((int)wxFONTENCODING_MACDINGBATS
));
19919 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_FromInt((int)wxFONTENCODING_MACTURKISH
));
19920 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_FromInt((int)wxFONTENCODING_MACCROATIAN
));
19921 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_FromInt((int)wxFONTENCODING_MACICELANDIC
));
19922 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_FromInt((int)wxFONTENCODING_MACROMANIAN
));
19923 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_FromInt((int)wxFONTENCODING_MACCELTIC
));
19924 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_FromInt((int)wxFONTENCODING_MACGAELIC
));
19925 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_FromInt((int)wxFONTENCODING_MACKEYBOARD
));
19926 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_FromInt((int)wxFONTENCODING_MACMIN
));
19927 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_FromInt((int)wxFONTENCODING_MACMAX
));
19928 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_FromInt((int)wxFONTENCODING_MAX
));
19929 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_FromInt((int)wxFONTENCODING_UTF16
));
19930 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_FromInt((int)wxFONTENCODING_UTF32
));
19931 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_FromInt((int)wxFONTENCODING_UNICODE
));
19932 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_FromInt((int)wxFONTENCODING_GB2312
));
19933 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_FromInt((int)wxFONTENCODING_BIG5
));
19934 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_FromInt((int)wxFONTENCODING_SHIFT_JIS
));
19936 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
19938 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_FromInt((int)wxLANGUAGE_DEFAULT
));
19939 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_FromInt((int)wxLANGUAGE_UNKNOWN
));
19940 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_FromInt((int)wxLANGUAGE_ABKHAZIAN
));
19941 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_FromInt((int)wxLANGUAGE_AFAR
));
19942 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_FromInt((int)wxLANGUAGE_AFRIKAANS
));
19943 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_FromInt((int)wxLANGUAGE_ALBANIAN
));
19944 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_FromInt((int)wxLANGUAGE_AMHARIC
));
19945 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_FromInt((int)wxLANGUAGE_ARABIC
));
19946 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_ALGERIA
));
19947 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_BAHRAIN
));
19948 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_EGYPT
));
19949 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_FromInt((int)wxLANGUAGE_ARABIC_IRAQ
));
19950 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_JORDAN
));
19951 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_KUWAIT
));
19952 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LEBANON
));
19953 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LIBYA
));
19954 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_FromInt((int)wxLANGUAGE_ARABIC_MOROCCO
));
19955 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_OMAN
));
19956 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_FromInt((int)wxLANGUAGE_ARABIC_QATAR
));
19957 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
19958 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SUDAN
));
19959 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SYRIA
));
19960 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_TUNISIA
));
19961 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_FromInt((int)wxLANGUAGE_ARABIC_UAE
));
19962 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_YEMEN
));
19963 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_FromInt((int)wxLANGUAGE_ARMENIAN
));
19964 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_FromInt((int)wxLANGUAGE_ASSAMESE
));
19965 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_FromInt((int)wxLANGUAGE_AYMARA
));
19966 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_FromInt((int)wxLANGUAGE_AZERI
));
19967 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_AZERI_CYRILLIC
));
19968 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_FromInt((int)wxLANGUAGE_AZERI_LATIN
));
19969 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_FromInt((int)wxLANGUAGE_BASHKIR
));
19970 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_FromInt((int)wxLANGUAGE_BASQUE
));
19971 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_FromInt((int)wxLANGUAGE_BELARUSIAN
));
19972 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_FromInt((int)wxLANGUAGE_BENGALI
));
19973 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_FromInt((int)wxLANGUAGE_BHUTANI
));
19974 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_FromInt((int)wxLANGUAGE_BIHARI
));
19975 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_FromInt((int)wxLANGUAGE_BISLAMA
));
19976 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_FromInt((int)wxLANGUAGE_BRETON
));
19977 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_FromInt((int)wxLANGUAGE_BULGARIAN
));
19978 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_FromInt((int)wxLANGUAGE_BURMESE
));
19979 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_FromInt((int)wxLANGUAGE_CAMBODIAN
));
19980 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_FromInt((int)wxLANGUAGE_CATALAN
));
19981 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_FromInt((int)wxLANGUAGE_CHINESE
));
19982 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
19983 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
19984 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_FromInt((int)wxLANGUAGE_CHINESE_HONGKONG
));
19985 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_FromInt((int)wxLANGUAGE_CHINESE_MACAU
));
19986 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SINGAPORE
));
19987 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TAIWAN
));
19988 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_FromInt((int)wxLANGUAGE_CORSICAN
));
19989 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_CROATIAN
));
19990 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_FromInt((int)wxLANGUAGE_CZECH
));
19991 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_FromInt((int)wxLANGUAGE_DANISH
));
19992 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_FromInt((int)wxLANGUAGE_DUTCH
));
19993 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_DUTCH_BELGIAN
));
19994 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_FromInt((int)wxLANGUAGE_ENGLISH
));
19995 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_UK
));
19996 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_US
));
19997 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
19998 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BELIZE
));
19999 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
20000 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CANADA
));
20001 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
20002 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_DENMARK
));
20003 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_EIRE
));
20004 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_JAMAICA
));
20005 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
20006 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
20007 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
20008 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
20009 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
20010 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_FromInt((int)wxLANGUAGE_ESPERANTO
));
20011 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_FromInt((int)wxLANGUAGE_ESTONIAN
));
20012 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_FromInt((int)wxLANGUAGE_FAEROESE
));
20013 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_FromInt((int)wxLANGUAGE_FARSI
));
20014 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_FromInt((int)wxLANGUAGE_FIJI
));
20015 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_FromInt((int)wxLANGUAGE_FINNISH
));
20016 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_FromInt((int)wxLANGUAGE_FRENCH
));
20017 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_BELGIAN
));
20018 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_CANADIAN
));
20019 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
20020 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_FromInt((int)wxLANGUAGE_FRENCH_MONACO
));
20021 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_FromInt((int)wxLANGUAGE_FRENCH_SWISS
));
20022 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_FromInt((int)wxLANGUAGE_FRISIAN
));
20023 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_FromInt((int)wxLANGUAGE_GALICIAN
));
20024 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_FromInt((int)wxLANGUAGE_GEORGIAN
));
20025 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN
));
20026 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
20027 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_FromInt((int)wxLANGUAGE_GERMAN_BELGIUM
));
20028 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
20029 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
20030 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_GERMAN_SWISS
));
20031 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_FromInt((int)wxLANGUAGE_GREEK
));
20032 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_FromInt((int)wxLANGUAGE_GREENLANDIC
));
20033 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_FromInt((int)wxLANGUAGE_GUARANI
));
20034 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_FromInt((int)wxLANGUAGE_GUJARATI
));
20035 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_FromInt((int)wxLANGUAGE_HAUSA
));
20036 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_FromInt((int)wxLANGUAGE_HEBREW
));
20037 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_FromInt((int)wxLANGUAGE_HINDI
));
20038 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_FromInt((int)wxLANGUAGE_HUNGARIAN
));
20039 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_FromInt((int)wxLANGUAGE_ICELANDIC
));
20040 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_FromInt((int)wxLANGUAGE_INDONESIAN
));
20041 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUA
));
20042 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUE
));
20043 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_FromInt((int)wxLANGUAGE_INUKTITUT
));
20044 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_FromInt((int)wxLANGUAGE_INUPIAK
));
20045 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_FromInt((int)wxLANGUAGE_IRISH
));
20046 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_FromInt((int)wxLANGUAGE_ITALIAN
));
20047 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_ITALIAN_SWISS
));
20048 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_FromInt((int)wxLANGUAGE_JAPANESE
));
20049 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_FromInt((int)wxLANGUAGE_JAVANESE
));
20050 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_FromInt((int)wxLANGUAGE_KANNADA
));
20051 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI
));
20052 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI_INDIA
));
20053 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_FromInt((int)wxLANGUAGE_KAZAKH
));
20054 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_FromInt((int)wxLANGUAGE_KERNEWEK
));
20055 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_FromInt((int)wxLANGUAGE_KINYARWANDA
));
20056 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_FromInt((int)wxLANGUAGE_KIRGHIZ
));
20057 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_FromInt((int)wxLANGUAGE_KIRUNDI
));
20058 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_FromInt((int)wxLANGUAGE_KONKANI
));
20059 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_FromInt((int)wxLANGUAGE_KOREAN
));
20060 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_FromInt((int)wxLANGUAGE_KURDISH
));
20061 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_FromInt((int)wxLANGUAGE_LAOTHIAN
));
20062 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_FromInt((int)wxLANGUAGE_LATIN
));
20063 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_FromInt((int)wxLANGUAGE_LATVIAN
));
20064 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_FromInt((int)wxLANGUAGE_LINGALA
));
20065 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_FromInt((int)wxLANGUAGE_LITHUANIAN
));
20066 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_FromInt((int)wxLANGUAGE_MACEDONIAN
));
20067 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_FromInt((int)wxLANGUAGE_MALAGASY
));
20068 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_FromInt((int)wxLANGUAGE_MALAY
));
20069 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_FromInt((int)wxLANGUAGE_MALAYALAM
));
20070 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_FromInt((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
20071 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_FromInt((int)wxLANGUAGE_MALAY_MALAYSIA
));
20072 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_FromInt((int)wxLANGUAGE_MALTESE
));
20073 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_FromInt((int)wxLANGUAGE_MANIPURI
));
20074 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_FromInt((int)wxLANGUAGE_MAORI
));
20075 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_FromInt((int)wxLANGUAGE_MARATHI
));
20076 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_FromInt((int)wxLANGUAGE_MOLDAVIAN
));
20077 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_FromInt((int)wxLANGUAGE_MONGOLIAN
));
20078 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_FromInt((int)wxLANGUAGE_NAURU
));
20079 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_FromInt((int)wxLANGUAGE_NEPALI
));
20080 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_FromInt((int)wxLANGUAGE_NEPALI_INDIA
));
20081 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
20082 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
20083 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_FromInt((int)wxLANGUAGE_OCCITAN
));
20084 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_FromInt((int)wxLANGUAGE_ORIYA
));
20085 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_FromInt((int)wxLANGUAGE_OROMO
));
20086 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_FromInt((int)wxLANGUAGE_PASHTO
));
20087 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_FromInt((int)wxLANGUAGE_POLISH
));
20088 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE
));
20089 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
20090 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_FromInt((int)wxLANGUAGE_PUNJABI
));
20091 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_FromInt((int)wxLANGUAGE_QUECHUA
));
20092 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_FromInt((int)wxLANGUAGE_RHAETO_ROMANCE
));
20093 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_FromInt((int)wxLANGUAGE_ROMANIAN
));
20094 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN
));
20095 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
20096 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_FromInt((int)wxLANGUAGE_SAMOAN
));
20097 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_FromInt((int)wxLANGUAGE_SANGHO
));
20098 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_FromInt((int)wxLANGUAGE_SANSKRIT
));
20099 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_FromInt((int)wxLANGUAGE_SCOTS_GAELIC
));
20100 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN
));
20101 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
20102 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_LATIN
));
20103 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_SERBO_CROATIAN
));
20104 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_FromInt((int)wxLANGUAGE_SESOTHO
));
20105 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_FromInt((int)wxLANGUAGE_SETSWANA
));
20106 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_FromInt((int)wxLANGUAGE_SHONA
));
20107 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_FromInt((int)wxLANGUAGE_SINDHI
));
20108 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_FromInt((int)wxLANGUAGE_SINHALESE
));
20109 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_FromInt((int)wxLANGUAGE_SISWATI
));
20110 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_FromInt((int)wxLANGUAGE_SLOVAK
));
20111 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_FromInt((int)wxLANGUAGE_SLOVENIAN
));
20112 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_FromInt((int)wxLANGUAGE_SOMALI
));
20113 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_FromInt((int)wxLANGUAGE_SPANISH
));
20114 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ARGENTINA
));
20115 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_BOLIVIA
));
20116 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_FromInt((int)wxLANGUAGE_SPANISH_CHILE
));
20117 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COLOMBIA
));
20118 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
20119 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_FromInt((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
20120 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ECUADOR
));
20121 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
20122 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_GUATEMALA
));
20123 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_FromInt((int)wxLANGUAGE_SPANISH_HONDURAS
));
20124 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MEXICAN
));
20125 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MODERN
));
20126 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_NICARAGUA
));
20127 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PANAMA
));
20128 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PARAGUAY
));
20129 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PERU
));
20130 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
20131 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_URUGUAY
));
20132 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_FromInt((int)wxLANGUAGE_SPANISH_US
));
20133 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_VENEZUELA
));
20134 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_FromInt((int)wxLANGUAGE_SUNDANESE
));
20135 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_FromInt((int)wxLANGUAGE_SWAHILI
));
20136 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_FromInt((int)wxLANGUAGE_SWEDISH
));
20137 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_FromInt((int)wxLANGUAGE_SWEDISH_FINLAND
));
20138 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_FromInt((int)wxLANGUAGE_TAGALOG
));
20139 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_FromInt((int)wxLANGUAGE_TAJIK
));
20140 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_FromInt((int)wxLANGUAGE_TAMIL
));
20141 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_FromInt((int)wxLANGUAGE_TATAR
));
20142 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_FromInt((int)wxLANGUAGE_TELUGU
));
20143 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_FromInt((int)wxLANGUAGE_THAI
));
20144 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_FromInt((int)wxLANGUAGE_TIBETAN
));
20145 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_FromInt((int)wxLANGUAGE_TIGRINYA
));
20146 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_FromInt((int)wxLANGUAGE_TONGA
));
20147 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_FromInt((int)wxLANGUAGE_TSONGA
));
20148 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_FromInt((int)wxLANGUAGE_TURKISH
));
20149 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_FromInt((int)wxLANGUAGE_TURKMEN
));
20150 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_FromInt((int)wxLANGUAGE_TWI
));
20151 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_FromInt((int)wxLANGUAGE_UIGHUR
));
20152 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_FromInt((int)wxLANGUAGE_UKRAINIAN
));
20153 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_FromInt((int)wxLANGUAGE_URDU
));
20154 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_FromInt((int)wxLANGUAGE_URDU_INDIA
));
20155 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_FromInt((int)wxLANGUAGE_URDU_PAKISTAN
));
20156 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_FromInt((int)wxLANGUAGE_UZBEK
));
20157 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_UZBEK_CYRILLIC
));
20158 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_FromInt((int)wxLANGUAGE_UZBEK_LATIN
));
20159 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_FromInt((int)wxLANGUAGE_VIETNAMESE
));
20160 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_FromInt((int)wxLANGUAGE_VOLAPUK
));
20161 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_FromInt((int)wxLANGUAGE_WELSH
));
20162 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_FromInt((int)wxLANGUAGE_WOLOF
));
20163 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_FromInt((int)wxLANGUAGE_XHOSA
));
20164 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_FromInt((int)wxLANGUAGE_YIDDISH
));
20165 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_FromInt((int)wxLANGUAGE_YORUBA
));
20166 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_FromInt((int)wxLANGUAGE_ZHUANG
));
20167 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_FromInt((int)wxLANGUAGE_ZULU
));
20168 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_FromInt((int)wxLANGUAGE_USER_DEFINED
));
20169 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_FromInt((int)wxLOCALE_CAT_NUMBER
));
20170 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_FromInt((int)wxLOCALE_CAT_DATE
));
20171 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_FromInt((int)wxLOCALE_CAT_MONEY
));
20172 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_FromInt((int)wxLOCALE_CAT_MAX
));
20173 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_FromInt((int)wxLOCALE_THOUSANDS_SEP
));
20174 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_FromInt((int)wxLOCALE_DECIMAL_POINT
));
20175 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_FromInt((int)wxLOCALE_LOAD_DEFAULT
));
20176 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_FromInt((int)wxLOCALE_CONV_ENCODING
));
20177 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_FromInt((int)wxCONVERT_STRICT
));
20178 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_FromInt((int)wxCONVERT_SUBSTITUTE
));
20179 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_FromInt((int)wxPLATFORM_CURRENT
));
20180 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_FromInt((int)wxPLATFORM_UNIX
));
20181 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_FromInt((int)wxPLATFORM_WINDOWS
));
20182 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_FromInt((int)wxPLATFORM_OS2
));
20183 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_FromInt((int)wxPLATFORM_MAC
));
20184 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_FromInt((int)wxIMAGELIST_DRAW_NORMAL
));
20185 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_FromInt((int)wxIMAGELIST_DRAW_TRANSPARENT
));
20186 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_FromInt((int)wxIMAGELIST_DRAW_SELECTED
));
20187 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_FromInt((int)wxIMAGELIST_DRAW_FOCUSED
));
20188 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_FromInt((int)wxIMAGE_LIST_NORMAL
));
20189 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_FromInt((int)wxIMAGE_LIST_SMALL
));
20190 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_FromInt((int)wxIMAGE_LIST_STATE
));
20191 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
20192 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
20193 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
20194 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
20195 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
20196 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
20197 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
20198 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
20199 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
20200 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
20201 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
20202 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
20203 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
20204 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
20205 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
20206 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
20207 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
20208 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
20209 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
20210 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
20211 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
20212 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
20213 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
20214 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
20215 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
20216 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
20217 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
20218 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
20219 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
20220 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
20221 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
20222 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
20223 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
20224 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
20225 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
20226 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
20227 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
20228 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
20229 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
20230 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
20231 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
20232 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
20233 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
20234 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
20235 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
20236 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
20237 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
20239 // Work around a chicken/egg problem in drawlist.cpp
20240 wxPyDrawList_SetAPIPtr();