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(long)
367 SWIG_AsLong(PyObject
* obj
)
369 if (PyNumber_Check(obj
))
370 return PyInt_AsLong(obj
);
372 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
373 obj
->ob_type
->tp_name
);
374 PyErr_SetObject(PyExc_TypeError
, errmsg
);
381 SWIGSTATICINLINE(unsigned long)
382 SWIG_AsUnsignedLong(PyObject
* obj
)
384 if (PyLong_Check(obj
)) {
385 return PyLong_AsUnsignedLong(obj
);
387 long i
= SWIG_AsLong(obj
);
388 if ( !PyErr_Occurred() && (i
< 0)) {
389 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
396 SWIGSTATICINLINE(unsigned char)
397 SWIG_AsUnsignedChar(PyObject
*obj
)
399 return swig_numeric_cast(unsigned char,
400 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
401 "unsigned char", UCHAR_MAX
));
405 SWIGSTATICINLINE(int)
406 SWIG_CheckUnsignedChar(PyObject
* obj
)
408 SWIG_AsUnsignedChar(obj
);
409 if (PyErr_Occurred()) {
418 SWIGSTATICINLINE(int)
419 SWIG_CheckUnsignedLong(PyObject
* obj
)
421 SWIG_AsUnsignedLong(obj
);
422 if (PyErr_Occurred()) {
430 PyObject
*wxColour_Get(wxColour
*self
){
431 PyObject
* rv
= PyTuple_New(3);
437 green
= self
->Green();
440 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
441 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
442 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
445 unsigned long wxColour_GetRGB(wxColour
*self
){
446 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
449 SWIGSTATICINLINE(PyObject
* )
450 SWIG_FromUnsignedLong(unsigned long value
)
452 return (value
> LONG_MAX
) ?
453 PyLong_FromUnsignedLong(value
)
454 : PyInt_FromLong(swig_numeric_cast(long,value
));
458 SWIGSTATICINLINE(long)
459 SWIG_CheckLongInRange(long value
, const char* type
,
460 long min_value
, long max_value
)
462 if (!PyErr_Occurred()) {
463 if (value
< min_value
) {
465 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
466 value
, type
, min_value
);
468 PyErr_SetObject(PyExc_OverflowError
, err
);
470 } else if (value
> max_value
) {
472 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
473 value
, type
, max_value
);
474 PyErr_SetObject(PyExc_OverflowError
, err
);
482 #if INT_MAX != LONG_MAX
483 SWIGSTATICINLINE(int)
484 SWIG_AsInt(PyObject
*obj
)
486 return swig_numeric_cast(int,
487 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
488 "int", INT_MIN
, INT_MAX
));
491 #define SWIG_AsInt SWIG_AsLong
495 SWIGSTATICINLINE(int)
496 SWIG_CheckInt(PyObject
* obj
)
499 if (PyErr_Occurred()) {
508 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
514 } else if (target
== Py_None
) {
518 if (!PyTuple_Check(target
)) {
520 target
= PyTuple_New(1);
521 PyTuple_SetItem(target
, 0, o2
);
524 PyTuple_SetItem(o3
, 0, o
);
527 target
= PySequence_Concat(o2
, o3
);
534 PyObject
*wxPen_GetDashes(wxPen
*self
){
536 int count
= self
->GetDashes(&dashes
);
537 bool blocked
= wxPyBeginBlockThreads();
538 PyObject
* retval
= PyList_New(0);
539 for (int x
=0; x
<count
; x
++)
540 PyList_Append(retval
, PyInt_FromLong(dashes
[x
]));
541 wxPyEndBlockThreads(blocked
);
544 bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : False
; }
545 bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : True
; }
553 void wxPyPen::SetDashes(int nb_dashes
, const wxDash
*dash
)
557 m_dash
= new wxDash
[nb_dashes
];
558 for (int i
=0; i
<nb_dashes
; i
++) {
561 wxPen::SetDashes(nb_dashes
, m_dash
);
565 #include <wx/image.h>
567 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
568 char** cArray
= NULL
;
571 if (!PyList_Check(listOfStrings
)) {
572 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
575 count
= PyList_Size(listOfStrings
);
576 cArray
= new char*[count
];
578 for(int x
=0; x
<count
; x
++) {
579 // TODO: Need some validation and error checking here
580 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
586 wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
587 char** cArray
= NULL
;
590 cArray
= ConvertListOfStrings(listOfStrings
);
593 bmp
= new wxBitmap(cArray
);
597 wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
){
600 PyString_AsStringAndSize(bits
, &buf
, &length
);
601 return new wxBitmap(buf
, width
, height
, depth
);
604 SWIGSTATICINLINE(int)
605 SWIG_CheckLong(PyObject
* obj
)
608 if (PyErr_Occurred()) {
616 void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
617 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
618 wxMask
*mask
= new wxMask(*self
, colour
);
621 bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : False
; }
622 bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : True
; }
623 wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
){
625 return new wxMask(bitmap
, *wxBLACK
);
627 return new wxMask(bitmap
, colour
);
630 #include <wx/iconbndl.h>
632 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
633 wxIcon
* icon
= new wxIcon();
634 icon
->CopyFromBitmap(bmp
);
637 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
638 char** cArray
= NULL
;
641 cArray
= ConvertListOfStrings(listOfStrings
);
644 icon
= new wxIcon(cArray
);
648 void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
649 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
651 return new wxIconLocation(*filename
, num
);
656 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
663 int wxIconLocation_GetIndex(wxIconLocation
*self
){
665 return self
->GetIndex();
670 wxCursor
*new_wxCursor(wxString
const *cursorName
,long type
,int hotSpotX
,int hotSpotY
){
672 wxCHECK_MSG(False
, NULL
,
673 wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
675 return new wxCursor(*cursorName
, type
, hotSpotX
, hotSpotY
);
678 void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
681 void wxRegionIterator_Next(wxRegionIterator
*self
){
684 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
685 return self
->operator bool();
688 #include <wx/fontutil.h>
689 #include <wx/fontmap.h>
690 #include <wx/fontenum.h>
692 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
693 return self
->ToString();
696 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
697 { wxPyRaiseNotImplemented(); return NULL
; }
699 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
700 { wxPyRaiseNotImplemented(); return False
; }
702 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
703 wxFontEncoding alt_enc
;
704 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
705 return PyInt_FromLong(alt_enc
);
711 wxFont
*new_wxFont(wxString
const &info
){
712 wxNativeFontInfo nfi
;
713 nfi
.FromString(info
);
714 return new wxFont(nfi
);
716 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
717 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
719 bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : False
; }
720 bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : True
; }
722 class wxPyFontEnumerator
: public wxFontEnumerator
{
724 wxPyFontEnumerator() {}
725 ~wxPyFontEnumerator() {}
727 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
728 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
733 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
734 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
737 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
738 wxArrayString
* arr
= self
->GetEncodings();
739 return wxArrayString2PyList_helper(*arr
);
741 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
742 wxArrayString
* arr
= self
->GetFacenames();
743 return wxArrayString2PyList_helper(*arr
);
748 #include "wx/wxPython/pydrawxxx.h"
750 wxColour
wxDC_GetPixelXY(wxDC
*self
,int x
,int y
){
752 self
->GetPixel(x
, y
, &col
);
755 wxColour
wxDC_GetPixel(wxDC
*self
,wxPoint
const &pt
){
757 self
->GetPixel(pt
, &col
);
761 SWIGSTATICINLINE(double)
762 SWIG_AsDouble(PyObject
*obj
)
764 if (PyNumber_Check(obj
))
765 return PyFloat_AsDouble(obj
);
767 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
768 obj
->ob_type
->tp_name
);
769 PyErr_SetObject(PyExc_TypeError
, errmsg
);
776 SWIGSTATICINLINE(int)
777 SWIG_CheckDouble(PyObject
* obj
)
780 if (PyErr_Occurred()) {
788 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
790 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
793 wxRect
wxDC_GetClippingRect(wxDC
*self
){
795 self
->GetClippingBox(rect
);
798 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
800 self
->GetPartialTextExtents(text
, widths
);
803 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
804 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
806 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
807 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
809 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
810 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
812 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
813 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
815 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
816 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
818 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
819 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
822 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
830 //-=-=-=-=-=-=-=-=-=-=-
833 // Use the standard wxBufferedDC
834 #include <wx/dcbuffer.h>
838 // Or, temporarily put a set of classes here similar to the old buffered DC
839 // classes until the real ones can be fixed to work "correctly" again.
841 class wxBufferedDC
: public wxMemoryDC
849 wxBufferedDC() : m_dc( 0 ) {}
851 wxBufferedDC( wxDC
*dc
, const wxBitmap
&buffer
)
852 : m_dc( dc
), m_buffer( buffer
)
854 SelectObject( m_buffer
);
857 wxBufferedDC( wxDC
*dc
, const wxSize
&area
)
858 : m_dc( dc
), m_buffer( area
.GetWidth(), area
.GetHeight() )
860 SelectObject( m_buffer
);
869 void Init( wxDC
*dc
, const wxBitmap
&buffer
) {
870 wxASSERT_MSG( m_dc
== 0 && m_buffer
== wxNullBitmap
,
871 _T("wxBufferedDC already initialised") );
874 SelectObject( m_buffer
);
877 void Init( wxDC
*dc
, const wxSize
&area
) {
878 wxASSERT_MSG( m_dc
== 0 && m_buffer
== wxNullBitmap
,
879 _T("wxBufferedDC already initialised") );
881 m_buffer
= wxBitmap( area
.GetWidth(), area
.GetHeight() );
882 SelectObject( m_buffer
);
886 wxASSERT_MSG( m_dc
!= 0, _T("No low level DC associated with buffer (anymore)") );
887 m_dc
->Blit( 0, 0, m_buffer
.GetWidth(), m_buffer
.GetHeight(), this, 0, 0 );
893 class wxBufferedPaintDC
: public wxBufferedDC
899 wxBufferedPaintDC( wxWindow
*window
, const wxBitmap
&buffer
= wxNullBitmap
)
900 : m_paintdc( window
)
902 window
->PrepareDC( m_paintdc
);
904 if( buffer
!= wxNullBitmap
)
905 Init( &m_paintdc
, buffer
);
907 Init( &m_paintdc
, window
->GetClientSize() );
910 ~wxBufferedPaintDC() {
916 //-=-=-=-=-=-=-=-=-=-=-
922 #include <wx/metafile.h>
926 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
927 self
->AddColour(name
, wxColour(red
, green
, blue
));
930 #include <wx/effects.h>
935 static PyObject
*_wrap_new_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
945 result
= (wxGDIObject
*)new wxGDIObject();
947 wxPyEndAllowThreads(__tstate
);
948 if (PyErr_Occurred()) SWIG_fail
;
950 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
957 static PyObject
*_wrap_delete_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
959 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
960 PyObject
* obj0
= 0 ;
962 (char *) "self", NULL
965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
972 wxPyEndAllowThreads(__tstate
);
973 if (PyErr_Occurred()) SWIG_fail
;
975 Py_INCREF(Py_None
); resultobj
= Py_None
;
982 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
984 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
986 PyObject
* obj0
= 0 ;
988 (char *) "self", NULL
991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
996 result
= (bool)(arg1
)->GetVisible();
998 wxPyEndAllowThreads(__tstate
);
999 if (PyErr_Occurred()) SWIG_fail
;
1002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1010 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1011 PyObject
*resultobj
;
1012 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1014 PyObject
* obj0
= 0 ;
1015 PyObject
* obj1
= 0 ;
1017 (char *) "self",(char *) "visible", NULL
1020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
1021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1023 arg2
= (bool) SWIG_AsBool(obj1
);
1024 if (PyErr_Occurred()) SWIG_fail
;
1026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1027 (arg1
)->SetVisible(arg2
);
1029 wxPyEndAllowThreads(__tstate
);
1030 if (PyErr_Occurred()) SWIG_fail
;
1032 Py_INCREF(Py_None
); resultobj
= Py_None
;
1039 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1040 PyObject
*resultobj
;
1041 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1043 PyObject
* obj0
= 0 ;
1045 (char *) "self", NULL
1048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
1049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1053 result
= (bool)(arg1
)->IsNull();
1055 wxPyEndAllowThreads(__tstate
);
1056 if (PyErr_Occurred()) SWIG_fail
;
1059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1067 static PyObject
* GDIObject_swigregister(PyObject
*self
, PyObject
*args
) {
1069 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1070 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
1072 return Py_BuildValue((char *)"");
1074 static PyObject
*_wrap_new_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1075 PyObject
*resultobj
;
1076 unsigned char arg1
= (unsigned char) 0 ;
1077 unsigned char arg2
= (unsigned char) 0 ;
1078 unsigned char arg3
= (unsigned char) 0 ;
1080 PyObject
* obj0
= 0 ;
1081 PyObject
* obj1
= 0 ;
1082 PyObject
* obj2
= 0 ;
1084 (char *) "red",(char *) "green",(char *) "blue", NULL
1087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1089 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
1090 if (PyErr_Occurred()) SWIG_fail
;
1093 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
1094 if (PyErr_Occurred()) SWIG_fail
;
1097 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
1098 if (PyErr_Occurred()) SWIG_fail
;
1101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1102 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
1104 wxPyEndAllowThreads(__tstate
);
1105 if (PyErr_Occurred()) SWIG_fail
;
1107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1114 static PyObject
*_wrap_new_NamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1115 PyObject
*resultobj
;
1116 wxString
*arg1
= 0 ;
1118 bool temp1
= False
;
1119 PyObject
* obj0
= 0 ;
1121 (char *) "colorName", NULL
1124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
1126 arg1
= wxString_in_helper(obj0
);
1127 if (arg1
== NULL
) SWIG_fail
;
1131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1132 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1134 wxPyEndAllowThreads(__tstate
);
1135 if (PyErr_Occurred()) SWIG_fail
;
1137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1152 static PyObject
*_wrap_new_ColourRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1153 PyObject
*resultobj
;
1154 unsigned long arg1
;
1156 PyObject
* obj0
= 0 ;
1158 (char *) "colRGB", NULL
1161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1162 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
1163 if (PyErr_Occurred()) SWIG_fail
;
1165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1166 result
= (wxColour
*)new wxColour(arg1
);
1168 wxPyEndAllowThreads(__tstate
);
1169 if (PyErr_Occurred()) SWIG_fail
;
1171 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1178 static PyObject
*_wrap_delete_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1179 PyObject
*resultobj
;
1180 wxColour
*arg1
= (wxColour
*) 0 ;
1181 PyObject
* obj0
= 0 ;
1183 (char *) "self", NULL
1186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
1187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1193 wxPyEndAllowThreads(__tstate
);
1194 if (PyErr_Occurred()) SWIG_fail
;
1196 Py_INCREF(Py_None
); resultobj
= Py_None
;
1203 static PyObject
*_wrap_Colour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1204 PyObject
*resultobj
;
1205 wxColour
*arg1
= (wxColour
*) 0 ;
1206 unsigned char result
;
1207 PyObject
* obj0
= 0 ;
1209 (char *) "self", NULL
1212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1217 result
= (unsigned char)(arg1
)->Red();
1219 wxPyEndAllowThreads(__tstate
);
1220 if (PyErr_Occurred()) SWIG_fail
;
1222 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1229 static PyObject
*_wrap_Colour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1230 PyObject
*resultobj
;
1231 wxColour
*arg1
= (wxColour
*) 0 ;
1232 unsigned char result
;
1233 PyObject
* obj0
= 0 ;
1235 (char *) "self", NULL
1238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1243 result
= (unsigned char)(arg1
)->Green();
1245 wxPyEndAllowThreads(__tstate
);
1246 if (PyErr_Occurred()) SWIG_fail
;
1248 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1255 static PyObject
*_wrap_Colour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1256 PyObject
*resultobj
;
1257 wxColour
*arg1
= (wxColour
*) 0 ;
1258 unsigned char result
;
1259 PyObject
* obj0
= 0 ;
1261 (char *) "self", NULL
1264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1269 result
= (unsigned char)(arg1
)->Blue();
1271 wxPyEndAllowThreads(__tstate
);
1272 if (PyErr_Occurred()) SWIG_fail
;
1274 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1281 static PyObject
*_wrap_Colour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1282 PyObject
*resultobj
;
1283 wxColour
*arg1
= (wxColour
*) 0 ;
1285 PyObject
* obj0
= 0 ;
1287 (char *) "self", NULL
1290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1295 result
= (bool)(arg1
)->Ok();
1297 wxPyEndAllowThreads(__tstate
);
1298 if (PyErr_Occurred()) SWIG_fail
;
1301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1309 static PyObject
*_wrap_Colour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1310 PyObject
*resultobj
;
1311 wxColour
*arg1
= (wxColour
*) 0 ;
1312 unsigned char arg2
;
1313 unsigned char arg3
;
1314 unsigned char arg4
;
1315 PyObject
* obj0
= 0 ;
1316 PyObject
* obj1
= 0 ;
1317 PyObject
* obj2
= 0 ;
1318 PyObject
* obj3
= 0 ;
1320 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1326 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
1327 if (PyErr_Occurred()) SWIG_fail
;
1328 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
1329 if (PyErr_Occurred()) SWIG_fail
;
1330 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
1331 if (PyErr_Occurred()) SWIG_fail
;
1333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1334 (arg1
)->Set(arg2
,arg3
,arg4
);
1336 wxPyEndAllowThreads(__tstate
);
1337 if (PyErr_Occurred()) SWIG_fail
;
1339 Py_INCREF(Py_None
); resultobj
= Py_None
;
1346 static PyObject
*_wrap_Colour_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1347 PyObject
*resultobj
;
1348 wxColour
*arg1
= (wxColour
*) 0 ;
1349 unsigned long arg2
;
1350 PyObject
* obj0
= 0 ;
1351 PyObject
* obj1
= 0 ;
1353 (char *) "self",(char *) "colRGB", NULL
1356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1359 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
1360 if (PyErr_Occurred()) SWIG_fail
;
1362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1365 wxPyEndAllowThreads(__tstate
);
1366 if (PyErr_Occurred()) SWIG_fail
;
1368 Py_INCREF(Py_None
); resultobj
= Py_None
;
1375 static PyObject
*_wrap_Colour_SetFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1376 PyObject
*resultobj
;
1377 wxColour
*arg1
= (wxColour
*) 0 ;
1378 wxString
*arg2
= 0 ;
1379 bool temp2
= False
;
1380 PyObject
* obj0
= 0 ;
1381 PyObject
* obj1
= 0 ;
1383 (char *) "self",(char *) "colourName", NULL
1386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1390 arg2
= wxString_in_helper(obj1
);
1391 if (arg2
== NULL
) SWIG_fail
;
1395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1396 (arg1
)->InitFromName((wxString
const &)*arg2
);
1398 wxPyEndAllowThreads(__tstate
);
1399 if (PyErr_Occurred()) SWIG_fail
;
1401 Py_INCREF(Py_None
); resultobj
= Py_None
;
1416 static PyObject
*_wrap_Colour_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1417 PyObject
*resultobj
;
1418 wxColour
*arg1
= (wxColour
*) 0 ;
1420 PyObject
* obj0
= 0 ;
1422 (char *) "self", NULL
1425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1430 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1432 wxPyEndAllowThreads(__tstate
);
1433 if (PyErr_Occurred()) SWIG_fail
;
1435 resultobj
= SWIG_FromLong((long)result
);
1442 static PyObject
*_wrap_Colour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1443 PyObject
*resultobj
;
1444 wxColour
*arg1
= (wxColour
*) 0 ;
1445 wxColour
*arg2
= 0 ;
1448 PyObject
* obj0
= 0 ;
1449 PyObject
* obj1
= 0 ;
1451 (char *) "self",(char *) "colour", NULL
1454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1459 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1463 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1465 wxPyEndAllowThreads(__tstate
);
1466 if (PyErr_Occurred()) SWIG_fail
;
1469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1477 static PyObject
*_wrap_Colour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1478 PyObject
*resultobj
;
1479 wxColour
*arg1
= (wxColour
*) 0 ;
1480 wxColour
*arg2
= 0 ;
1483 PyObject
* obj0
= 0 ;
1484 PyObject
* obj1
= 0 ;
1486 (char *) "self",(char *) "colour", NULL
1489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1494 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1498 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1500 wxPyEndAllowThreads(__tstate
);
1501 if (PyErr_Occurred()) SWIG_fail
;
1504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1512 static PyObject
*_wrap_Colour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1513 PyObject
*resultobj
;
1514 wxColour
*arg1
= (wxColour
*) 0 ;
1516 PyObject
* obj0
= 0 ;
1518 (char *) "self", NULL
1521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1526 result
= (PyObject
*)wxColour_Get(arg1
);
1528 wxPyEndAllowThreads(__tstate
);
1529 if (PyErr_Occurred()) SWIG_fail
;
1538 static PyObject
*_wrap_Colour_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1539 PyObject
*resultobj
;
1540 wxColour
*arg1
= (wxColour
*) 0 ;
1541 unsigned long result
;
1542 PyObject
* obj0
= 0 ;
1544 (char *) "self", NULL
1547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
1548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1552 result
= (unsigned long)wxColour_GetRGB(arg1
);
1554 wxPyEndAllowThreads(__tstate
);
1555 if (PyErr_Occurred()) SWIG_fail
;
1557 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
1564 static PyObject
* Colour_swigregister(PyObject
*self
, PyObject
*args
) {
1566 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1567 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1569 return Py_BuildValue((char *)"");
1571 static PyObject
*_wrap_new_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1572 PyObject
*resultobj
;
1574 unsigned char *arg2
= (unsigned char *) 0 ;
1575 unsigned char *arg3
= (unsigned char *) 0 ;
1576 unsigned char *arg4
= (unsigned char *) 0 ;
1578 PyObject
* obj0
= 0 ;
1579 PyObject
* obj1
= 0 ;
1580 PyObject
* obj2
= 0 ;
1581 PyObject
* obj3
= 0 ;
1583 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1587 arg1
= (int) SWIG_AsInt(obj0
);
1588 if (PyErr_Occurred()) SWIG_fail
;
1589 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
,
1590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1591 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
1592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1593 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
1594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1597 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1599 wxPyEndAllowThreads(__tstate
);
1600 if (PyErr_Occurred()) SWIG_fail
;
1602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
1609 static PyObject
*_wrap_delete_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1610 PyObject
*resultobj
;
1611 wxPalette
*arg1
= (wxPalette
*) 0 ;
1612 PyObject
* obj0
= 0 ;
1614 (char *) "self", NULL
1617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1624 wxPyEndAllowThreads(__tstate
);
1625 if (PyErr_Occurred()) SWIG_fail
;
1627 Py_INCREF(Py_None
); resultobj
= Py_None
;
1634 static PyObject
*_wrap_Palette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1635 PyObject
*resultobj
;
1636 wxPalette
*arg1
= (wxPalette
*) 0 ;
1641 PyObject
* obj0
= 0 ;
1642 PyObject
* obj1
= 0 ;
1643 PyObject
* obj2
= 0 ;
1644 PyObject
* obj3
= 0 ;
1646 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1652 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1653 if (PyErr_Occurred()) SWIG_fail
;
1654 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1655 if (PyErr_Occurred()) SWIG_fail
;
1656 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1657 if (PyErr_Occurred()) SWIG_fail
;
1659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1660 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1662 wxPyEndAllowThreads(__tstate
);
1663 if (PyErr_Occurred()) SWIG_fail
;
1665 resultobj
= SWIG_FromInt((int)result
);
1672 static PyObject
*_wrap_Palette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1673 PyObject
*resultobj
;
1674 wxPalette
*arg1
= (wxPalette
*) 0 ;
1676 byte
*arg3
= (byte
*) 0 ;
1677 byte
*arg4
= (byte
*) 0 ;
1678 byte
*arg5
= (byte
*) 0 ;
1683 PyObject
* obj0
= 0 ;
1684 PyObject
* obj1
= 0 ;
1686 (char *) "self",(char *) "pixel", NULL
1692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1695 arg2
= (int) SWIG_AsInt(obj1
);
1696 if (PyErr_Occurred()) SWIG_fail
;
1698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1699 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1701 wxPyEndAllowThreads(__tstate
);
1702 if (PyErr_Occurred()) SWIG_fail
;
1705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1708 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1709 resultobj
= t_output_helper(resultobj
,o
);
1712 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1713 resultobj
= t_output_helper(resultobj
,o
);
1716 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1717 resultobj
= t_output_helper(resultobj
,o
);
1725 static PyObject
*_wrap_Palette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1726 PyObject
*resultobj
;
1727 wxPalette
*arg1
= (wxPalette
*) 0 ;
1729 PyObject
* obj0
= 0 ;
1731 (char *) "self", NULL
1734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1739 result
= (bool)(arg1
)->Ok();
1741 wxPyEndAllowThreads(__tstate
);
1742 if (PyErr_Occurred()) SWIG_fail
;
1745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1753 static PyObject
* Palette_swigregister(PyObject
*self
, PyObject
*args
) {
1755 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1756 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1758 return Py_BuildValue((char *)"");
1760 static PyObject
*_wrap_new_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1761 PyObject
*resultobj
;
1762 wxColour
*arg1
= 0 ;
1763 int arg2
= (int) 1 ;
1764 int arg3
= (int) wxSOLID
;
1767 PyObject
* obj0
= 0 ;
1768 PyObject
* obj1
= 0 ;
1769 PyObject
* obj2
= 0 ;
1771 (char *) "colour",(char *) "width",(char *) "style", NULL
1774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1777 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1780 arg2
= (int) SWIG_AsInt(obj1
);
1781 if (PyErr_Occurred()) SWIG_fail
;
1784 arg3
= (int) SWIG_AsInt(obj2
);
1785 if (PyErr_Occurred()) SWIG_fail
;
1788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1789 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1791 wxPyEndAllowThreads(__tstate
);
1792 if (PyErr_Occurred()) SWIG_fail
;
1794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1801 static PyObject
*_wrap_delete_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1802 PyObject
*resultobj
;
1803 wxPen
*arg1
= (wxPen
*) 0 ;
1804 PyObject
* obj0
= 0 ;
1806 (char *) "self", NULL
1809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1816 wxPyEndAllowThreads(__tstate
);
1817 if (PyErr_Occurred()) SWIG_fail
;
1819 Py_INCREF(Py_None
); resultobj
= Py_None
;
1826 static PyObject
*_wrap_Pen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1827 PyObject
*resultobj
;
1828 wxPen
*arg1
= (wxPen
*) 0 ;
1830 PyObject
* obj0
= 0 ;
1832 (char *) "self", NULL
1835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1840 result
= (int)(arg1
)->GetCap();
1842 wxPyEndAllowThreads(__tstate
);
1843 if (PyErr_Occurred()) SWIG_fail
;
1845 resultobj
= SWIG_FromInt((int)result
);
1852 static PyObject
*_wrap_Pen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1853 PyObject
*resultobj
;
1854 wxPen
*arg1
= (wxPen
*) 0 ;
1856 PyObject
* obj0
= 0 ;
1858 (char *) "self", NULL
1861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1866 result
= (arg1
)->GetColour();
1868 wxPyEndAllowThreads(__tstate
);
1869 if (PyErr_Occurred()) SWIG_fail
;
1872 wxColour
* resultptr
;
1873 resultptr
= new wxColour((wxColour
&) result
);
1874 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1882 static PyObject
*_wrap_Pen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1883 PyObject
*resultobj
;
1884 wxPen
*arg1
= (wxPen
*) 0 ;
1886 PyObject
* obj0
= 0 ;
1888 (char *) "self", NULL
1891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1896 result
= (int)(arg1
)->GetJoin();
1898 wxPyEndAllowThreads(__tstate
);
1899 if (PyErr_Occurred()) SWIG_fail
;
1901 resultobj
= SWIG_FromInt((int)result
);
1908 static PyObject
*_wrap_Pen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1909 PyObject
*resultobj
;
1910 wxPen
*arg1
= (wxPen
*) 0 ;
1912 PyObject
* obj0
= 0 ;
1914 (char *) "self", NULL
1917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1922 result
= (int)(arg1
)->GetStyle();
1924 wxPyEndAllowThreads(__tstate
);
1925 if (PyErr_Occurred()) SWIG_fail
;
1927 resultobj
= SWIG_FromInt((int)result
);
1934 static PyObject
*_wrap_Pen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1935 PyObject
*resultobj
;
1936 wxPen
*arg1
= (wxPen
*) 0 ;
1938 PyObject
* obj0
= 0 ;
1940 (char *) "self", NULL
1943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
1944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1948 result
= (int)(arg1
)->GetWidth();
1950 wxPyEndAllowThreads(__tstate
);
1951 if (PyErr_Occurred()) SWIG_fail
;
1953 resultobj
= SWIG_FromInt((int)result
);
1960 static PyObject
*_wrap_Pen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1961 PyObject
*resultobj
;
1962 wxPen
*arg1
= (wxPen
*) 0 ;
1964 PyObject
* obj0
= 0 ;
1966 (char *) "self", NULL
1969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
1970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1974 result
= (bool)(arg1
)->Ok();
1976 wxPyEndAllowThreads(__tstate
);
1977 if (PyErr_Occurred()) SWIG_fail
;
1980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1988 static PyObject
*_wrap_Pen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1989 PyObject
*resultobj
;
1990 wxPen
*arg1
= (wxPen
*) 0 ;
1992 PyObject
* obj0
= 0 ;
1993 PyObject
* obj1
= 0 ;
1995 (char *) "self",(char *) "cap_style", NULL
1998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
1999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2001 arg2
= (int) SWIG_AsInt(obj1
);
2002 if (PyErr_Occurred()) SWIG_fail
;
2004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2005 (arg1
)->SetCap(arg2
);
2007 wxPyEndAllowThreads(__tstate
);
2008 if (PyErr_Occurred()) SWIG_fail
;
2010 Py_INCREF(Py_None
); resultobj
= Py_None
;
2017 static PyObject
*_wrap_Pen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2018 PyObject
*resultobj
;
2019 wxPen
*arg1
= (wxPen
*) 0 ;
2020 wxColour
*arg2
= 0 ;
2022 PyObject
* obj0
= 0 ;
2023 PyObject
* obj1
= 0 ;
2025 (char *) "self",(char *) "colour", NULL
2028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2033 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2037 (arg1
)->SetColour(*arg2
);
2039 wxPyEndAllowThreads(__tstate
);
2040 if (PyErr_Occurred()) SWIG_fail
;
2042 Py_INCREF(Py_None
); resultobj
= Py_None
;
2049 static PyObject
*_wrap_Pen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2050 PyObject
*resultobj
;
2051 wxPen
*arg1
= (wxPen
*) 0 ;
2053 PyObject
* obj0
= 0 ;
2054 PyObject
* obj1
= 0 ;
2056 (char *) "self",(char *) "join_style", NULL
2059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
2060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2062 arg2
= (int) SWIG_AsInt(obj1
);
2063 if (PyErr_Occurred()) SWIG_fail
;
2065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2066 (arg1
)->SetJoin(arg2
);
2068 wxPyEndAllowThreads(__tstate
);
2069 if (PyErr_Occurred()) SWIG_fail
;
2071 Py_INCREF(Py_None
); resultobj
= Py_None
;
2078 static PyObject
*_wrap_Pen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2079 PyObject
*resultobj
;
2080 wxPen
*arg1
= (wxPen
*) 0 ;
2082 PyObject
* obj0
= 0 ;
2083 PyObject
* obj1
= 0 ;
2085 (char *) "self",(char *) "style", NULL
2088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2091 arg2
= (int) SWIG_AsInt(obj1
);
2092 if (PyErr_Occurred()) SWIG_fail
;
2094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2095 (arg1
)->SetStyle(arg2
);
2097 wxPyEndAllowThreads(__tstate
);
2098 if (PyErr_Occurred()) SWIG_fail
;
2100 Py_INCREF(Py_None
); resultobj
= Py_None
;
2107 static PyObject
*_wrap_Pen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2108 PyObject
*resultobj
;
2109 wxPen
*arg1
= (wxPen
*) 0 ;
2111 PyObject
* obj0
= 0 ;
2112 PyObject
* obj1
= 0 ;
2114 (char *) "self",(char *) "width", NULL
2117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2120 arg2
= (int) SWIG_AsInt(obj1
);
2121 if (PyErr_Occurred()) SWIG_fail
;
2123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2124 (arg1
)->SetWidth(arg2
);
2126 wxPyEndAllowThreads(__tstate
);
2127 if (PyErr_Occurred()) SWIG_fail
;
2129 Py_INCREF(Py_None
); resultobj
= Py_None
;
2136 static PyObject
*_wrap_Pen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2137 PyObject
*resultobj
;
2138 wxPen
*arg1
= (wxPen
*) 0 ;
2140 wxDash
*arg3
= (wxDash
*) 0 ;
2141 PyObject
* obj0
= 0 ;
2142 PyObject
* obj1
= 0 ;
2144 (char *) "self",(char *) "dashes", NULL
2147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2151 arg2
= PyList_Size(obj1
);
2152 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2153 if (arg3
== NULL
) SWIG_fail
;
2156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2157 (arg1
)->SetDashes(arg2
,arg3
);
2159 wxPyEndAllowThreads(__tstate
);
2160 if (PyErr_Occurred()) SWIG_fail
;
2162 Py_INCREF(Py_None
); resultobj
= Py_None
;
2164 if (arg3
) delete [] arg3
;
2169 if (arg3
) delete [] arg3
;
2175 static PyObject
*_wrap_Pen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2176 PyObject
*resultobj
;
2177 wxPen
*arg1
= (wxPen
*) 0 ;
2179 PyObject
* obj0
= 0 ;
2181 (char *) "self", NULL
2184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2189 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2191 wxPyEndAllowThreads(__tstate
);
2192 if (PyErr_Occurred()) SWIG_fail
;
2201 static PyObject
*_wrap_Pen___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2202 PyObject
*resultobj
;
2203 wxPen
*arg1
= (wxPen
*) 0 ;
2204 wxPen
*arg2
= (wxPen
*) 0 ;
2206 PyObject
* obj0
= 0 ;
2207 PyObject
* obj1
= 0 ;
2209 (char *) "self",(char *) "other", NULL
2212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2215 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2219 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2221 wxPyEndAllowThreads(__tstate
);
2222 if (PyErr_Occurred()) SWIG_fail
;
2225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2233 static PyObject
*_wrap_Pen___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2234 PyObject
*resultobj
;
2235 wxPen
*arg1
= (wxPen
*) 0 ;
2236 wxPen
*arg2
= (wxPen
*) 0 ;
2238 PyObject
* obj0
= 0 ;
2239 PyObject
* obj1
= 0 ;
2241 (char *) "self",(char *) "other", NULL
2244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2247 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2251 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2253 wxPyEndAllowThreads(__tstate
);
2254 if (PyErr_Occurred()) SWIG_fail
;
2257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2265 static PyObject
*_wrap_Pen_GetDashCount(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_GetDashCount",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
= (int)((wxPen
const *)arg1
)->GetDashCount();
2281 wxPyEndAllowThreads(__tstate
);
2282 if (PyErr_Occurred()) SWIG_fail
;
2284 resultobj
= SWIG_FromInt((int)result
);
2291 static PyObject
*_wrap_Pen_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2292 PyObject
*resultobj
;
2293 wxPen
*arg1
= (wxPen
*) 0 ;
2295 PyObject
* obj0
= 0 ;
2297 (char *) "self", NULL
2300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStipple",kwnames
,&obj0
)) goto fail
;
2301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2305 result
= (wxBitmap
*)(arg1
)->GetStipple();
2307 wxPyEndAllowThreads(__tstate
);
2308 if (PyErr_Occurred()) SWIG_fail
;
2310 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2317 static PyObject
*_wrap_Pen_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2318 PyObject
*resultobj
;
2319 wxPen
*arg1
= (wxPen
*) 0 ;
2320 wxBitmap
*arg2
= 0 ;
2321 PyObject
* obj0
= 0 ;
2322 PyObject
* obj1
= 0 ;
2324 (char *) "self",(char *) "stipple", NULL
2327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2330 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2331 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2334 PyErr_SetString(PyExc_TypeError
,"null reference");
2338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2339 (arg1
)->SetStipple(*arg2
);
2341 wxPyEndAllowThreads(__tstate
);
2342 if (PyErr_Occurred()) SWIG_fail
;
2344 Py_INCREF(Py_None
); resultobj
= Py_None
;
2351 static PyObject
* Pen_swigregister(PyObject
*self
, PyObject
*args
) {
2353 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2354 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2356 return Py_BuildValue((char *)"");
2358 static PyObject
*_wrap_new_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2359 PyObject
*resultobj
;
2360 wxColour
*arg1
= 0 ;
2361 int arg2
= (int) 1 ;
2362 int arg3
= (int) wxSOLID
;
2365 PyObject
* obj0
= 0 ;
2366 PyObject
* obj1
= 0 ;
2367 PyObject
* obj2
= 0 ;
2369 (char *) "colour",(char *) "width",(char *) "style", NULL
2372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_PyPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2375 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2378 arg2
= (int) SWIG_AsInt(obj1
);
2379 if (PyErr_Occurred()) SWIG_fail
;
2382 arg3
= (int) SWIG_AsInt(obj2
);
2383 if (PyErr_Occurred()) SWIG_fail
;
2386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2387 result
= (wxPyPen
*)new wxPyPen(*arg1
,arg2
,arg3
);
2389 wxPyEndAllowThreads(__tstate
);
2390 if (PyErr_Occurred()) SWIG_fail
;
2392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPen
, 1);
2399 static PyObject
*_wrap_delete_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2400 PyObject
*resultobj
;
2401 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
2402 PyObject
* obj0
= 0 ;
2404 (char *) "self", NULL
2407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyPen",kwnames
,&obj0
)) goto fail
;
2408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPen
,
2409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2414 wxPyEndAllowThreads(__tstate
);
2415 if (PyErr_Occurred()) SWIG_fail
;
2417 Py_INCREF(Py_None
); resultobj
= Py_None
;
2424 static PyObject
*_wrap_PyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2425 PyObject
*resultobj
;
2426 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
2428 wxDash
*arg3
= (wxDash
*) 0 ;
2429 PyObject
* obj0
= 0 ;
2430 PyObject
* obj1
= 0 ;
2432 (char *) "self",(char *) "dashes", NULL
2435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPen
,
2437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2439 arg2
= PyList_Size(obj1
);
2440 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2441 if (arg3
== NULL
) SWIG_fail
;
2444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2445 (arg1
)->SetDashes(arg2
,arg3
);
2447 wxPyEndAllowThreads(__tstate
);
2448 if (PyErr_Occurred()) SWIG_fail
;
2450 Py_INCREF(Py_None
); resultobj
= Py_None
;
2452 if (arg3
) delete [] arg3
;
2457 if (arg3
) delete [] arg3
;
2463 static PyObject
* PyPen_swigregister(PyObject
*self
, PyObject
*args
) {
2465 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2466 SWIG_TypeClientData(SWIGTYPE_p_wxPyPen
, obj
);
2468 return Py_BuildValue((char *)"");
2470 static PyObject
*_wrap_new_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2471 PyObject
*resultobj
;
2472 wxColour
*arg1
= 0 ;
2473 int arg2
= (int) wxSOLID
;
2476 PyObject
* obj0
= 0 ;
2477 PyObject
* obj1
= 0 ;
2479 (char *) "colour",(char *) "style", NULL
2482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2485 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2488 arg2
= (int) SWIG_AsInt(obj1
);
2489 if (PyErr_Occurred()) SWIG_fail
;
2492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2493 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2495 wxPyEndAllowThreads(__tstate
);
2496 if (PyErr_Occurred()) SWIG_fail
;
2498 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2505 static PyObject
*_wrap_delete_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2506 PyObject
*resultobj
;
2507 wxBrush
*arg1
= (wxBrush
*) 0 ;
2508 PyObject
* obj0
= 0 ;
2510 (char *) "self", NULL
2513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2520 wxPyEndAllowThreads(__tstate
);
2521 if (PyErr_Occurred()) SWIG_fail
;
2523 Py_INCREF(Py_None
); resultobj
= Py_None
;
2530 static PyObject
*_wrap_Brush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2531 PyObject
*resultobj
;
2532 wxBrush
*arg1
= (wxBrush
*) 0 ;
2533 wxColour
*arg2
= 0 ;
2535 PyObject
* obj0
= 0 ;
2536 PyObject
* obj1
= 0 ;
2538 (char *) "self",(char *) "col", NULL
2541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2546 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2550 (arg1
)->SetColour((wxColour
const &)*arg2
);
2552 wxPyEndAllowThreads(__tstate
);
2553 if (PyErr_Occurred()) SWIG_fail
;
2555 Py_INCREF(Py_None
); resultobj
= Py_None
;
2562 static PyObject
*_wrap_Brush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2563 PyObject
*resultobj
;
2564 wxBrush
*arg1
= (wxBrush
*) 0 ;
2566 PyObject
* obj0
= 0 ;
2567 PyObject
* obj1
= 0 ;
2569 (char *) "self",(char *) "style", NULL
2572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2575 arg2
= (int) SWIG_AsInt(obj1
);
2576 if (PyErr_Occurred()) SWIG_fail
;
2578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2579 (arg1
)->SetStyle(arg2
);
2581 wxPyEndAllowThreads(__tstate
);
2582 if (PyErr_Occurred()) SWIG_fail
;
2584 Py_INCREF(Py_None
); resultobj
= Py_None
;
2591 static PyObject
*_wrap_Brush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2592 PyObject
*resultobj
;
2593 wxBrush
*arg1
= (wxBrush
*) 0 ;
2594 wxBitmap
*arg2
= 0 ;
2595 PyObject
* obj0
= 0 ;
2596 PyObject
* obj1
= 0 ;
2598 (char *) "self",(char *) "stipple", NULL
2601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2604 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2605 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2608 PyErr_SetString(PyExc_TypeError
,"null reference");
2612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2613 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2615 wxPyEndAllowThreads(__tstate
);
2616 if (PyErr_Occurred()) SWIG_fail
;
2618 Py_INCREF(Py_None
); resultobj
= Py_None
;
2625 static PyObject
*_wrap_Brush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2626 PyObject
*resultobj
;
2627 wxBrush
*arg1
= (wxBrush
*) 0 ;
2629 PyObject
* obj0
= 0 ;
2631 (char *) "self", NULL
2634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2639 result
= ((wxBrush
const *)arg1
)->GetColour();
2641 wxPyEndAllowThreads(__tstate
);
2642 if (PyErr_Occurred()) SWIG_fail
;
2645 wxColour
* resultptr
;
2646 resultptr
= new wxColour((wxColour
&) result
);
2647 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2655 static PyObject
*_wrap_Brush_GetStyle(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_GetStyle",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
= (int)((wxBrush
const *)arg1
)->GetStyle();
2671 wxPyEndAllowThreads(__tstate
);
2672 if (PyErr_Occurred()) SWIG_fail
;
2674 resultobj
= SWIG_FromInt((int)result
);
2681 static PyObject
*_wrap_Brush_GetStipple(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_GetStipple",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
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2697 wxPyEndAllowThreads(__tstate
);
2698 if (PyErr_Occurred()) SWIG_fail
;
2700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2707 static PyObject
*_wrap_Brush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2708 PyObject
*resultobj
;
2709 wxBrush
*arg1
= (wxBrush
*) 0 ;
2711 PyObject
* obj0
= 0 ;
2713 (char *) "self", NULL
2716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2721 result
= (bool)(arg1
)->Ok();
2723 wxPyEndAllowThreads(__tstate
);
2724 if (PyErr_Occurred()) SWIG_fail
;
2727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2735 static PyObject
* Brush_swigregister(PyObject
*self
, PyObject
*args
) {
2737 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2738 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2740 return Py_BuildValue((char *)"");
2742 static PyObject
*_wrap_new_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2743 PyObject
*resultobj
;
2744 wxString
*arg1
= 0 ;
2745 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2747 bool temp1
= False
;
2748 PyObject
* obj0
= 0 ;
2749 PyObject
* obj1
= 0 ;
2751 (char *) "name",(char *) "type", NULL
2754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2756 arg1
= wxString_in_helper(obj0
);
2757 if (arg1
== NULL
) SWIG_fail
;
2761 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
2762 if (PyErr_Occurred()) SWIG_fail
;
2765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2766 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2768 wxPyEndAllowThreads(__tstate
);
2769 if (PyErr_Occurred()) SWIG_fail
;
2771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2786 static PyObject
*_wrap_delete_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2787 PyObject
*resultobj
;
2788 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2789 PyObject
* obj0
= 0 ;
2791 (char *) "self", NULL
2794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2801 wxPyEndAllowThreads(__tstate
);
2802 if (PyErr_Occurred()) SWIG_fail
;
2804 Py_INCREF(Py_None
); resultobj
= Py_None
;
2811 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2812 PyObject
*resultobj
;
2815 int arg3
= (int) -1 ;
2817 PyObject
* obj0
= 0 ;
2818 PyObject
* obj1
= 0 ;
2819 PyObject
* obj2
= 0 ;
2821 (char *) "width",(char *) "height",(char *) "depth", NULL
2824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2825 arg1
= (int) SWIG_AsInt(obj0
);
2826 if (PyErr_Occurred()) SWIG_fail
;
2827 arg2
= (int) SWIG_AsInt(obj1
);
2828 if (PyErr_Occurred()) SWIG_fail
;
2830 arg3
= (int) SWIG_AsInt(obj2
);
2831 if (PyErr_Occurred()) SWIG_fail
;
2834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2835 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2837 wxPyEndAllowThreads(__tstate
);
2838 if (PyErr_Occurred()) SWIG_fail
;
2840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2847 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2848 PyObject
*resultobj
;
2851 PyObject
* obj0
= 0 ;
2853 (char *) "icon", NULL
2856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
2858 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2861 PyErr_SetString(PyExc_TypeError
,"null reference");
2865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2866 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2868 wxPyEndAllowThreads(__tstate
);
2869 if (PyErr_Occurred()) SWIG_fail
;
2871 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2878 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2879 PyObject
*resultobj
;
2881 int arg2
= (int) -1 ;
2883 PyObject
* obj0
= 0 ;
2884 PyObject
* obj1
= 0 ;
2886 (char *) "image",(char *) "depth", NULL
2889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2891 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2894 PyErr_SetString(PyExc_TypeError
,"null reference");
2898 arg2
= (int) SWIG_AsInt(obj1
);
2899 if (PyErr_Occurred()) SWIG_fail
;
2902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2903 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2905 wxPyEndAllowThreads(__tstate
);
2906 if (PyErr_Occurred()) SWIG_fail
;
2908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2915 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2916 PyObject
*resultobj
;
2917 PyObject
*arg1
= (PyObject
*) 0 ;
2919 PyObject
* obj0
= 0 ;
2921 (char *) "listOfStrings", NULL
2924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2928 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2930 wxPyEndAllowThreads(__tstate
);
2931 if (PyErr_Occurred()) SWIG_fail
;
2933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2940 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2941 PyObject
*resultobj
;
2942 PyObject
*arg1
= (PyObject
*) 0 ;
2945 int arg4
= (int) 1 ;
2947 PyObject
* obj0
= 0 ;
2948 PyObject
* obj1
= 0 ;
2949 PyObject
* obj2
= 0 ;
2950 PyObject
* obj3
= 0 ;
2952 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2957 arg2
= (int) SWIG_AsInt(obj1
);
2958 if (PyErr_Occurred()) SWIG_fail
;
2959 arg3
= (int) SWIG_AsInt(obj2
);
2960 if (PyErr_Occurred()) SWIG_fail
;
2962 arg4
= (int) SWIG_AsInt(obj3
);
2963 if (PyErr_Occurred()) SWIG_fail
;
2966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2967 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2969 wxPyEndAllowThreads(__tstate
);
2970 if (PyErr_Occurred()) SWIG_fail
;
2972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2979 static PyObject
*_wrap_Bitmap_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2980 PyObject
*resultobj
;
2981 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2982 wxPalette
*arg2
= 0 ;
2983 PyObject
* obj0
= 0 ;
2984 PyObject
* obj1
= 0 ;
2986 (char *) "self",(char *) "palette", NULL
2989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
2990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2992 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
2993 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2996 PyErr_SetString(PyExc_TypeError
,"null reference");
3000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3001 (arg1
)->SetPalette(*arg2
);
3003 wxPyEndAllowThreads(__tstate
);
3004 if (PyErr_Occurred()) SWIG_fail
;
3006 Py_INCREF(Py_None
); resultobj
= Py_None
;
3013 static PyObject
*_wrap_Bitmap_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3014 PyObject
*resultobj
;
3015 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3017 PyObject
* obj0
= 0 ;
3019 (char *) "self", NULL
3022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHandle",kwnames
,&obj0
)) goto fail
;
3023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3027 result
= (long)(arg1
)->GetHandle();
3029 wxPyEndAllowThreads(__tstate
);
3030 if (PyErr_Occurred()) SWIG_fail
;
3032 resultobj
= SWIG_FromLong((long)result
);
3039 static PyObject
*_wrap_Bitmap_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3040 PyObject
*resultobj
;
3041 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3043 PyObject
* obj0
= 0 ;
3044 PyObject
* obj1
= 0 ;
3046 (char *) "self",(char *) "handle", NULL
3049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
3050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3052 arg2
= (long) SWIG_AsLong(obj1
);
3053 if (PyErr_Occurred()) SWIG_fail
;
3055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3056 wxBitmap_SetHandle(arg1
,arg2
);
3058 wxPyEndAllowThreads(__tstate
);
3059 if (PyErr_Occurred()) SWIG_fail
;
3061 Py_INCREF(Py_None
); resultobj
= Py_None
;
3068 static PyObject
*_wrap_Bitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3069 PyObject
*resultobj
;
3070 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3072 PyObject
* obj0
= 0 ;
3074 (char *) "self", NULL
3077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
3078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3082 result
= (bool)(arg1
)->Ok();
3084 wxPyEndAllowThreads(__tstate
);
3085 if (PyErr_Occurred()) SWIG_fail
;
3088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3096 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3097 PyObject
*resultobj
;
3098 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3100 PyObject
* obj0
= 0 ;
3102 (char *) "self", NULL
3105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
3106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3110 result
= (int)(arg1
)->GetWidth();
3112 wxPyEndAllowThreads(__tstate
);
3113 if (PyErr_Occurred()) SWIG_fail
;
3115 resultobj
= SWIG_FromInt((int)result
);
3122 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3123 PyObject
*resultobj
;
3124 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3126 PyObject
* obj0
= 0 ;
3128 (char *) "self", NULL
3131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
3132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3136 result
= (int)(arg1
)->GetHeight();
3138 wxPyEndAllowThreads(__tstate
);
3139 if (PyErr_Occurred()) SWIG_fail
;
3141 resultobj
= SWIG_FromInt((int)result
);
3148 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3149 PyObject
*resultobj
;
3150 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3152 PyObject
* obj0
= 0 ;
3154 (char *) "self", NULL
3157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
3158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3162 result
= (int)(arg1
)->GetDepth();
3164 wxPyEndAllowThreads(__tstate
);
3165 if (PyErr_Occurred()) SWIG_fail
;
3167 resultobj
= SWIG_FromInt((int)result
);
3174 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3175 PyObject
*resultobj
;
3176 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3177 SwigValueWrapper
< wxImage
> result
;
3178 PyObject
* obj0
= 0 ;
3180 (char *) "self", NULL
3183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",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
= ((wxBitmap
const *)arg1
)->ConvertToImage();
3190 wxPyEndAllowThreads(__tstate
);
3191 if (PyErr_Occurred()) SWIG_fail
;
3194 wxImage
* resultptr
;
3195 resultptr
= new wxImage((wxImage
&) result
);
3196 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
3204 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3205 PyObject
*resultobj
;
3206 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3208 PyObject
* obj0
= 0 ;
3210 (char *) "self", NULL
3213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
3214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3218 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
3220 wxPyEndAllowThreads(__tstate
);
3221 if (PyErr_Occurred()) SWIG_fail
;
3223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
3230 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3231 PyObject
*resultobj
;
3232 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3233 wxMask
*arg2
= (wxMask
*) 0 ;
3234 PyObject
* obj0
= 0 ;
3235 PyObject
* obj1
= 0 ;
3237 (char *) "self",(char *) "mask", NULL
3240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3243 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3247 (arg1
)->SetMask(arg2
);
3249 wxPyEndAllowThreads(__tstate
);
3250 if (PyErr_Occurred()) SWIG_fail
;
3252 Py_INCREF(Py_None
); resultobj
= Py_None
;
3259 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3260 PyObject
*resultobj
;
3261 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3262 wxColour
*arg2
= 0 ;
3264 PyObject
* obj0
= 0 ;
3265 PyObject
* obj1
= 0 ;
3267 (char *) "self",(char *) "colour", NULL
3270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3275 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3279 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3281 wxPyEndAllowThreads(__tstate
);
3282 if (PyErr_Occurred()) SWIG_fail
;
3284 Py_INCREF(Py_None
); resultobj
= Py_None
;
3291 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3292 PyObject
*resultobj
;
3293 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3295 SwigValueWrapper
< wxBitmap
> result
;
3297 PyObject
* obj0
= 0 ;
3298 PyObject
* obj1
= 0 ;
3300 (char *) "self",(char *) "rect", NULL
3303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3308 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3312 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3314 wxPyEndAllowThreads(__tstate
);
3315 if (PyErr_Occurred()) SWIG_fail
;
3318 wxBitmap
* resultptr
;
3319 resultptr
= new wxBitmap((wxBitmap
&) result
);
3320 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3328 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3329 PyObject
*resultobj
;
3330 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3331 wxString
*arg2
= 0 ;
3333 wxPalette
*arg4
= (wxPalette
*) (wxPalette
*) NULL
;
3335 bool temp2
= False
;
3336 PyObject
* obj0
= 0 ;
3337 PyObject
* obj1
= 0 ;
3338 PyObject
* obj2
= 0 ;
3339 PyObject
* obj3
= 0 ;
3341 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3348 arg2
= wxString_in_helper(obj1
);
3349 if (arg2
== NULL
) SWIG_fail
;
3352 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3353 if (PyErr_Occurred()) SWIG_fail
;
3355 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3360 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3362 wxPyEndAllowThreads(__tstate
);
3363 if (PyErr_Occurred()) SWIG_fail
;
3366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3382 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3383 PyObject
*resultobj
;
3384 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3385 wxString
*arg2
= 0 ;
3388 bool temp2
= False
;
3389 PyObject
* obj0
= 0 ;
3390 PyObject
* obj1
= 0 ;
3391 PyObject
* obj2
= 0 ;
3393 (char *) "self",(char *) "name",(char *) "type", NULL
3396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3400 arg2
= wxString_in_helper(obj1
);
3401 if (arg2
== NULL
) SWIG_fail
;
3404 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3405 if (PyErr_Occurred()) SWIG_fail
;
3407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3408 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3410 wxPyEndAllowThreads(__tstate
);
3411 if (PyErr_Occurred()) SWIG_fail
;
3414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3430 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3431 PyObject
*resultobj
;
3432 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3435 PyObject
* obj0
= 0 ;
3436 PyObject
* obj1
= 0 ;
3438 (char *) "self",(char *) "icon", NULL
3441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3444 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3445 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3448 PyErr_SetString(PyExc_TypeError
,"null reference");
3452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3453 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3455 wxPyEndAllowThreads(__tstate
);
3456 if (PyErr_Occurred()) SWIG_fail
;
3459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3467 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3468 PyObject
*resultobj
;
3469 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3471 PyObject
* obj0
= 0 ;
3472 PyObject
* obj1
= 0 ;
3474 (char *) "self",(char *) "height", NULL
3477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3480 arg2
= (int) SWIG_AsInt(obj1
);
3481 if (PyErr_Occurred()) SWIG_fail
;
3483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3484 (arg1
)->SetHeight(arg2
);
3486 wxPyEndAllowThreads(__tstate
);
3487 if (PyErr_Occurred()) SWIG_fail
;
3489 Py_INCREF(Py_None
); resultobj
= Py_None
;
3496 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3497 PyObject
*resultobj
;
3498 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3500 PyObject
* obj0
= 0 ;
3501 PyObject
* obj1
= 0 ;
3503 (char *) "self",(char *) "width", NULL
3506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3509 arg2
= (int) SWIG_AsInt(obj1
);
3510 if (PyErr_Occurred()) SWIG_fail
;
3512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3513 (arg1
)->SetWidth(arg2
);
3515 wxPyEndAllowThreads(__tstate
);
3516 if (PyErr_Occurred()) SWIG_fail
;
3518 Py_INCREF(Py_None
); resultobj
= Py_None
;
3525 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3526 PyObject
*resultobj
;
3527 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3529 PyObject
* obj0
= 0 ;
3530 PyObject
* obj1
= 0 ;
3532 (char *) "self",(char *) "depth", NULL
3535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3538 arg2
= (int) SWIG_AsInt(obj1
);
3539 if (PyErr_Occurred()) SWIG_fail
;
3541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3542 (arg1
)->SetDepth(arg2
);
3544 wxPyEndAllowThreads(__tstate
);
3545 if (PyErr_Occurred()) SWIG_fail
;
3547 Py_INCREF(Py_None
); resultobj
= Py_None
;
3554 static PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3555 PyObject
*resultobj
;
3556 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3557 wxCursor
*arg2
= 0 ;
3559 PyObject
* obj0
= 0 ;
3560 PyObject
* obj1
= 0 ;
3562 (char *) "self",(char *) "cursor", NULL
3565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
3566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3568 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
3569 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3572 PyErr_SetString(PyExc_TypeError
,"null reference");
3576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3577 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
3579 wxPyEndAllowThreads(__tstate
);
3580 if (PyErr_Occurred()) SWIG_fail
;
3583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3591 static PyObject
*_wrap_Bitmap_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3592 PyObject
*resultobj
;
3593 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3595 PyObject
* obj0
= 0 ;
3597 (char *) "self", NULL
3600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetQuality",kwnames
,&obj0
)) goto fail
;
3601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3605 result
= (int)(arg1
)->GetQuality();
3607 wxPyEndAllowThreads(__tstate
);
3608 if (PyErr_Occurred()) SWIG_fail
;
3610 resultobj
= SWIG_FromInt((int)result
);
3617 static PyObject
*_wrap_Bitmap_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3618 PyObject
*resultobj
;
3619 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3621 PyObject
* obj0
= 0 ;
3622 PyObject
* obj1
= 0 ;
3624 (char *) "self",(char *) "q", NULL
3627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
3628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3630 arg2
= (int) SWIG_AsInt(obj1
);
3631 if (PyErr_Occurred()) SWIG_fail
;
3633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3634 (arg1
)->SetQuality(arg2
);
3636 wxPyEndAllowThreads(__tstate
);
3637 if (PyErr_Occurred()) SWIG_fail
;
3639 Py_INCREF(Py_None
); resultobj
= Py_None
;
3646 static PyObject
*_wrap_Bitmap___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3647 PyObject
*resultobj
;
3648 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3649 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3651 PyObject
* obj0
= 0 ;
3652 PyObject
* obj1
= 0 ;
3654 (char *) "self",(char *) "other", NULL
3657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3664 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
3666 wxPyEndAllowThreads(__tstate
);
3667 if (PyErr_Occurred()) SWIG_fail
;
3670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3678 static PyObject
*_wrap_Bitmap___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3679 PyObject
*resultobj
;
3680 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3681 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3683 PyObject
* obj0
= 0 ;
3684 PyObject
* obj1
= 0 ;
3686 (char *) "self",(char *) "other", NULL
3689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3692 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3696 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
3698 wxPyEndAllowThreads(__tstate
);
3699 if (PyErr_Occurred()) SWIG_fail
;
3702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3710 static PyObject
* Bitmap_swigregister(PyObject
*self
, PyObject
*args
) {
3712 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3713 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3715 return Py_BuildValue((char *)"");
3717 static PyObject
*_wrap_new_Mask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3718 PyObject
*resultobj
;
3719 wxBitmap
*arg1
= 0 ;
3720 wxColour
const &arg2_defvalue
= wxNullColour
;
3721 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3724 PyObject
* obj0
= 0 ;
3725 PyObject
* obj1
= 0 ;
3727 (char *) "bitmap",(char *) "colour", NULL
3730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3732 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3735 PyErr_SetString(PyExc_TypeError
,"null reference");
3741 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3746 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3748 wxPyEndAllowThreads(__tstate
);
3749 if (PyErr_Occurred()) SWIG_fail
;
3751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3758 static PyObject
* Mask_swigregister(PyObject
*self
, PyObject
*args
) {
3760 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3761 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3763 return Py_BuildValue((char *)"");
3765 static PyObject
*_wrap_new_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3766 PyObject
*resultobj
;
3767 wxString
*arg1
= 0 ;
3769 int arg3
= (int) -1 ;
3770 int arg4
= (int) -1 ;
3772 bool temp1
= False
;
3773 PyObject
* obj0
= 0 ;
3774 PyObject
* obj1
= 0 ;
3775 PyObject
* obj2
= 0 ;
3776 PyObject
* obj3
= 0 ;
3778 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3783 arg1
= wxString_in_helper(obj0
);
3784 if (arg1
== NULL
) SWIG_fail
;
3787 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
3788 if (PyErr_Occurred()) SWIG_fail
;
3790 arg3
= (int) SWIG_AsInt(obj2
);
3791 if (PyErr_Occurred()) SWIG_fail
;
3794 arg4
= (int) SWIG_AsInt(obj3
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3799 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3801 wxPyEndAllowThreads(__tstate
);
3802 if (PyErr_Occurred()) SWIG_fail
;
3804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3819 static PyObject
*_wrap_delete_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3820 PyObject
*resultobj
;
3821 wxIcon
*arg1
= (wxIcon
*) 0 ;
3822 PyObject
* obj0
= 0 ;
3824 (char *) "self", NULL
3827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3834 wxPyEndAllowThreads(__tstate
);
3835 if (PyErr_Occurred()) SWIG_fail
;
3837 Py_INCREF(Py_None
); resultobj
= Py_None
;
3844 static PyObject
*_wrap_new_EmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3845 PyObject
*resultobj
;
3851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3854 result
= (wxIcon
*)new wxIcon();
3856 wxPyEndAllowThreads(__tstate
);
3857 if (PyErr_Occurred()) SWIG_fail
;
3859 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3866 static PyObject
*_wrap_new_IconFromLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3867 PyObject
*resultobj
;
3868 wxIconLocation
*arg1
= 0 ;
3870 PyObject
* obj0
= 0 ;
3872 (char *) "loc", NULL
3875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3877 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3880 PyErr_SetString(PyExc_TypeError
,"null reference");
3884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3885 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3887 wxPyEndAllowThreads(__tstate
);
3888 if (PyErr_Occurred()) SWIG_fail
;
3890 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3897 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3898 PyObject
*resultobj
;
3899 wxBitmap
*arg1
= 0 ;
3901 PyObject
* obj0
= 0 ;
3903 (char *) "bmp", NULL
3906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3908 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3911 PyErr_SetString(PyExc_TypeError
,"null reference");
3915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3916 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3918 wxPyEndAllowThreads(__tstate
);
3919 if (PyErr_Occurred()) SWIG_fail
;
3921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3928 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3929 PyObject
*resultobj
;
3930 PyObject
*arg1
= (PyObject
*) 0 ;
3932 PyObject
* obj0
= 0 ;
3934 (char *) "listOfStrings", NULL
3937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3941 result
= (wxIcon
*)new_wxIcon(arg1
);
3943 wxPyEndAllowThreads(__tstate
);
3944 if (PyErr_Occurred()) SWIG_fail
;
3946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3953 static PyObject
*_wrap_Icon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3954 PyObject
*resultobj
;
3955 wxIcon
*arg1
= (wxIcon
*) 0 ;
3956 wxString
*arg2
= 0 ;
3959 bool temp2
= False
;
3960 PyObject
* obj0
= 0 ;
3961 PyObject
* obj1
= 0 ;
3962 PyObject
* obj2
= 0 ;
3964 (char *) "self",(char *) "name",(char *) "type", NULL
3967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3971 arg2
= wxString_in_helper(obj1
);
3972 if (arg2
== NULL
) SWIG_fail
;
3975 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3976 if (PyErr_Occurred()) SWIG_fail
;
3978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3979 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3981 wxPyEndAllowThreads(__tstate
);
3982 if (PyErr_Occurred()) SWIG_fail
;
3985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4001 static PyObject
*_wrap_Icon_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4002 PyObject
*resultobj
;
4003 wxIcon
*arg1
= (wxIcon
*) 0 ;
4005 PyObject
* obj0
= 0 ;
4007 (char *) "self", NULL
4010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHandle",kwnames
,&obj0
)) goto fail
;
4011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4015 result
= (long)(arg1
)->GetHandle();
4017 wxPyEndAllowThreads(__tstate
);
4018 if (PyErr_Occurred()) SWIG_fail
;
4020 resultobj
= SWIG_FromLong((long)result
);
4027 static PyObject
*_wrap_Icon_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4028 PyObject
*resultobj
;
4029 wxIcon
*arg1
= (wxIcon
*) 0 ;
4031 PyObject
* obj0
= 0 ;
4032 PyObject
* obj1
= 0 ;
4034 (char *) "self",(char *) "handle", NULL
4037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
4038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4040 arg2
= (long) SWIG_AsLong(obj1
);
4041 if (PyErr_Occurred()) SWIG_fail
;
4043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4044 wxIcon_SetHandle(arg1
,arg2
);
4046 wxPyEndAllowThreads(__tstate
);
4047 if (PyErr_Occurred()) SWIG_fail
;
4049 Py_INCREF(Py_None
); resultobj
= Py_None
;
4056 static PyObject
*_wrap_Icon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4057 PyObject
*resultobj
;
4058 wxIcon
*arg1
= (wxIcon
*) 0 ;
4060 PyObject
* obj0
= 0 ;
4062 (char *) "self", NULL
4065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
4066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4070 result
= (bool)(arg1
)->Ok();
4072 wxPyEndAllowThreads(__tstate
);
4073 if (PyErr_Occurred()) SWIG_fail
;
4076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4084 static PyObject
*_wrap_Icon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4085 PyObject
*resultobj
;
4086 wxIcon
*arg1
= (wxIcon
*) 0 ;
4088 PyObject
* obj0
= 0 ;
4090 (char *) "self", NULL
4093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
4094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4098 result
= (int)(arg1
)->GetWidth();
4100 wxPyEndAllowThreads(__tstate
);
4101 if (PyErr_Occurred()) SWIG_fail
;
4103 resultobj
= SWIG_FromInt((int)result
);
4110 static PyObject
*_wrap_Icon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4111 PyObject
*resultobj
;
4112 wxIcon
*arg1
= (wxIcon
*) 0 ;
4114 PyObject
* obj0
= 0 ;
4116 (char *) "self", NULL
4119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
4120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4124 result
= (int)(arg1
)->GetHeight();
4126 wxPyEndAllowThreads(__tstate
);
4127 if (PyErr_Occurred()) SWIG_fail
;
4129 resultobj
= SWIG_FromInt((int)result
);
4136 static PyObject
*_wrap_Icon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4137 PyObject
*resultobj
;
4138 wxIcon
*arg1
= (wxIcon
*) 0 ;
4140 PyObject
* obj0
= 0 ;
4142 (char *) "self", NULL
4145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
4146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4150 result
= (int)(arg1
)->GetDepth();
4152 wxPyEndAllowThreads(__tstate
);
4153 if (PyErr_Occurred()) SWIG_fail
;
4155 resultobj
= SWIG_FromInt((int)result
);
4162 static PyObject
*_wrap_Icon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4163 PyObject
*resultobj
;
4164 wxIcon
*arg1
= (wxIcon
*) 0 ;
4166 PyObject
* obj0
= 0 ;
4167 PyObject
* obj1
= 0 ;
4169 (char *) "self",(char *) "w", NULL
4172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4175 arg2
= (int) SWIG_AsInt(obj1
);
4176 if (PyErr_Occurred()) SWIG_fail
;
4178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4179 (arg1
)->SetWidth(arg2
);
4181 wxPyEndAllowThreads(__tstate
);
4182 if (PyErr_Occurred()) SWIG_fail
;
4184 Py_INCREF(Py_None
); resultobj
= Py_None
;
4191 static PyObject
*_wrap_Icon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4192 PyObject
*resultobj
;
4193 wxIcon
*arg1
= (wxIcon
*) 0 ;
4195 PyObject
* obj0
= 0 ;
4196 PyObject
* obj1
= 0 ;
4198 (char *) "self",(char *) "h", NULL
4201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
4202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4204 arg2
= (int) SWIG_AsInt(obj1
);
4205 if (PyErr_Occurred()) SWIG_fail
;
4207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4208 (arg1
)->SetHeight(arg2
);
4210 wxPyEndAllowThreads(__tstate
);
4211 if (PyErr_Occurred()) SWIG_fail
;
4213 Py_INCREF(Py_None
); resultobj
= Py_None
;
4220 static PyObject
*_wrap_Icon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4221 PyObject
*resultobj
;
4222 wxIcon
*arg1
= (wxIcon
*) 0 ;
4224 PyObject
* obj0
= 0 ;
4225 PyObject
* obj1
= 0 ;
4227 (char *) "self",(char *) "d", NULL
4230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
4231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4233 arg2
= (int) SWIG_AsInt(obj1
);
4234 if (PyErr_Occurred()) SWIG_fail
;
4236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4237 (arg1
)->SetDepth(arg2
);
4239 wxPyEndAllowThreads(__tstate
);
4240 if (PyErr_Occurred()) SWIG_fail
;
4242 Py_INCREF(Py_None
); resultobj
= Py_None
;
4249 static PyObject
*_wrap_Icon_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4250 PyObject
*resultobj
;
4251 wxIcon
*arg1
= (wxIcon
*) 0 ;
4254 PyObject
* obj0
= 0 ;
4255 PyObject
* obj1
= 0 ;
4257 (char *) "self",(char *) "size", NULL
4260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4265 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4269 (arg1
)->SetSize((wxSize
const &)*arg2
);
4271 wxPyEndAllowThreads(__tstate
);
4272 if (PyErr_Occurred()) SWIG_fail
;
4274 Py_INCREF(Py_None
); resultobj
= Py_None
;
4281 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4282 PyObject
*resultobj
;
4283 wxIcon
*arg1
= (wxIcon
*) 0 ;
4284 wxBitmap
*arg2
= 0 ;
4285 PyObject
* obj0
= 0 ;
4286 PyObject
* obj1
= 0 ;
4288 (char *) "self",(char *) "bmp", NULL
4291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4294 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4295 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4298 PyErr_SetString(PyExc_TypeError
,"null reference");
4302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4303 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
4305 wxPyEndAllowThreads(__tstate
);
4306 if (PyErr_Occurred()) SWIG_fail
;
4308 Py_INCREF(Py_None
); resultobj
= Py_None
;
4315 static PyObject
* Icon_swigregister(PyObject
*self
, PyObject
*args
) {
4317 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4318 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
4320 return Py_BuildValue((char *)"");
4322 static PyObject
*_wrap_new_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4323 PyObject
*resultobj
;
4324 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
4325 int arg2
= (int) 0 ;
4326 wxIconLocation
*result
;
4327 bool temp1
= False
;
4328 PyObject
* obj0
= 0 ;
4329 PyObject
* obj1
= 0 ;
4331 (char *) "filename",(char *) "num", NULL
4334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
4337 arg1
= wxString_in_helper(obj0
);
4338 if (arg1
== NULL
) SWIG_fail
;
4343 arg2
= (int) SWIG_AsInt(obj1
);
4344 if (PyErr_Occurred()) SWIG_fail
;
4347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4348 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
4350 wxPyEndAllowThreads(__tstate
);
4351 if (PyErr_Occurred()) SWIG_fail
;
4353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
4368 static PyObject
*_wrap_delete_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4369 PyObject
*resultobj
;
4370 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4371 PyObject
* obj0
= 0 ;
4373 (char *) "self", NULL
4376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
4377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4383 wxPyEndAllowThreads(__tstate
);
4384 if (PyErr_Occurred()) SWIG_fail
;
4386 Py_INCREF(Py_None
); resultobj
= Py_None
;
4393 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4394 PyObject
*resultobj
;
4395 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4397 PyObject
* obj0
= 0 ;
4399 (char *) "self", NULL
4402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
4403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4407 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
4409 wxPyEndAllowThreads(__tstate
);
4410 if (PyErr_Occurred()) SWIG_fail
;
4413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4421 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4422 PyObject
*resultobj
;
4423 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4424 wxString
*arg2
= 0 ;
4425 bool temp2
= False
;
4426 PyObject
* obj0
= 0 ;
4427 PyObject
* obj1
= 0 ;
4429 (char *) "self",(char *) "filename", NULL
4432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4436 arg2
= wxString_in_helper(obj1
);
4437 if (arg2
== NULL
) SWIG_fail
;
4441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4442 (arg1
)->SetFileName((wxString
const &)*arg2
);
4444 wxPyEndAllowThreads(__tstate
);
4445 if (PyErr_Occurred()) SWIG_fail
;
4447 Py_INCREF(Py_None
); resultobj
= Py_None
;
4462 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4463 PyObject
*resultobj
;
4464 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4466 PyObject
* obj0
= 0 ;
4468 (char *) "self", NULL
4471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4477 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4478 result
= (wxString
*) &_result_ref
;
4481 wxPyEndAllowThreads(__tstate
);
4482 if (PyErr_Occurred()) SWIG_fail
;
4486 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4488 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4497 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4498 PyObject
*resultobj
;
4499 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4501 PyObject
* obj0
= 0 ;
4502 PyObject
* obj1
= 0 ;
4504 (char *) "self",(char *) "num", NULL
4507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4510 arg2
= (int) SWIG_AsInt(obj1
);
4511 if (PyErr_Occurred()) SWIG_fail
;
4513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4514 wxIconLocation_SetIndex(arg1
,arg2
);
4516 wxPyEndAllowThreads(__tstate
);
4517 if (PyErr_Occurred()) SWIG_fail
;
4519 Py_INCREF(Py_None
); resultobj
= Py_None
;
4526 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4527 PyObject
*resultobj
;
4528 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4530 PyObject
* obj0
= 0 ;
4532 (char *) "self", NULL
4535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4540 result
= (int)wxIconLocation_GetIndex(arg1
);
4542 wxPyEndAllowThreads(__tstate
);
4543 if (PyErr_Occurred()) SWIG_fail
;
4545 resultobj
= SWIG_FromInt((int)result
);
4552 static PyObject
* IconLocation_swigregister(PyObject
*self
, PyObject
*args
) {
4554 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4555 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4557 return Py_BuildValue((char *)"");
4559 static PyObject
*_wrap_new_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4560 PyObject
*resultobj
;
4561 wxIconBundle
*result
;
4566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4569 result
= (wxIconBundle
*)new wxIconBundle();
4571 wxPyEndAllowThreads(__tstate
);
4572 if (PyErr_Occurred()) SWIG_fail
;
4574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4581 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4582 PyObject
*resultobj
;
4583 wxString
*arg1
= 0 ;
4585 wxIconBundle
*result
;
4586 bool temp1
= False
;
4587 PyObject
* obj0
= 0 ;
4588 PyObject
* obj1
= 0 ;
4590 (char *) "file",(char *) "type", NULL
4593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4595 arg1
= wxString_in_helper(obj0
);
4596 if (arg1
== NULL
) SWIG_fail
;
4599 arg2
= (long) SWIG_AsLong(obj1
);
4600 if (PyErr_Occurred()) SWIG_fail
;
4602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4603 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4605 wxPyEndAllowThreads(__tstate
);
4606 if (PyErr_Occurred()) SWIG_fail
;
4608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4623 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4624 PyObject
*resultobj
;
4626 wxIconBundle
*result
;
4627 PyObject
* obj0
= 0 ;
4629 (char *) "icon", NULL
4632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4634 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4637 PyErr_SetString(PyExc_TypeError
,"null reference");
4641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4642 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4644 wxPyEndAllowThreads(__tstate
);
4645 if (PyErr_Occurred()) SWIG_fail
;
4647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4654 static PyObject
*_wrap_delete_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4655 PyObject
*resultobj
;
4656 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4657 PyObject
* obj0
= 0 ;
4659 (char *) "self", NULL
4662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4669 wxPyEndAllowThreads(__tstate
);
4670 if (PyErr_Occurred()) SWIG_fail
;
4672 Py_INCREF(Py_None
); resultobj
= Py_None
;
4679 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4680 PyObject
*resultobj
;
4681 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4683 PyObject
* obj0
= 0 ;
4684 PyObject
* obj1
= 0 ;
4686 (char *) "self",(char *) "icon", NULL
4689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4692 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4693 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4696 PyErr_SetString(PyExc_TypeError
,"null reference");
4700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4701 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4703 wxPyEndAllowThreads(__tstate
);
4704 if (PyErr_Occurred()) SWIG_fail
;
4706 Py_INCREF(Py_None
); resultobj
= Py_None
;
4713 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4714 PyObject
*resultobj
;
4715 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4716 wxString
*arg2
= 0 ;
4718 bool temp2
= False
;
4719 PyObject
* obj0
= 0 ;
4720 PyObject
* obj1
= 0 ;
4721 PyObject
* obj2
= 0 ;
4723 (char *) "self",(char *) "file",(char *) "type", NULL
4726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4730 arg2
= wxString_in_helper(obj1
);
4731 if (arg2
== NULL
) SWIG_fail
;
4734 arg3
= (long) SWIG_AsLong(obj2
);
4735 if (PyErr_Occurred()) SWIG_fail
;
4737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4738 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4740 wxPyEndAllowThreads(__tstate
);
4741 if (PyErr_Occurred()) SWIG_fail
;
4743 Py_INCREF(Py_None
); resultobj
= Py_None
;
4758 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4759 PyObject
*resultobj
;
4760 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4764 PyObject
* obj0
= 0 ;
4765 PyObject
* obj1
= 0 ;
4767 (char *) "self",(char *) "size", NULL
4770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4775 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4780 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4781 result
= (wxIcon
*) &_result_ref
;
4784 wxPyEndAllowThreads(__tstate
);
4785 if (PyErr_Occurred()) SWIG_fail
;
4788 wxIcon
* resultptr
= new wxIcon(*result
);
4789 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4797 static PyObject
* IconBundle_swigregister(PyObject
*self
, PyObject
*args
) {
4799 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4800 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4802 return Py_BuildValue((char *)"");
4804 static PyObject
*_wrap_new_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4805 PyObject
*resultobj
;
4806 wxString
*arg1
= (wxString
*) 0 ;
4808 int arg3
= (int) 0 ;
4809 int arg4
= (int) 0 ;
4811 bool temp1
= False
;
4812 PyObject
* obj0
= 0 ;
4813 PyObject
* obj1
= 0 ;
4814 PyObject
* obj2
= 0 ;
4815 PyObject
* obj3
= 0 ;
4817 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4822 arg1
= wxString_in_helper(obj0
);
4823 if (arg1
== NULL
) SWIG_fail
;
4826 arg2
= (long) SWIG_AsLong(obj1
);
4827 if (PyErr_Occurred()) SWIG_fail
;
4829 arg3
= (int) SWIG_AsInt(obj2
);
4830 if (PyErr_Occurred()) SWIG_fail
;
4833 arg4
= (int) SWIG_AsInt(obj3
);
4834 if (PyErr_Occurred()) SWIG_fail
;
4837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4838 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4840 wxPyEndAllowThreads(__tstate
);
4841 if (PyErr_Occurred()) SWIG_fail
;
4843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4858 static PyObject
*_wrap_delete_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4859 PyObject
*resultobj
;
4860 wxCursor
*arg1
= (wxCursor
*) 0 ;
4861 PyObject
* obj0
= 0 ;
4863 (char *) "self", NULL
4866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4873 wxPyEndAllowThreads(__tstate
);
4874 if (PyErr_Occurred()) SWIG_fail
;
4876 Py_INCREF(Py_None
); resultobj
= Py_None
;
4883 static PyObject
*_wrap_new_StockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4884 PyObject
*resultobj
;
4887 PyObject
* obj0
= 0 ;
4892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4893 arg1
= (int) SWIG_AsInt(obj0
);
4894 if (PyErr_Occurred()) SWIG_fail
;
4896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4897 result
= (wxCursor
*)new wxCursor(arg1
);
4899 wxPyEndAllowThreads(__tstate
);
4900 if (PyErr_Occurred()) SWIG_fail
;
4902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4909 static PyObject
*_wrap_new_CursorFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4910 PyObject
*resultobj
;
4913 PyObject
* obj0
= 0 ;
4915 (char *) "image", NULL
4918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
4920 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4923 PyErr_SetString(PyExc_TypeError
,"null reference");
4927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4928 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4930 wxPyEndAllowThreads(__tstate
);
4931 if (PyErr_Occurred()) SWIG_fail
;
4933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4940 static PyObject
*_wrap_Cursor_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4941 PyObject
*resultobj
;
4942 wxCursor
*arg1
= (wxCursor
*) 0 ;
4944 PyObject
* obj0
= 0 ;
4946 (char *) "self", NULL
4949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHandle",kwnames
,&obj0
)) goto fail
;
4950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4954 result
= (long)(arg1
)->GetHandle();
4956 wxPyEndAllowThreads(__tstate
);
4957 if (PyErr_Occurred()) SWIG_fail
;
4959 resultobj
= SWIG_FromLong((long)result
);
4966 static PyObject
*_wrap_Cursor_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4967 PyObject
*resultobj
;
4968 wxCursor
*arg1
= (wxCursor
*) 0 ;
4970 PyObject
* obj0
= 0 ;
4971 PyObject
* obj1
= 0 ;
4973 (char *) "self",(char *) "handle", NULL
4976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
4977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4979 arg2
= (long) SWIG_AsLong(obj1
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4983 wxCursor_SetHandle(arg1
,arg2
);
4985 wxPyEndAllowThreads(__tstate
);
4986 if (PyErr_Occurred()) SWIG_fail
;
4988 Py_INCREF(Py_None
); resultobj
= Py_None
;
4995 static PyObject
*_wrap_Cursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4996 PyObject
*resultobj
;
4997 wxCursor
*arg1
= (wxCursor
*) 0 ;
4999 PyObject
* obj0
= 0 ;
5001 (char *) "self", NULL
5004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
5005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5009 result
= (bool)(arg1
)->Ok();
5011 wxPyEndAllowThreads(__tstate
);
5012 if (PyErr_Occurred()) SWIG_fail
;
5015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5023 static PyObject
*_wrap_Cursor_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5024 PyObject
*resultobj
;
5025 wxCursor
*arg1
= (wxCursor
*) 0 ;
5027 PyObject
* obj0
= 0 ;
5029 (char *) "self", NULL
5032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetWidth",kwnames
,&obj0
)) goto fail
;
5033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5037 result
= (int)(arg1
)->GetWidth();
5039 wxPyEndAllowThreads(__tstate
);
5040 if (PyErr_Occurred()) SWIG_fail
;
5042 resultobj
= SWIG_FromInt((int)result
);
5049 static PyObject
*_wrap_Cursor_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5050 PyObject
*resultobj
;
5051 wxCursor
*arg1
= (wxCursor
*) 0 ;
5053 PyObject
* obj0
= 0 ;
5055 (char *) "self", NULL
5058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHeight",kwnames
,&obj0
)) goto fail
;
5059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5063 result
= (int)(arg1
)->GetHeight();
5065 wxPyEndAllowThreads(__tstate
);
5066 if (PyErr_Occurred()) SWIG_fail
;
5068 resultobj
= SWIG_FromInt((int)result
);
5075 static PyObject
*_wrap_Cursor_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5076 PyObject
*resultobj
;
5077 wxCursor
*arg1
= (wxCursor
*) 0 ;
5079 PyObject
* obj0
= 0 ;
5081 (char *) "self", NULL
5084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetDepth",kwnames
,&obj0
)) goto fail
;
5085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5089 result
= (int)(arg1
)->GetDepth();
5091 wxPyEndAllowThreads(__tstate
);
5092 if (PyErr_Occurred()) SWIG_fail
;
5094 resultobj
= SWIG_FromInt((int)result
);
5101 static PyObject
*_wrap_Cursor_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5102 PyObject
*resultobj
;
5103 wxCursor
*arg1
= (wxCursor
*) 0 ;
5105 PyObject
* obj0
= 0 ;
5106 PyObject
* obj1
= 0 ;
5108 (char *) "self",(char *) "w", NULL
5111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5114 arg2
= (int) SWIG_AsInt(obj1
);
5115 if (PyErr_Occurred()) SWIG_fail
;
5117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5118 (arg1
)->SetWidth(arg2
);
5120 wxPyEndAllowThreads(__tstate
);
5121 if (PyErr_Occurred()) SWIG_fail
;
5123 Py_INCREF(Py_None
); resultobj
= Py_None
;
5130 static PyObject
*_wrap_Cursor_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5131 PyObject
*resultobj
;
5132 wxCursor
*arg1
= (wxCursor
*) 0 ;
5134 PyObject
* obj0
= 0 ;
5135 PyObject
* obj1
= 0 ;
5137 (char *) "self",(char *) "h", NULL
5140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5143 arg2
= (int) SWIG_AsInt(obj1
);
5144 if (PyErr_Occurred()) SWIG_fail
;
5146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5147 (arg1
)->SetHeight(arg2
);
5149 wxPyEndAllowThreads(__tstate
);
5150 if (PyErr_Occurred()) SWIG_fail
;
5152 Py_INCREF(Py_None
); resultobj
= Py_None
;
5159 static PyObject
*_wrap_Cursor_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5160 PyObject
*resultobj
;
5161 wxCursor
*arg1
= (wxCursor
*) 0 ;
5163 PyObject
* obj0
= 0 ;
5164 PyObject
* obj1
= 0 ;
5166 (char *) "self",(char *) "d", NULL
5169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
5170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5172 arg2
= (int) SWIG_AsInt(obj1
);
5173 if (PyErr_Occurred()) SWIG_fail
;
5175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5176 (arg1
)->SetDepth(arg2
);
5178 wxPyEndAllowThreads(__tstate
);
5179 if (PyErr_Occurred()) SWIG_fail
;
5181 Py_INCREF(Py_None
); resultobj
= Py_None
;
5188 static PyObject
*_wrap_Cursor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5189 PyObject
*resultobj
;
5190 wxCursor
*arg1
= (wxCursor
*) 0 ;
5193 PyObject
* obj0
= 0 ;
5194 PyObject
* obj1
= 0 ;
5196 (char *) "self",(char *) "size", NULL
5199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5204 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5208 (arg1
)->SetSize((wxSize
const &)*arg2
);
5210 wxPyEndAllowThreads(__tstate
);
5211 if (PyErr_Occurred()) SWIG_fail
;
5213 Py_INCREF(Py_None
); resultobj
= Py_None
;
5220 static PyObject
* Cursor_swigregister(PyObject
*self
, PyObject
*args
) {
5222 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5223 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
5225 return Py_BuildValue((char *)"");
5227 static PyObject
*_wrap_new_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5228 PyObject
*resultobj
;
5229 int arg1
= (int) 0 ;
5230 int arg2
= (int) 0 ;
5231 int arg3
= (int) 0 ;
5232 int arg4
= (int) 0 ;
5234 PyObject
* obj0
= 0 ;
5235 PyObject
* obj1
= 0 ;
5236 PyObject
* obj2
= 0 ;
5237 PyObject
* obj3
= 0 ;
5239 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5244 arg1
= (int) SWIG_AsInt(obj0
);
5245 if (PyErr_Occurred()) SWIG_fail
;
5248 arg2
= (int) SWIG_AsInt(obj1
);
5249 if (PyErr_Occurred()) SWIG_fail
;
5252 arg3
= (int) SWIG_AsInt(obj2
);
5253 if (PyErr_Occurred()) SWIG_fail
;
5256 arg4
= (int) SWIG_AsInt(obj3
);
5257 if (PyErr_Occurred()) SWIG_fail
;
5260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5261 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
5263 wxPyEndAllowThreads(__tstate
);
5264 if (PyErr_Occurred()) SWIG_fail
;
5266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5273 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5274 PyObject
*resultobj
;
5275 wxBitmap
*arg1
= 0 ;
5276 wxColour
const &arg2_defvalue
= wxNullColour
;
5277 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
5278 int arg3
= (int) 0 ;
5281 PyObject
* obj0
= 0 ;
5282 PyObject
* obj1
= 0 ;
5283 PyObject
* obj2
= 0 ;
5285 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_RegionFromBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5290 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5293 PyErr_SetString(PyExc_TypeError
,"null reference");
5299 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5303 arg3
= (int) SWIG_AsInt(obj2
);
5304 if (PyErr_Occurred()) SWIG_fail
;
5307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5308 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
5310 wxPyEndAllowThreads(__tstate
);
5311 if (PyErr_Occurred()) SWIG_fail
;
5313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5320 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5321 PyObject
*resultobj
;
5323 wxPoint
*arg2
= (wxPoint
*) 0 ;
5324 int arg3
= (int) wxWINDING_RULE
;
5326 PyObject
* obj0
= 0 ;
5327 PyObject
* obj1
= 0 ;
5329 (char *) "points",(char *) "fillStyle", NULL
5332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
5334 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
5335 if (arg2
== NULL
) SWIG_fail
;
5338 arg3
= (int) SWIG_AsInt(obj1
);
5339 if (PyErr_Occurred()) SWIG_fail
;
5342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5343 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
5345 wxPyEndAllowThreads(__tstate
);
5346 if (PyErr_Occurred()) SWIG_fail
;
5348 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5350 if (arg2
) delete [] arg2
;
5355 if (arg2
) delete [] arg2
;
5361 static PyObject
*_wrap_delete_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5362 PyObject
*resultobj
;
5363 wxRegion
*arg1
= (wxRegion
*) 0 ;
5364 PyObject
* obj0
= 0 ;
5366 (char *) "self", NULL
5369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
5370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5376 wxPyEndAllowThreads(__tstate
);
5377 if (PyErr_Occurred()) SWIG_fail
;
5379 Py_INCREF(Py_None
); resultobj
= Py_None
;
5386 static PyObject
*_wrap_Region_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5387 PyObject
*resultobj
;
5388 wxRegion
*arg1
= (wxRegion
*) 0 ;
5389 PyObject
* obj0
= 0 ;
5391 (char *) "self", NULL
5394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
5395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5401 wxPyEndAllowThreads(__tstate
);
5402 if (PyErr_Occurred()) SWIG_fail
;
5404 Py_INCREF(Py_None
); resultobj
= Py_None
;
5411 static PyObject
*_wrap_Region_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5412 PyObject
*resultobj
;
5413 wxRegion
*arg1
= (wxRegion
*) 0 ;
5417 PyObject
* obj0
= 0 ;
5418 PyObject
* obj1
= 0 ;
5419 PyObject
* obj2
= 0 ;
5421 (char *) "self",(char *) "x",(char *) "y", NULL
5424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5427 arg2
= (int) SWIG_AsInt(obj1
);
5428 if (PyErr_Occurred()) SWIG_fail
;
5429 arg3
= (int) SWIG_AsInt(obj2
);
5430 if (PyErr_Occurred()) SWIG_fail
;
5432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5433 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
5435 wxPyEndAllowThreads(__tstate
);
5436 if (PyErr_Occurred()) SWIG_fail
;
5439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5447 static PyObject
*_wrap_Region_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5448 PyObject
*resultobj
;
5449 wxRegion
*arg1
= (wxRegion
*) 0 ;
5453 PyObject
* obj0
= 0 ;
5454 PyObject
* obj1
= 0 ;
5455 PyObject
* obj2
= 0 ;
5457 (char *) "self",(char *) "x",(char *) "y", NULL
5460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5463 arg2
= (int) SWIG_AsInt(obj1
);
5464 if (PyErr_Occurred()) SWIG_fail
;
5465 arg3
= (int) SWIG_AsInt(obj2
);
5466 if (PyErr_Occurred()) SWIG_fail
;
5468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5469 result
= (int)(arg1
)->Contains(arg2
,arg3
);
5471 wxPyEndAllowThreads(__tstate
);
5472 if (PyErr_Occurred()) SWIG_fail
;
5474 resultobj
= SWIG_FromInt((int)result
);
5481 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5482 PyObject
*resultobj
;
5483 wxRegion
*arg1
= (wxRegion
*) 0 ;
5487 PyObject
* obj0
= 0 ;
5488 PyObject
* obj1
= 0 ;
5490 (char *) "self",(char *) "pt", NULL
5493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
5494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5498 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5502 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
5504 wxPyEndAllowThreads(__tstate
);
5505 if (PyErr_Occurred()) SWIG_fail
;
5507 resultobj
= SWIG_FromInt((int)result
);
5514 static PyObject
*_wrap_Region_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5515 PyObject
*resultobj
;
5516 wxRegion
*arg1
= (wxRegion
*) 0 ;
5520 PyObject
* obj0
= 0 ;
5521 PyObject
* obj1
= 0 ;
5523 (char *) "self",(char *) "rect", NULL
5526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5531 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5535 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
5537 wxPyEndAllowThreads(__tstate
);
5538 if (PyErr_Occurred()) SWIG_fail
;
5540 resultobj
= SWIG_FromInt((int)result
);
5547 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5548 PyObject
*resultobj
;
5549 wxRegion
*arg1
= (wxRegion
*) 0 ;
5555 PyObject
* obj0
= 0 ;
5556 PyObject
* obj1
= 0 ;
5557 PyObject
* obj2
= 0 ;
5558 PyObject
* obj3
= 0 ;
5559 PyObject
* obj4
= 0 ;
5561 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
5564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5567 arg2
= (int) SWIG_AsInt(obj1
);
5568 if (PyErr_Occurred()) SWIG_fail
;
5569 arg3
= (int) SWIG_AsInt(obj2
);
5570 if (PyErr_Occurred()) SWIG_fail
;
5571 arg4
= (int) SWIG_AsInt(obj3
);
5572 if (PyErr_Occurred()) SWIG_fail
;
5573 arg5
= (int) SWIG_AsInt(obj4
);
5574 if (PyErr_Occurred()) SWIG_fail
;
5576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5577 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
5579 wxPyEndAllowThreads(__tstate
);
5580 if (PyErr_Occurred()) SWIG_fail
;
5582 resultobj
= SWIG_FromInt((int)result
);
5589 static PyObject
*_wrap_Region_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5590 PyObject
*resultobj
;
5591 wxRegion
*arg1
= (wxRegion
*) 0 ;
5593 PyObject
* obj0
= 0 ;
5595 (char *) "self", NULL
5598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
5599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5603 result
= (arg1
)->GetBox();
5605 wxPyEndAllowThreads(__tstate
);
5606 if (PyErr_Occurred()) SWIG_fail
;
5610 resultptr
= new wxRect((wxRect
&) result
);
5611 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5619 static PyObject
*_wrap_Region_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5620 PyObject
*resultobj
;
5621 wxRegion
*arg1
= (wxRegion
*) 0 ;
5627 PyObject
* obj0
= 0 ;
5628 PyObject
* obj1
= 0 ;
5629 PyObject
* obj2
= 0 ;
5630 PyObject
* obj3
= 0 ;
5631 PyObject
* obj4
= 0 ;
5633 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5639 arg2
= (int) SWIG_AsInt(obj1
);
5640 if (PyErr_Occurred()) SWIG_fail
;
5641 arg3
= (int) SWIG_AsInt(obj2
);
5642 if (PyErr_Occurred()) SWIG_fail
;
5643 arg4
= (int) SWIG_AsInt(obj3
);
5644 if (PyErr_Occurred()) SWIG_fail
;
5645 arg5
= (int) SWIG_AsInt(obj4
);
5646 if (PyErr_Occurred()) SWIG_fail
;
5648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5649 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
5651 wxPyEndAllowThreads(__tstate
);
5652 if (PyErr_Occurred()) SWIG_fail
;
5655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5663 static PyObject
*_wrap_Region_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5664 PyObject
*resultobj
;
5665 wxRegion
*arg1
= (wxRegion
*) 0 ;
5669 PyObject
* obj0
= 0 ;
5670 PyObject
* obj1
= 0 ;
5672 (char *) "self",(char *) "rect", NULL
5675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5680 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5684 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
5686 wxPyEndAllowThreads(__tstate
);
5687 if (PyErr_Occurred()) SWIG_fail
;
5690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5698 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5699 PyObject
*resultobj
;
5700 wxRegion
*arg1
= (wxRegion
*) 0 ;
5701 wxRegion
*arg2
= 0 ;
5703 PyObject
* obj0
= 0 ;
5704 PyObject
* obj1
= 0 ;
5706 (char *) "self",(char *) "region", NULL
5709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5712 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5713 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5716 PyErr_SetString(PyExc_TypeError
,"null reference");
5720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5721 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5723 wxPyEndAllowThreads(__tstate
);
5724 if (PyErr_Occurred()) SWIG_fail
;
5727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5735 static PyObject
*_wrap_Region_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5736 PyObject
*resultobj
;
5737 wxRegion
*arg1
= (wxRegion
*) 0 ;
5739 PyObject
* obj0
= 0 ;
5741 (char *) "self", NULL
5744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5749 result
= (bool)(arg1
)->IsEmpty();
5751 wxPyEndAllowThreads(__tstate
);
5752 if (PyErr_Occurred()) SWIG_fail
;
5755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5763 static PyObject
*_wrap_Region_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5764 PyObject
*resultobj
;
5765 wxRegion
*arg1
= (wxRegion
*) 0 ;
5771 PyObject
* obj0
= 0 ;
5772 PyObject
* obj1
= 0 ;
5773 PyObject
* obj2
= 0 ;
5774 PyObject
* obj3
= 0 ;
5775 PyObject
* obj4
= 0 ;
5777 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5783 arg2
= (int) SWIG_AsInt(obj1
);
5784 if (PyErr_Occurred()) SWIG_fail
;
5785 arg3
= (int) SWIG_AsInt(obj2
);
5786 if (PyErr_Occurred()) SWIG_fail
;
5787 arg4
= (int) SWIG_AsInt(obj3
);
5788 if (PyErr_Occurred()) SWIG_fail
;
5789 arg5
= (int) SWIG_AsInt(obj4
);
5790 if (PyErr_Occurred()) SWIG_fail
;
5792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5793 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5795 wxPyEndAllowThreads(__tstate
);
5796 if (PyErr_Occurred()) SWIG_fail
;
5799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5807 static PyObject
*_wrap_Region_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5808 PyObject
*resultobj
;
5809 wxRegion
*arg1
= (wxRegion
*) 0 ;
5813 PyObject
* obj0
= 0 ;
5814 PyObject
* obj1
= 0 ;
5816 (char *) "self",(char *) "rect", NULL
5819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5824 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5828 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5830 wxPyEndAllowThreads(__tstate
);
5831 if (PyErr_Occurred()) SWIG_fail
;
5834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5842 static PyObject
*_wrap_Region_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5843 PyObject
*resultobj
;
5844 wxRegion
*arg1
= (wxRegion
*) 0 ;
5845 wxRegion
*arg2
= 0 ;
5847 PyObject
* obj0
= 0 ;
5848 PyObject
* obj1
= 0 ;
5850 (char *) "self",(char *) "region", NULL
5853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5856 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5857 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5860 PyErr_SetString(PyExc_TypeError
,"null reference");
5864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5865 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5867 wxPyEndAllowThreads(__tstate
);
5868 if (PyErr_Occurred()) SWIG_fail
;
5871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5879 static PyObject
*_wrap_Region_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5880 PyObject
*resultobj
;
5881 wxRegion
*arg1
= (wxRegion
*) 0 ;
5887 PyObject
* obj0
= 0 ;
5888 PyObject
* obj1
= 0 ;
5889 PyObject
* obj2
= 0 ;
5890 PyObject
* obj3
= 0 ;
5891 PyObject
* obj4
= 0 ;
5893 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5899 arg2
= (int) SWIG_AsInt(obj1
);
5900 if (PyErr_Occurred()) SWIG_fail
;
5901 arg3
= (int) SWIG_AsInt(obj2
);
5902 if (PyErr_Occurred()) SWIG_fail
;
5903 arg4
= (int) SWIG_AsInt(obj3
);
5904 if (PyErr_Occurred()) SWIG_fail
;
5905 arg5
= (int) SWIG_AsInt(obj4
);
5906 if (PyErr_Occurred()) SWIG_fail
;
5908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5909 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5911 wxPyEndAllowThreads(__tstate
);
5912 if (PyErr_Occurred()) SWIG_fail
;
5915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5923 static PyObject
*_wrap_Region_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5924 PyObject
*resultobj
;
5925 wxRegion
*arg1
= (wxRegion
*) 0 ;
5929 PyObject
* obj0
= 0 ;
5930 PyObject
* obj1
= 0 ;
5932 (char *) "self",(char *) "rect", NULL
5935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5940 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5944 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5946 wxPyEndAllowThreads(__tstate
);
5947 if (PyErr_Occurred()) SWIG_fail
;
5950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5958 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5959 PyObject
*resultobj
;
5960 wxRegion
*arg1
= (wxRegion
*) 0 ;
5961 wxRegion
*arg2
= 0 ;
5963 PyObject
* obj0
= 0 ;
5964 PyObject
* obj1
= 0 ;
5966 (char *) "self",(char *) "region", NULL
5969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5972 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5973 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5976 PyErr_SetString(PyExc_TypeError
,"null reference");
5980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5981 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5983 wxPyEndAllowThreads(__tstate
);
5984 if (PyErr_Occurred()) SWIG_fail
;
5987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5995 static PyObject
*_wrap_Region_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5996 PyObject
*resultobj
;
5997 wxRegion
*arg1
= (wxRegion
*) 0 ;
6003 PyObject
* obj0
= 0 ;
6004 PyObject
* obj1
= 0 ;
6005 PyObject
* obj2
= 0 ;
6006 PyObject
* obj3
= 0 ;
6007 PyObject
* obj4
= 0 ;
6009 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6015 arg2
= (int) SWIG_AsInt(obj1
);
6016 if (PyErr_Occurred()) SWIG_fail
;
6017 arg3
= (int) SWIG_AsInt(obj2
);
6018 if (PyErr_Occurred()) SWIG_fail
;
6019 arg4
= (int) SWIG_AsInt(obj3
);
6020 if (PyErr_Occurred()) SWIG_fail
;
6021 arg5
= (int) SWIG_AsInt(obj4
);
6022 if (PyErr_Occurred()) SWIG_fail
;
6024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6025 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
6027 wxPyEndAllowThreads(__tstate
);
6028 if (PyErr_Occurred()) SWIG_fail
;
6031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6039 static PyObject
*_wrap_Region_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6040 PyObject
*resultobj
;
6041 wxRegion
*arg1
= (wxRegion
*) 0 ;
6045 PyObject
* obj0
= 0 ;
6046 PyObject
* obj1
= 0 ;
6048 (char *) "self",(char *) "rect", NULL
6051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6056 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6060 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
6062 wxPyEndAllowThreads(__tstate
);
6063 if (PyErr_Occurred()) SWIG_fail
;
6066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6074 static PyObject
*_wrap_Region_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6075 PyObject
*resultobj
;
6076 wxRegion
*arg1
= (wxRegion
*) 0 ;
6077 wxRegion
*arg2
= 0 ;
6079 PyObject
* obj0
= 0 ;
6080 PyObject
* obj1
= 0 ;
6082 (char *) "self",(char *) "region", NULL
6085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6088 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
6089 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6092 PyErr_SetString(PyExc_TypeError
,"null reference");
6096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6097 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
6099 wxPyEndAllowThreads(__tstate
);
6100 if (PyErr_Occurred()) SWIG_fail
;
6103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6111 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6112 PyObject
*resultobj
;
6113 wxRegion
*arg1
= (wxRegion
*) 0 ;
6114 SwigValueWrapper
< wxBitmap
> result
;
6115 PyObject
* obj0
= 0 ;
6117 (char *) "self", NULL
6120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
6121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6125 result
= (arg1
)->ConvertToBitmap();
6127 wxPyEndAllowThreads(__tstate
);
6128 if (PyErr_Occurred()) SWIG_fail
;
6131 wxBitmap
* resultptr
;
6132 resultptr
= new wxBitmap((wxBitmap
&) result
);
6133 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6141 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6142 PyObject
*resultobj
;
6143 wxRegion
*arg1
= (wxRegion
*) 0 ;
6144 wxBitmap
*arg2
= 0 ;
6145 wxColour
const &arg3_defvalue
= wxNullColour
;
6146 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
6147 int arg4
= (int) 0 ;
6150 PyObject
* obj0
= 0 ;
6151 PyObject
* obj1
= 0 ;
6152 PyObject
* obj2
= 0 ;
6153 PyObject
* obj3
= 0 ;
6155 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
6158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6161 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
6162 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6165 PyErr_SetString(PyExc_TypeError
,"null reference");
6171 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6175 arg4
= (int) SWIG_AsInt(obj3
);
6176 if (PyErr_Occurred()) SWIG_fail
;
6179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6180 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
6182 wxPyEndAllowThreads(__tstate
);
6183 if (PyErr_Occurred()) SWIG_fail
;
6186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6194 static PyObject
* Region_swigregister(PyObject
*self
, PyObject
*args
) {
6196 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6197 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
6199 return Py_BuildValue((char *)"");
6201 static PyObject
*_wrap_new_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6202 PyObject
*resultobj
;
6203 wxRegion
*arg1
= 0 ;
6204 wxRegionIterator
*result
;
6205 PyObject
* obj0
= 0 ;
6207 (char *) "region", NULL
6210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
6211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6212 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6215 PyErr_SetString(PyExc_TypeError
,"null reference");
6219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6220 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
6222 wxPyEndAllowThreads(__tstate
);
6223 if (PyErr_Occurred()) SWIG_fail
;
6225 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
6232 static PyObject
*_wrap_delete_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6233 PyObject
*resultobj
;
6234 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6235 PyObject
* obj0
= 0 ;
6237 (char *) "self", NULL
6240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
6241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6247 wxPyEndAllowThreads(__tstate
);
6248 if (PyErr_Occurred()) SWIG_fail
;
6250 Py_INCREF(Py_None
); resultobj
= Py_None
;
6257 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6258 PyObject
*resultobj
;
6259 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6261 PyObject
* obj0
= 0 ;
6263 (char *) "self", NULL
6266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
6267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6271 result
= (int)(arg1
)->GetX();
6273 wxPyEndAllowThreads(__tstate
);
6274 if (PyErr_Occurred()) SWIG_fail
;
6276 resultobj
= SWIG_FromInt((int)result
);
6283 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6284 PyObject
*resultobj
;
6285 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6287 PyObject
* obj0
= 0 ;
6289 (char *) "self", NULL
6292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
6293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6297 result
= (int)(arg1
)->GetY();
6299 wxPyEndAllowThreads(__tstate
);
6300 if (PyErr_Occurred()) SWIG_fail
;
6302 resultobj
= SWIG_FromInt((int)result
);
6309 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6310 PyObject
*resultobj
;
6311 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6313 PyObject
* obj0
= 0 ;
6315 (char *) "self", NULL
6318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
6319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6323 result
= (int)(arg1
)->GetW();
6325 wxPyEndAllowThreads(__tstate
);
6326 if (PyErr_Occurred()) SWIG_fail
;
6328 resultobj
= SWIG_FromInt((int)result
);
6335 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6336 PyObject
*resultobj
;
6337 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6339 PyObject
* obj0
= 0 ;
6341 (char *) "self", NULL
6344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
6345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6349 result
= (int)(arg1
)->GetWidth();
6351 wxPyEndAllowThreads(__tstate
);
6352 if (PyErr_Occurred()) SWIG_fail
;
6354 resultobj
= SWIG_FromInt((int)result
);
6361 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6362 PyObject
*resultobj
;
6363 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6365 PyObject
* obj0
= 0 ;
6367 (char *) "self", NULL
6370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
6371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6375 result
= (int)(arg1
)->GetH();
6377 wxPyEndAllowThreads(__tstate
);
6378 if (PyErr_Occurred()) SWIG_fail
;
6380 resultobj
= SWIG_FromInt((int)result
);
6387 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6388 PyObject
*resultobj
;
6389 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6391 PyObject
* obj0
= 0 ;
6393 (char *) "self", NULL
6396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
6397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6401 result
= (int)(arg1
)->GetHeight();
6403 wxPyEndAllowThreads(__tstate
);
6404 if (PyErr_Occurred()) SWIG_fail
;
6406 resultobj
= SWIG_FromInt((int)result
);
6413 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6414 PyObject
*resultobj
;
6415 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6417 PyObject
* obj0
= 0 ;
6419 (char *) "self", NULL
6422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",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 result
= (arg1
)->GetRect();
6429 wxPyEndAllowThreads(__tstate
);
6430 if (PyErr_Occurred()) SWIG_fail
;
6434 resultptr
= new wxRect((wxRect
&) result
);
6435 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
6443 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6444 PyObject
*resultobj
;
6445 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6447 PyObject
* obj0
= 0 ;
6449 (char *) "self", NULL
6452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
6453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6457 result
= (bool)(arg1
)->HaveRects();
6459 wxPyEndAllowThreads(__tstate
);
6460 if (PyErr_Occurred()) SWIG_fail
;
6463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6471 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6472 PyObject
*resultobj
;
6473 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6474 PyObject
* obj0
= 0 ;
6476 (char *) "self", NULL
6479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
6480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6486 wxPyEndAllowThreads(__tstate
);
6487 if (PyErr_Occurred()) SWIG_fail
;
6489 Py_INCREF(Py_None
); resultobj
= Py_None
;
6496 static PyObject
*_wrap_RegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6497 PyObject
*resultobj
;
6498 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6499 PyObject
* obj0
= 0 ;
6501 (char *) "self", NULL
6504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
6505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6509 wxRegionIterator_Next(arg1
);
6511 wxPyEndAllowThreads(__tstate
);
6512 if (PyErr_Occurred()) SWIG_fail
;
6514 Py_INCREF(Py_None
); resultobj
= Py_None
;
6521 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6522 PyObject
*resultobj
;
6523 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6525 PyObject
* obj0
= 0 ;
6527 (char *) "self", NULL
6530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
6531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6535 result
= (bool)wxRegionIterator___nonzero__(arg1
);
6537 wxPyEndAllowThreads(__tstate
);
6538 if (PyErr_Occurred()) SWIG_fail
;
6541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6549 static PyObject
* RegionIterator_swigregister(PyObject
*self
, PyObject
*args
) {
6551 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6552 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
6554 return Py_BuildValue((char *)"");
6556 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6557 PyObject
*resultobj
;
6558 wxNativeFontInfo
*result
;
6563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
6565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6566 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
6568 wxPyEndAllowThreads(__tstate
);
6569 if (PyErr_Occurred()) SWIG_fail
;
6571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
6578 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6579 PyObject
*resultobj
;
6580 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6581 PyObject
* obj0
= 0 ;
6583 (char *) "self", NULL
6586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
6587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6593 wxPyEndAllowThreads(__tstate
);
6594 if (PyErr_Occurred()) SWIG_fail
;
6596 Py_INCREF(Py_None
); resultobj
= Py_None
;
6603 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6604 PyObject
*resultobj
;
6605 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6606 PyObject
* obj0
= 0 ;
6608 (char *) "self", NULL
6611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
6612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6618 wxPyEndAllowThreads(__tstate
);
6619 if (PyErr_Occurred()) SWIG_fail
;
6621 Py_INCREF(Py_None
); resultobj
= Py_None
;
6628 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6629 PyObject
*resultobj
;
6630 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6632 PyObject
* obj0
= 0 ;
6633 PyObject
* obj1
= 0 ;
6635 (char *) "self",(char *) "font", NULL
6638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6641 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6642 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6645 PyErr_SetString(PyExc_TypeError
,"null reference");
6649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6650 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
6652 wxPyEndAllowThreads(__tstate
);
6653 if (PyErr_Occurred()) SWIG_fail
;
6655 Py_INCREF(Py_None
); resultobj
= Py_None
;
6662 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6663 PyObject
*resultobj
;
6664 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6666 PyObject
* obj0
= 0 ;
6668 (char *) "self", NULL
6671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
6672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6676 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
6678 wxPyEndAllowThreads(__tstate
);
6679 if (PyErr_Occurred()) SWIG_fail
;
6681 resultobj
= SWIG_FromInt((int)result
);
6688 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6689 PyObject
*resultobj
;
6690 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6692 PyObject
* obj0
= 0 ;
6694 (char *) "self", NULL
6697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
6698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6702 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
6704 wxPyEndAllowThreads(__tstate
);
6705 if (PyErr_Occurred()) SWIG_fail
;
6707 resultobj
= SWIG_FromInt((int)result
);
6714 static PyObject
*_wrap_NativeFontInfo_GetWeight(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_GetWeight",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
)->GetWeight();
6730 wxPyEndAllowThreads(__tstate
);
6731 if (PyErr_Occurred()) SWIG_fail
;
6733 resultobj
= SWIG_FromInt((int)result
);
6740 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(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_GetUnderlined",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
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6756 wxPyEndAllowThreads(__tstate
);
6757 if (PyErr_Occurred()) SWIG_fail
;
6760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6768 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6769 PyObject
*resultobj
;
6770 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6772 PyObject
* obj0
= 0 ;
6774 (char *) "self", NULL
6777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
6778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6782 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6784 wxPyEndAllowThreads(__tstate
);
6785 if (PyErr_Occurred()) SWIG_fail
;
6789 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6791 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6800 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6801 PyObject
*resultobj
;
6802 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6804 PyObject
* obj0
= 0 ;
6806 (char *) "self", NULL
6809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6814 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6816 wxPyEndAllowThreads(__tstate
);
6817 if (PyErr_Occurred()) SWIG_fail
;
6819 resultobj
= SWIG_FromInt((int)result
);
6826 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6827 PyObject
*resultobj
;
6828 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6830 PyObject
* obj0
= 0 ;
6832 (char *) "self", NULL
6835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6840 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6842 wxPyEndAllowThreads(__tstate
);
6843 if (PyErr_Occurred()) SWIG_fail
;
6845 resultobj
= SWIG_FromInt((int)result
);
6852 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6853 PyObject
*resultobj
;
6854 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6856 PyObject
* obj0
= 0 ;
6857 PyObject
* obj1
= 0 ;
6859 (char *) "self",(char *) "pointsize", NULL
6862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6865 arg2
= (int) SWIG_AsInt(obj1
);
6866 if (PyErr_Occurred()) SWIG_fail
;
6868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6869 (arg1
)->SetPointSize(arg2
);
6871 wxPyEndAllowThreads(__tstate
);
6872 if (PyErr_Occurred()) SWIG_fail
;
6874 Py_INCREF(Py_None
); resultobj
= Py_None
;
6881 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6882 PyObject
*resultobj
;
6883 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6885 PyObject
* obj0
= 0 ;
6886 PyObject
* obj1
= 0 ;
6888 (char *) "self",(char *) "style", NULL
6891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
6892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6894 arg2
= (wxFontStyle
) SWIG_AsInt(obj1
);
6895 if (PyErr_Occurred()) SWIG_fail
;
6897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6898 (arg1
)->SetStyle((wxFontStyle
)arg2
);
6900 wxPyEndAllowThreads(__tstate
);
6901 if (PyErr_Occurred()) SWIG_fail
;
6903 Py_INCREF(Py_None
); resultobj
= Py_None
;
6910 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6911 PyObject
*resultobj
;
6912 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6914 PyObject
* obj0
= 0 ;
6915 PyObject
* obj1
= 0 ;
6917 (char *) "self",(char *) "weight", NULL
6920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6923 arg2
= (wxFontWeight
) SWIG_AsInt(obj1
);
6924 if (PyErr_Occurred()) SWIG_fail
;
6926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6927 (arg1
)->SetWeight((wxFontWeight
)arg2
);
6929 wxPyEndAllowThreads(__tstate
);
6930 if (PyErr_Occurred()) SWIG_fail
;
6932 Py_INCREF(Py_None
); resultobj
= Py_None
;
6939 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6940 PyObject
*resultobj
;
6941 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6943 PyObject
* obj0
= 0 ;
6944 PyObject
* obj1
= 0 ;
6946 (char *) "self",(char *) "underlined", NULL
6949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6952 arg2
= (bool) SWIG_AsBool(obj1
);
6953 if (PyErr_Occurred()) SWIG_fail
;
6955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6956 (arg1
)->SetUnderlined(arg2
);
6958 wxPyEndAllowThreads(__tstate
);
6959 if (PyErr_Occurred()) SWIG_fail
;
6961 Py_INCREF(Py_None
); resultobj
= Py_None
;
6968 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6969 PyObject
*resultobj
;
6970 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6972 PyObject
* obj0
= 0 ;
6973 PyObject
* obj1
= 0 ;
6975 (char *) "self",(char *) "facename", NULL
6978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6982 wxString
* sptr
= wxString_in_helper(obj1
);
6983 if (sptr
== NULL
) SWIG_fail
;
6988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6989 (arg1
)->SetFaceName(arg2
);
6991 wxPyEndAllowThreads(__tstate
);
6992 if (PyErr_Occurred()) SWIG_fail
;
6994 Py_INCREF(Py_None
); resultobj
= Py_None
;
7001 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7002 PyObject
*resultobj
;
7003 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7005 PyObject
* obj0
= 0 ;
7006 PyObject
* obj1
= 0 ;
7008 (char *) "self",(char *) "family", NULL
7011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
7012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7014 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
7015 if (PyErr_Occurred()) SWIG_fail
;
7017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7018 (arg1
)->SetFamily((wxFontFamily
)arg2
);
7020 wxPyEndAllowThreads(__tstate
);
7021 if (PyErr_Occurred()) SWIG_fail
;
7023 Py_INCREF(Py_None
); resultobj
= Py_None
;
7030 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7031 PyObject
*resultobj
;
7032 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7034 PyObject
* obj0
= 0 ;
7035 PyObject
* obj1
= 0 ;
7037 (char *) "self",(char *) "encoding", NULL
7040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
7041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7043 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7044 if (PyErr_Occurred()) SWIG_fail
;
7046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7047 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
7049 wxPyEndAllowThreads(__tstate
);
7050 if (PyErr_Occurred()) SWIG_fail
;
7052 Py_INCREF(Py_None
); resultobj
= Py_None
;
7059 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7060 PyObject
*resultobj
;
7061 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7062 wxString
*arg2
= 0 ;
7064 bool temp2
= False
;
7065 PyObject
* obj0
= 0 ;
7066 PyObject
* obj1
= 0 ;
7068 (char *) "self",(char *) "s", NULL
7071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
7072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7075 arg2
= wxString_in_helper(obj1
);
7076 if (arg2
== NULL
) SWIG_fail
;
7080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7081 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
7083 wxPyEndAllowThreads(__tstate
);
7084 if (PyErr_Occurred()) SWIG_fail
;
7087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7103 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7104 PyObject
*resultobj
;
7105 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7107 PyObject
* obj0
= 0 ;
7109 (char *) "self", NULL
7112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
7113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7117 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
7119 wxPyEndAllowThreads(__tstate
);
7120 if (PyErr_Occurred()) SWIG_fail
;
7124 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7126 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7135 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7136 PyObject
*resultobj
;
7137 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7139 PyObject
* obj0
= 0 ;
7141 (char *) "self", NULL
7144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
7145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7149 result
= wxNativeFontInfo___str__(arg1
);
7151 wxPyEndAllowThreads(__tstate
);
7152 if (PyErr_Occurred()) SWIG_fail
;
7156 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7158 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7167 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7168 PyObject
*resultobj
;
7169 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7170 wxString
*arg2
= 0 ;
7172 bool temp2
= False
;
7173 PyObject
* obj0
= 0 ;
7174 PyObject
* obj1
= 0 ;
7176 (char *) "self",(char *) "s", NULL
7179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
7180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7183 arg2
= wxString_in_helper(obj1
);
7184 if (arg2
== NULL
) SWIG_fail
;
7188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7189 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
7191 wxPyEndAllowThreads(__tstate
);
7192 if (PyErr_Occurred()) SWIG_fail
;
7195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7211 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7212 PyObject
*resultobj
;
7213 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7215 PyObject
* obj0
= 0 ;
7217 (char *) "self", NULL
7220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
7221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7225 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
7227 wxPyEndAllowThreads(__tstate
);
7228 if (PyErr_Occurred()) SWIG_fail
;
7232 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7234 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7243 static PyObject
* NativeFontInfo_swigregister(PyObject
*self
, PyObject
*args
) {
7245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7246 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
7248 return Py_BuildValue((char *)"");
7250 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7251 PyObject
*resultobj
;
7252 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7253 wxString
*arg2
= (wxString
*) 0 ;
7254 bool temp2
= False
;
7255 PyObject
* obj0
= 0 ;
7256 PyObject
* obj1
= 0 ;
7258 (char *) "self",(char *) "facename", NULL
7261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7265 arg2
= wxString_in_helper(obj1
);
7266 if (arg2
== NULL
) SWIG_fail
;
7269 if (arg1
) (arg1
)->facename
= *arg2
;
7271 Py_INCREF(Py_None
); resultobj
= Py_None
;
7286 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7287 PyObject
*resultobj
;
7288 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7290 PyObject
* obj0
= 0 ;
7292 (char *) "self", NULL
7295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
7296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7298 result
= (wxString
*)& ((arg1
)->facename
);
7302 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
7304 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
7313 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7314 PyObject
*resultobj
;
7315 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7317 PyObject
* obj0
= 0 ;
7318 PyObject
* obj1
= 0 ;
7320 (char *) "self",(char *) "encoding", NULL
7323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7326 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7327 if (PyErr_Occurred()) SWIG_fail
;
7328 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
7330 Py_INCREF(Py_None
); resultobj
= Py_None
;
7337 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7338 PyObject
*resultobj
;
7339 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7341 PyObject
* obj0
= 0 ;
7343 (char *) "self", NULL
7346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
7347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7349 result
= (int) ((arg1
)->encoding
);
7351 resultobj
= SWIG_FromInt((int)result
);
7358 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7359 PyObject
*resultobj
;
7360 wxNativeEncodingInfo
*result
;
7365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
7367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7368 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
7370 wxPyEndAllowThreads(__tstate
);
7371 if (PyErr_Occurred()) SWIG_fail
;
7373 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
7380 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7381 PyObject
*resultobj
;
7382 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7383 PyObject
* obj0
= 0 ;
7385 (char *) "self", NULL
7388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
7389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7395 wxPyEndAllowThreads(__tstate
);
7396 if (PyErr_Occurred()) SWIG_fail
;
7398 Py_INCREF(Py_None
); resultobj
= Py_None
;
7405 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7406 PyObject
*resultobj
;
7407 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7408 wxString
*arg2
= 0 ;
7410 bool temp2
= False
;
7411 PyObject
* obj0
= 0 ;
7412 PyObject
* obj1
= 0 ;
7414 (char *) "self",(char *) "s", NULL
7417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
7418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7421 arg2
= wxString_in_helper(obj1
);
7422 if (arg2
== NULL
) SWIG_fail
;
7426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7427 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
7429 wxPyEndAllowThreads(__tstate
);
7430 if (PyErr_Occurred()) SWIG_fail
;
7433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7449 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7450 PyObject
*resultobj
;
7451 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7453 PyObject
* obj0
= 0 ;
7455 (char *) "self", NULL
7458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
7459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7463 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
7465 wxPyEndAllowThreads(__tstate
);
7466 if (PyErr_Occurred()) SWIG_fail
;
7470 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7472 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7481 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*self
, PyObject
*args
) {
7483 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7484 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
7486 return Py_BuildValue((char *)"");
7488 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7489 PyObject
*resultobj
;
7491 wxNativeEncodingInfo
*result
;
7492 PyObject
* obj0
= 0 ;
7494 (char *) "encoding", NULL
7497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
7498 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7499 if (PyErr_Occurred()) SWIG_fail
;
7501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7502 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
7504 wxPyEndAllowThreads(__tstate
);
7505 if (PyErr_Occurred()) SWIG_fail
;
7507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
7514 static PyObject
*_wrap_TestFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7515 PyObject
*resultobj
;
7516 wxNativeEncodingInfo
*arg1
= 0 ;
7518 PyObject
* obj0
= 0 ;
7520 (char *) "info", NULL
7523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
7524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7525 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7528 PyErr_SetString(PyExc_TypeError
,"null reference");
7532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7533 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
7535 wxPyEndAllowThreads(__tstate
);
7536 if (PyErr_Occurred()) SWIG_fail
;
7539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7547 static PyObject
*_wrap_new_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7548 PyObject
*resultobj
;
7549 wxFontMapper
*result
;
7554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
7556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7557 result
= (wxFontMapper
*)new wxFontMapper();
7559 wxPyEndAllowThreads(__tstate
);
7560 if (PyErr_Occurred()) SWIG_fail
;
7562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
7569 static PyObject
*_wrap_delete_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7570 PyObject
*resultobj
;
7571 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7572 PyObject
* obj0
= 0 ;
7574 (char *) "self", NULL
7577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
7578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7584 wxPyEndAllowThreads(__tstate
);
7585 if (PyErr_Occurred()) SWIG_fail
;
7587 Py_INCREF(Py_None
); resultobj
= Py_None
;
7594 static PyObject
*_wrap_FontMapper_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7595 PyObject
*resultobj
;
7596 wxFontMapper
*result
;
7601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
7603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7604 result
= (wxFontMapper
*)wxFontMapper::Get();
7606 wxPyEndAllowThreads(__tstate
);
7607 if (PyErr_Occurred()) SWIG_fail
;
7609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7616 static PyObject
*_wrap_FontMapper_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7617 PyObject
*resultobj
;
7618 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7619 wxFontMapper
*result
;
7620 PyObject
* obj0
= 0 ;
7622 (char *) "mapper", NULL
7625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
7626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7630 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
7632 wxPyEndAllowThreads(__tstate
);
7633 if (PyErr_Occurred()) SWIG_fail
;
7635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7642 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7643 PyObject
*resultobj
;
7644 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7645 wxString
*arg2
= 0 ;
7646 bool arg3
= (bool) True
;
7648 bool temp2
= False
;
7649 PyObject
* obj0
= 0 ;
7650 PyObject
* obj1
= 0 ;
7651 PyObject
* obj2
= 0 ;
7653 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7660 arg2
= wxString_in_helper(obj1
);
7661 if (arg2
== NULL
) SWIG_fail
;
7665 arg3
= (bool) SWIG_AsBool(obj2
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7670 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
7672 wxPyEndAllowThreads(__tstate
);
7673 if (PyErr_Occurred()) SWIG_fail
;
7675 resultobj
= SWIG_FromInt((int)result
);
7690 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7691 PyObject
*resultobj
;
7697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
7699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7700 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
7702 wxPyEndAllowThreads(__tstate
);
7703 if (PyErr_Occurred()) SWIG_fail
;
7705 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7712 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7713 PyObject
*resultobj
;
7716 PyObject
* obj0
= 0 ;
7721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7722 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
7723 if (PyErr_Occurred()) SWIG_fail
;
7725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7726 result
= (int)wxFontMapper::GetEncoding(arg1
);
7728 wxPyEndAllowThreads(__tstate
);
7729 if (PyErr_Occurred()) SWIG_fail
;
7731 resultobj
= SWIG_FromInt((int)result
);
7738 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7739 PyObject
*resultobj
;
7742 PyObject
* obj0
= 0 ;
7744 (char *) "encoding", NULL
7747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
7748 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7749 if (PyErr_Occurred()) SWIG_fail
;
7751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7752 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7754 wxPyEndAllowThreads(__tstate
);
7755 if (PyErr_Occurred()) SWIG_fail
;
7759 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7761 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7770 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7771 PyObject
*resultobj
;
7774 PyObject
* obj0
= 0 ;
7776 (char *) "encoding", NULL
7779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7780 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7781 if (PyErr_Occurred()) SWIG_fail
;
7783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7784 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7786 wxPyEndAllowThreads(__tstate
);
7787 if (PyErr_Occurred()) SWIG_fail
;
7791 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7793 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7802 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7803 PyObject
*resultobj
;
7804 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7805 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
7806 PyObject
* obj0
= 0 ;
7807 PyObject
* obj1
= 0 ;
7809 (char *) "self",(char *) "config", NULL
7812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7815 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
7816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7819 (arg1
)->SetConfig(arg2
);
7821 wxPyEndAllowThreads(__tstate
);
7822 if (PyErr_Occurred()) SWIG_fail
;
7824 Py_INCREF(Py_None
); resultobj
= Py_None
;
7831 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7832 PyObject
*resultobj
;
7833 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7834 wxString
*arg2
= 0 ;
7835 bool temp2
= False
;
7836 PyObject
* obj0
= 0 ;
7837 PyObject
* obj1
= 0 ;
7839 (char *) "self",(char *) "prefix", NULL
7842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
7843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7846 arg2
= wxString_in_helper(obj1
);
7847 if (arg2
== NULL
) SWIG_fail
;
7851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7852 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
7854 wxPyEndAllowThreads(__tstate
);
7855 if (PyErr_Occurred()) SWIG_fail
;
7857 Py_INCREF(Py_None
); resultobj
= Py_None
;
7872 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7873 PyObject
*resultobj
;
7879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
7881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7882 result
= wxFontMapper::GetDefaultConfigPath();
7884 wxPyEndAllowThreads(__tstate
);
7885 if (PyErr_Occurred()) SWIG_fail
;
7889 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7891 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7900 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7901 PyObject
*resultobj
;
7902 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7904 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7905 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7906 bool arg4
= (bool) True
;
7908 bool temp3
= False
;
7909 PyObject
* obj0
= 0 ;
7910 PyObject
* obj1
= 0 ;
7911 PyObject
* obj2
= 0 ;
7912 PyObject
* obj3
= 0 ;
7914 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7920 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7921 if (PyErr_Occurred()) SWIG_fail
;
7924 arg3
= wxString_in_helper(obj2
);
7925 if (arg3
== NULL
) SWIG_fail
;
7930 arg4
= (bool) SWIG_AsBool(obj3
);
7931 if (PyErr_Occurred()) SWIG_fail
;
7934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7935 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
7937 wxPyEndAllowThreads(__tstate
);
7938 if (PyErr_Occurred()) SWIG_fail
;
7955 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7956 PyObject
*resultobj
;
7957 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7959 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7960 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7962 bool temp3
= False
;
7963 PyObject
* obj0
= 0 ;
7964 PyObject
* obj1
= 0 ;
7965 PyObject
* obj2
= 0 ;
7967 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7973 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7974 if (PyErr_Occurred()) SWIG_fail
;
7977 arg3
= wxString_in_helper(obj2
);
7978 if (arg3
== NULL
) SWIG_fail
;
7983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7984 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
7986 wxPyEndAllowThreads(__tstate
);
7987 if (PyErr_Occurred()) SWIG_fail
;
7990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8006 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8007 PyObject
*resultobj
;
8008 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8009 wxWindow
*arg2
= (wxWindow
*) 0 ;
8010 PyObject
* obj0
= 0 ;
8011 PyObject
* obj1
= 0 ;
8013 (char *) "self",(char *) "parent", NULL
8016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
8017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
8018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8019 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8023 (arg1
)->SetDialogParent(arg2
);
8025 wxPyEndAllowThreads(__tstate
);
8026 if (PyErr_Occurred()) SWIG_fail
;
8028 Py_INCREF(Py_None
); resultobj
= Py_None
;
8035 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8036 PyObject
*resultobj
;
8037 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8038 wxString
*arg2
= 0 ;
8039 bool temp2
= False
;
8040 PyObject
* obj0
= 0 ;
8041 PyObject
* obj1
= 0 ;
8043 (char *) "self",(char *) "title", NULL
8046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
8047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
8048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8050 arg2
= wxString_in_helper(obj1
);
8051 if (arg2
== NULL
) SWIG_fail
;
8055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8056 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
8058 wxPyEndAllowThreads(__tstate
);
8059 if (PyErr_Occurred()) SWIG_fail
;
8061 Py_INCREF(Py_None
); resultobj
= Py_None
;
8076 static PyObject
* FontMapper_swigregister(PyObject
*self
, PyObject
*args
) {
8078 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8079 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
8081 return Py_BuildValue((char *)"");
8083 static PyObject
*_wrap_new_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8084 PyObject
*resultobj
;
8089 bool arg5
= (bool) False
;
8090 wxString
const &arg6_defvalue
= wxPyEmptyString
;
8091 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8092 int arg7
= (int) wxFONTENCODING_DEFAULT
;
8094 bool temp6
= False
;
8095 PyObject
* obj0
= 0 ;
8096 PyObject
* obj1
= 0 ;
8097 PyObject
* obj2
= 0 ;
8098 PyObject
* obj3
= 0 ;
8099 PyObject
* obj4
= 0 ;
8100 PyObject
* obj5
= 0 ;
8101 PyObject
* obj6
= 0 ;
8103 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
8106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8107 arg1
= (int) SWIG_AsInt(obj0
);
8108 if (PyErr_Occurred()) SWIG_fail
;
8109 arg2
= (int) SWIG_AsInt(obj1
);
8110 if (PyErr_Occurred()) SWIG_fail
;
8111 arg3
= (int) SWIG_AsInt(obj2
);
8112 if (PyErr_Occurred()) SWIG_fail
;
8113 arg4
= (int) SWIG_AsInt(obj3
);
8114 if (PyErr_Occurred()) SWIG_fail
;
8116 arg5
= (bool) SWIG_AsBool(obj4
);
8117 if (PyErr_Occurred()) SWIG_fail
;
8121 arg6
= wxString_in_helper(obj5
);
8122 if (arg6
== NULL
) SWIG_fail
;
8127 arg7
= (wxFontEncoding
) SWIG_AsInt(obj6
);
8128 if (PyErr_Occurred()) SWIG_fail
;
8131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8132 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
8134 wxPyEndAllowThreads(__tstate
);
8135 if (PyErr_Occurred()) SWIG_fail
;
8137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8152 static PyObject
*_wrap_delete_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8153 PyObject
*resultobj
;
8154 wxFont
*arg1
= (wxFont
*) 0 ;
8155 PyObject
* obj0
= 0 ;
8157 (char *) "self", NULL
8160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
8161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8167 wxPyEndAllowThreads(__tstate
);
8168 if (PyErr_Occurred()) SWIG_fail
;
8170 Py_INCREF(Py_None
); resultobj
= Py_None
;
8177 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8178 PyObject
*resultobj
;
8179 wxNativeFontInfo
*arg1
= 0 ;
8181 PyObject
* obj0
= 0 ;
8183 (char *) "info", NULL
8186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
8187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
8188 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8191 PyErr_SetString(PyExc_TypeError
,"null reference");
8195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8196 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
8198 wxPyEndAllowThreads(__tstate
);
8199 if (PyErr_Occurred()) SWIG_fail
;
8201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8208 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8209 PyObject
*resultobj
;
8210 wxString
*arg1
= 0 ;
8212 bool temp1
= False
;
8213 PyObject
* obj0
= 0 ;
8215 (char *) "info", NULL
8218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
8220 arg1
= wxString_in_helper(obj0
);
8221 if (arg1
== NULL
) SWIG_fail
;
8225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8226 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
8228 wxPyEndAllowThreads(__tstate
);
8229 if (PyErr_Occurred()) SWIG_fail
;
8231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8246 static PyObject
*_wrap_new_Font2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8247 PyObject
*resultobj
;
8250 int arg3
= (int) wxFONTFLAG_DEFAULT
;
8251 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8252 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8253 int arg5
= (int) wxFONTENCODING_DEFAULT
;
8255 bool temp4
= False
;
8256 PyObject
* obj0
= 0 ;
8257 PyObject
* obj1
= 0 ;
8258 PyObject
* obj2
= 0 ;
8259 PyObject
* obj3
= 0 ;
8260 PyObject
* obj4
= 0 ;
8262 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
8265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8266 arg1
= (int) SWIG_AsInt(obj0
);
8267 if (PyErr_Occurred()) SWIG_fail
;
8268 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
8269 if (PyErr_Occurred()) SWIG_fail
;
8271 arg3
= (int) SWIG_AsInt(obj2
);
8272 if (PyErr_Occurred()) SWIG_fail
;
8276 arg4
= wxString_in_helper(obj3
);
8277 if (arg4
== NULL
) SWIG_fail
;
8282 arg5
= (wxFontEncoding
) SWIG_AsInt(obj4
);
8283 if (PyErr_Occurred()) SWIG_fail
;
8286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8287 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
8289 wxPyEndAllowThreads(__tstate
);
8290 if (PyErr_Occurred()) SWIG_fail
;
8292 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8307 static PyObject
*_wrap_Font_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8308 PyObject
*resultobj
;
8309 wxFont
*arg1
= (wxFont
*) 0 ;
8311 PyObject
* obj0
= 0 ;
8313 (char *) "self", NULL
8316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
8317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8321 result
= (bool)((wxFont
const *)arg1
)->Ok();
8323 wxPyEndAllowThreads(__tstate
);
8324 if (PyErr_Occurred()) SWIG_fail
;
8327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8335 static PyObject
*_wrap_Font___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8336 PyObject
*resultobj
;
8337 wxFont
*arg1
= (wxFont
*) 0 ;
8338 wxFont
*arg2
= (wxFont
*) 0 ;
8340 PyObject
* obj0
= 0 ;
8341 PyObject
* obj1
= 0 ;
8343 (char *) "self",(char *) "other", NULL
8346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
8347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8349 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
8350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8353 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
8355 wxPyEndAllowThreads(__tstate
);
8356 if (PyErr_Occurred()) SWIG_fail
;
8359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8367 static PyObject
*_wrap_Font___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8368 PyObject
*resultobj
;
8369 wxFont
*arg1
= (wxFont
*) 0 ;
8370 wxFont
*arg2
= (wxFont
*) 0 ;
8372 PyObject
* obj0
= 0 ;
8373 PyObject
* obj1
= 0 ;
8375 (char *) "self",(char *) "other", NULL
8378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
8379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8381 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
8382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8385 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
8387 wxPyEndAllowThreads(__tstate
);
8388 if (PyErr_Occurred()) SWIG_fail
;
8391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8399 static PyObject
*_wrap_Font_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8400 PyObject
*resultobj
;
8401 wxFont
*arg1
= (wxFont
*) 0 ;
8403 PyObject
* obj0
= 0 ;
8405 (char *) "self", NULL
8408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
8409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8413 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
8415 wxPyEndAllowThreads(__tstate
);
8416 if (PyErr_Occurred()) SWIG_fail
;
8418 resultobj
= SWIG_FromInt((int)result
);
8425 static PyObject
*_wrap_Font_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8426 PyObject
*resultobj
;
8427 wxFont
*arg1
= (wxFont
*) 0 ;
8429 PyObject
* obj0
= 0 ;
8431 (char *) "self", NULL
8434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
8435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8439 result
= (int)((wxFont
const *)arg1
)->GetFamily();
8441 wxPyEndAllowThreads(__tstate
);
8442 if (PyErr_Occurred()) SWIG_fail
;
8444 resultobj
= SWIG_FromInt((int)result
);
8451 static PyObject
*_wrap_Font_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8452 PyObject
*resultobj
;
8453 wxFont
*arg1
= (wxFont
*) 0 ;
8455 PyObject
* obj0
= 0 ;
8457 (char *) "self", NULL
8460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
8461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8465 result
= (int)((wxFont
const *)arg1
)->GetStyle();
8467 wxPyEndAllowThreads(__tstate
);
8468 if (PyErr_Occurred()) SWIG_fail
;
8470 resultobj
= SWIG_FromInt((int)result
);
8477 static PyObject
*_wrap_Font_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8478 PyObject
*resultobj
;
8479 wxFont
*arg1
= (wxFont
*) 0 ;
8481 PyObject
* obj0
= 0 ;
8483 (char *) "self", NULL
8486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
8487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8491 result
= (int)((wxFont
const *)arg1
)->GetWeight();
8493 wxPyEndAllowThreads(__tstate
);
8494 if (PyErr_Occurred()) SWIG_fail
;
8496 resultobj
= SWIG_FromInt((int)result
);
8503 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8504 PyObject
*resultobj
;
8505 wxFont
*arg1
= (wxFont
*) 0 ;
8507 PyObject
* obj0
= 0 ;
8509 (char *) "self", NULL
8512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
8513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8517 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
8519 wxPyEndAllowThreads(__tstate
);
8520 if (PyErr_Occurred()) SWIG_fail
;
8523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8531 static PyObject
*_wrap_Font_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8532 PyObject
*resultobj
;
8533 wxFont
*arg1
= (wxFont
*) 0 ;
8535 PyObject
* obj0
= 0 ;
8537 (char *) "self", NULL
8540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
8541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8545 result
= ((wxFont
const *)arg1
)->GetFaceName();
8547 wxPyEndAllowThreads(__tstate
);
8548 if (PyErr_Occurred()) SWIG_fail
;
8552 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8554 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8563 static PyObject
*_wrap_Font_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8564 PyObject
*resultobj
;
8565 wxFont
*arg1
= (wxFont
*) 0 ;
8567 PyObject
* obj0
= 0 ;
8569 (char *) "self", NULL
8572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
8573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8577 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
8579 wxPyEndAllowThreads(__tstate
);
8580 if (PyErr_Occurred()) SWIG_fail
;
8582 resultobj
= SWIG_FromInt((int)result
);
8589 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8590 PyObject
*resultobj
;
8591 wxFont
*arg1
= (wxFont
*) 0 ;
8592 wxNativeFontInfo
*result
;
8593 PyObject
* obj0
= 0 ;
8595 (char *) "self", NULL
8598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
8599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8603 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
8605 wxPyEndAllowThreads(__tstate
);
8606 if (PyErr_Occurred()) SWIG_fail
;
8608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
8615 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8616 PyObject
*resultobj
;
8617 wxFont
*arg1
= (wxFont
*) 0 ;
8619 PyObject
* obj0
= 0 ;
8621 (char *) "self", NULL
8624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
8625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8629 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
8631 wxPyEndAllowThreads(__tstate
);
8632 if (PyErr_Occurred()) SWIG_fail
;
8635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8643 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8644 PyObject
*resultobj
;
8645 wxFont
*arg1
= (wxFont
*) 0 ;
8647 PyObject
* obj0
= 0 ;
8649 (char *) "self", NULL
8652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
8653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8657 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
8659 wxPyEndAllowThreads(__tstate
);
8660 if (PyErr_Occurred()) SWIG_fail
;
8664 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8666 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8675 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8676 PyObject
*resultobj
;
8677 wxFont
*arg1
= (wxFont
*) 0 ;
8679 PyObject
* obj0
= 0 ;
8681 (char *) "self", NULL
8684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
8685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8689 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
8691 wxPyEndAllowThreads(__tstate
);
8692 if (PyErr_Occurred()) SWIG_fail
;
8696 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8698 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8707 static PyObject
*_wrap_Font_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8708 PyObject
*resultobj
;
8709 wxFont
*arg1
= (wxFont
*) 0 ;
8711 PyObject
* obj0
= 0 ;
8712 PyObject
* obj1
= 0 ;
8714 (char *) "self",(char *) "pointSize", NULL
8717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8720 arg2
= (int) SWIG_AsInt(obj1
);
8721 if (PyErr_Occurred()) SWIG_fail
;
8723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8724 (arg1
)->SetPointSize(arg2
);
8726 wxPyEndAllowThreads(__tstate
);
8727 if (PyErr_Occurred()) SWIG_fail
;
8729 Py_INCREF(Py_None
); resultobj
= Py_None
;
8736 static PyObject
*_wrap_Font_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8737 PyObject
*resultobj
;
8738 wxFont
*arg1
= (wxFont
*) 0 ;
8740 PyObject
* obj0
= 0 ;
8741 PyObject
* obj1
= 0 ;
8743 (char *) "self",(char *) "family", NULL
8746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8749 arg2
= (int) SWIG_AsInt(obj1
);
8750 if (PyErr_Occurred()) SWIG_fail
;
8752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8753 (arg1
)->SetFamily(arg2
);
8755 wxPyEndAllowThreads(__tstate
);
8756 if (PyErr_Occurred()) SWIG_fail
;
8758 Py_INCREF(Py_None
); resultobj
= Py_None
;
8765 static PyObject
*_wrap_Font_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8766 PyObject
*resultobj
;
8767 wxFont
*arg1
= (wxFont
*) 0 ;
8769 PyObject
* obj0
= 0 ;
8770 PyObject
* obj1
= 0 ;
8772 (char *) "self",(char *) "style", NULL
8775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8778 arg2
= (int) SWIG_AsInt(obj1
);
8779 if (PyErr_Occurred()) SWIG_fail
;
8781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8782 (arg1
)->SetStyle(arg2
);
8784 wxPyEndAllowThreads(__tstate
);
8785 if (PyErr_Occurred()) SWIG_fail
;
8787 Py_INCREF(Py_None
); resultobj
= Py_None
;
8794 static PyObject
*_wrap_Font_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8795 PyObject
*resultobj
;
8796 wxFont
*arg1
= (wxFont
*) 0 ;
8798 PyObject
* obj0
= 0 ;
8799 PyObject
* obj1
= 0 ;
8801 (char *) "self",(char *) "weight", NULL
8804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8807 arg2
= (int) SWIG_AsInt(obj1
);
8808 if (PyErr_Occurred()) SWIG_fail
;
8810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8811 (arg1
)->SetWeight(arg2
);
8813 wxPyEndAllowThreads(__tstate
);
8814 if (PyErr_Occurred()) SWIG_fail
;
8816 Py_INCREF(Py_None
); resultobj
= Py_None
;
8823 static PyObject
*_wrap_Font_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8824 PyObject
*resultobj
;
8825 wxFont
*arg1
= (wxFont
*) 0 ;
8826 wxString
*arg2
= 0 ;
8827 bool temp2
= False
;
8828 PyObject
* obj0
= 0 ;
8829 PyObject
* obj1
= 0 ;
8831 (char *) "self",(char *) "faceName", NULL
8834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8838 arg2
= wxString_in_helper(obj1
);
8839 if (arg2
== NULL
) SWIG_fail
;
8843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8844 (arg1
)->SetFaceName((wxString
const &)*arg2
);
8846 wxPyEndAllowThreads(__tstate
);
8847 if (PyErr_Occurred()) SWIG_fail
;
8849 Py_INCREF(Py_None
); resultobj
= Py_None
;
8864 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8865 PyObject
*resultobj
;
8866 wxFont
*arg1
= (wxFont
*) 0 ;
8868 PyObject
* obj0
= 0 ;
8869 PyObject
* obj1
= 0 ;
8871 (char *) "self",(char *) "underlined", NULL
8874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8877 arg2
= (bool) SWIG_AsBool(obj1
);
8878 if (PyErr_Occurred()) SWIG_fail
;
8880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8881 (arg1
)->SetUnderlined(arg2
);
8883 wxPyEndAllowThreads(__tstate
);
8884 if (PyErr_Occurred()) SWIG_fail
;
8886 Py_INCREF(Py_None
); resultobj
= Py_None
;
8893 static PyObject
*_wrap_Font_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8894 PyObject
*resultobj
;
8895 wxFont
*arg1
= (wxFont
*) 0 ;
8897 PyObject
* obj0
= 0 ;
8898 PyObject
* obj1
= 0 ;
8900 (char *) "self",(char *) "encoding", NULL
8903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8906 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8907 if (PyErr_Occurred()) SWIG_fail
;
8909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8910 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8912 wxPyEndAllowThreads(__tstate
);
8913 if (PyErr_Occurred()) SWIG_fail
;
8915 Py_INCREF(Py_None
); resultobj
= Py_None
;
8922 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8923 PyObject
*resultobj
;
8924 wxFont
*arg1
= (wxFont
*) 0 ;
8925 wxNativeFontInfo
*arg2
= 0 ;
8926 PyObject
* obj0
= 0 ;
8927 PyObject
* obj1
= 0 ;
8929 (char *) "self",(char *) "info", NULL
8932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
8933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8935 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
8936 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8939 PyErr_SetString(PyExc_TypeError
,"null reference");
8943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8944 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
8946 wxPyEndAllowThreads(__tstate
);
8947 if (PyErr_Occurred()) SWIG_fail
;
8949 Py_INCREF(Py_None
); resultobj
= Py_None
;
8956 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8957 PyObject
*resultobj
;
8958 wxFont
*arg1
= (wxFont
*) 0 ;
8959 wxString
*arg2
= 0 ;
8960 bool temp2
= False
;
8961 PyObject
* obj0
= 0 ;
8962 PyObject
* obj1
= 0 ;
8964 (char *) "self",(char *) "info", NULL
8967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8971 arg2
= wxString_in_helper(obj1
);
8972 if (arg2
== NULL
) SWIG_fail
;
8976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8977 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
8979 wxPyEndAllowThreads(__tstate
);
8980 if (PyErr_Occurred()) SWIG_fail
;
8982 Py_INCREF(Py_None
); resultobj
= Py_None
;
8997 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8998 PyObject
*resultobj
;
8999 wxFont
*arg1
= (wxFont
*) 0 ;
9000 wxString
*arg2
= 0 ;
9001 bool temp2
= False
;
9002 PyObject
* obj0
= 0 ;
9003 PyObject
* obj1
= 0 ;
9005 (char *) "self",(char *) "info", NULL
9008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
9009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9012 arg2
= wxString_in_helper(obj1
);
9013 if (arg2
== NULL
) SWIG_fail
;
9017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9018 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
9020 wxPyEndAllowThreads(__tstate
);
9021 if (PyErr_Occurred()) SWIG_fail
;
9023 Py_INCREF(Py_None
); resultobj
= Py_None
;
9038 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9039 PyObject
*resultobj
;
9040 wxFont
*arg1
= (wxFont
*) 0 ;
9042 PyObject
* obj0
= 0 ;
9044 (char *) "self", NULL
9047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
9048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9052 result
= ((wxFont
const *)arg1
)->GetFamilyString();
9054 wxPyEndAllowThreads(__tstate
);
9055 if (PyErr_Occurred()) SWIG_fail
;
9059 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9061 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9070 static PyObject
*_wrap_Font_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9071 PyObject
*resultobj
;
9072 wxFont
*arg1
= (wxFont
*) 0 ;
9074 PyObject
* obj0
= 0 ;
9076 (char *) "self", NULL
9079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
9080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9084 result
= ((wxFont
const *)arg1
)->GetStyleString();
9086 wxPyEndAllowThreads(__tstate
);
9087 if (PyErr_Occurred()) SWIG_fail
;
9091 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9093 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9102 static PyObject
*_wrap_Font_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9103 PyObject
*resultobj
;
9104 wxFont
*arg1
= (wxFont
*) 0 ;
9106 PyObject
* obj0
= 0 ;
9108 (char *) "self", NULL
9111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
9112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9116 result
= ((wxFont
const *)arg1
)->GetWeightString();
9118 wxPyEndAllowThreads(__tstate
);
9119 if (PyErr_Occurred()) SWIG_fail
;
9123 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9125 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9134 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9135 PyObject
*resultobj
;
9136 wxFont
*arg1
= (wxFont
*) 0 ;
9137 bool arg2
= (bool) True
;
9138 PyObject
* obj0
= 0 ;
9139 PyObject
* obj1
= 0 ;
9141 (char *) "self",(char *) "no", NULL
9144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
9145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9148 arg2
= (bool) SWIG_AsBool(obj1
);
9149 if (PyErr_Occurred()) SWIG_fail
;
9152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9153 (arg1
)->SetNoAntiAliasing(arg2
);
9155 wxPyEndAllowThreads(__tstate
);
9156 if (PyErr_Occurred()) SWIG_fail
;
9158 Py_INCREF(Py_None
); resultobj
= Py_None
;
9165 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9166 PyObject
*resultobj
;
9167 wxFont
*arg1
= (wxFont
*) 0 ;
9169 PyObject
* obj0
= 0 ;
9171 (char *) "self", NULL
9174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
9175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9179 result
= (bool)(arg1
)->GetNoAntiAliasing();
9181 wxPyEndAllowThreads(__tstate
);
9182 if (PyErr_Occurred()) SWIG_fail
;
9185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9193 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9194 PyObject
*resultobj
;
9200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
9202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9203 result
= (int)wxFont::GetDefaultEncoding();
9205 wxPyEndAllowThreads(__tstate
);
9206 if (PyErr_Occurred()) SWIG_fail
;
9208 resultobj
= SWIG_FromInt((int)result
);
9215 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9216 PyObject
*resultobj
;
9218 PyObject
* obj0
= 0 ;
9220 (char *) "encoding", NULL
9223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
9224 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
9225 if (PyErr_Occurred()) SWIG_fail
;
9227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9228 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
9230 wxPyEndAllowThreads(__tstate
);
9231 if (PyErr_Occurred()) SWIG_fail
;
9233 Py_INCREF(Py_None
); resultobj
= Py_None
;
9240 static PyObject
* Font_swigregister(PyObject
*self
, PyObject
*args
) {
9242 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9243 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
9245 return Py_BuildValue((char *)"");
9247 static PyObject
*_wrap_new_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9248 PyObject
*resultobj
;
9249 wxPyFontEnumerator
*result
;
9254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
9256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9257 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
9259 wxPyEndAllowThreads(__tstate
);
9260 if (PyErr_Occurred()) SWIG_fail
;
9262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
9269 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9270 PyObject
*resultobj
;
9271 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9272 PyObject
* obj0
= 0 ;
9274 (char *) "self", NULL
9277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
9278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9284 wxPyEndAllowThreads(__tstate
);
9285 if (PyErr_Occurred()) SWIG_fail
;
9287 Py_INCREF(Py_None
); resultobj
= Py_None
;
9294 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9295 PyObject
*resultobj
;
9296 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9297 PyObject
*arg2
= (PyObject
*) 0 ;
9298 PyObject
*arg3
= (PyObject
*) 0 ;
9300 PyObject
* obj0
= 0 ;
9301 PyObject
* obj1
= 0 ;
9302 PyObject
* obj2
= 0 ;
9303 PyObject
* obj3
= 0 ;
9305 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
9308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9313 arg4
= (bool) SWIG_AsBool(obj3
);
9314 if (PyErr_Occurred()) SWIG_fail
;
9316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9317 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
9319 wxPyEndAllowThreads(__tstate
);
9320 if (PyErr_Occurred()) SWIG_fail
;
9322 Py_INCREF(Py_None
); resultobj
= Py_None
;
9329 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9330 PyObject
*resultobj
;
9331 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9332 int arg2
= (int) wxFONTENCODING_SYSTEM
;
9333 bool arg3
= (bool) False
;
9335 PyObject
* obj0
= 0 ;
9336 PyObject
* obj1
= 0 ;
9337 PyObject
* obj2
= 0 ;
9339 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
9342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9346 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
9347 if (PyErr_Occurred()) SWIG_fail
;
9350 arg3
= (bool) SWIG_AsBool(obj2
);
9351 if (PyErr_Occurred()) SWIG_fail
;
9354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9355 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
9357 wxPyEndAllowThreads(__tstate
);
9358 if (PyErr_Occurred()) SWIG_fail
;
9361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9369 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9370 PyObject
*resultobj
;
9371 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9372 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9373 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9375 bool temp2
= False
;
9376 PyObject
* obj0
= 0 ;
9377 PyObject
* obj1
= 0 ;
9379 (char *) "self",(char *) "facename", NULL
9382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
9383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9387 arg2
= wxString_in_helper(obj1
);
9388 if (arg2
== NULL
) SWIG_fail
;
9393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9394 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
9396 wxPyEndAllowThreads(__tstate
);
9397 if (PyErr_Occurred()) SWIG_fail
;
9400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9416 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9417 PyObject
*resultobj
;
9418 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9420 PyObject
* obj0
= 0 ;
9422 (char *) "self", NULL
9425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
9426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9430 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
9432 wxPyEndAllowThreads(__tstate
);
9433 if (PyErr_Occurred()) SWIG_fail
;
9442 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9443 PyObject
*resultobj
;
9444 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9446 PyObject
* obj0
= 0 ;
9448 (char *) "self", NULL
9451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
9452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9456 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
9458 wxPyEndAllowThreads(__tstate
);
9459 if (PyErr_Occurred()) SWIG_fail
;
9468 static PyObject
* FontEnumerator_swigregister(PyObject
*self
, PyObject
*args
) {
9470 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9471 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
9473 return Py_BuildValue((char *)"");
9475 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9476 PyObject
*resultobj
;
9477 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9479 PyObject
* obj0
= 0 ;
9480 PyObject
* obj1
= 0 ;
9482 (char *) "self",(char *) "Language", NULL
9485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9488 arg2
= (int) SWIG_AsInt(obj1
);
9489 if (PyErr_Occurred()) SWIG_fail
;
9490 if (arg1
) (arg1
)->Language
= arg2
;
9492 Py_INCREF(Py_None
); resultobj
= Py_None
;
9499 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9500 PyObject
*resultobj
;
9501 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9503 PyObject
* obj0
= 0 ;
9505 (char *) "self", NULL
9508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
9509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9511 result
= (int) ((arg1
)->Language
);
9513 resultobj
= SWIG_FromInt((int)result
);
9520 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9521 PyObject
*resultobj
;
9522 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9523 wxString
*arg2
= (wxString
*) 0 ;
9524 bool temp2
= False
;
9525 PyObject
* obj0
= 0 ;
9526 PyObject
* obj1
= 0 ;
9528 (char *) "self",(char *) "CanonicalName", NULL
9531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9535 arg2
= wxString_in_helper(obj1
);
9536 if (arg2
== NULL
) SWIG_fail
;
9539 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
9541 Py_INCREF(Py_None
); resultobj
= Py_None
;
9556 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9557 PyObject
*resultobj
;
9558 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9560 PyObject
* obj0
= 0 ;
9562 (char *) "self", NULL
9565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
9566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9568 result
= (wxString
*)& ((arg1
)->CanonicalName
);
9572 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9574 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9583 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9584 PyObject
*resultobj
;
9585 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9586 wxString
*arg2
= (wxString
*) 0 ;
9587 bool temp2
= False
;
9588 PyObject
* obj0
= 0 ;
9589 PyObject
* obj1
= 0 ;
9591 (char *) "self",(char *) "Description", NULL
9594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9598 arg2
= wxString_in_helper(obj1
);
9599 if (arg2
== NULL
) SWIG_fail
;
9602 if (arg1
) (arg1
)->Description
= *arg2
;
9604 Py_INCREF(Py_None
); resultobj
= Py_None
;
9619 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9620 PyObject
*resultobj
;
9621 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9623 PyObject
* obj0
= 0 ;
9625 (char *) "self", NULL
9628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
9629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9631 result
= (wxString
*)& ((arg1
)->Description
);
9635 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9637 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9646 static PyObject
* LanguageInfo_swigregister(PyObject
*self
, PyObject
*args
) {
9648 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9649 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
9651 return Py_BuildValue((char *)"");
9653 static PyObject
*_wrap_new_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9654 PyObject
*resultobj
;
9655 int arg1
= (int) wxLANGUAGE_DEFAULT
;
9656 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9658 PyObject
* obj0
= 0 ;
9659 PyObject
* obj1
= 0 ;
9661 (char *) "language",(char *) "flags", NULL
9664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
9666 arg1
= (int) SWIG_AsInt(obj0
);
9667 if (PyErr_Occurred()) SWIG_fail
;
9670 arg2
= (int) SWIG_AsInt(obj1
);
9671 if (PyErr_Occurred()) SWIG_fail
;
9674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9675 result
= (wxLocale
*)new wxLocale(arg1
,arg2
);
9677 wxPyEndAllowThreads(__tstate
);
9678 if (PyErr_Occurred()) SWIG_fail
;
9680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
9687 static PyObject
*_wrap_delete_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9688 PyObject
*resultobj
;
9689 wxLocale
*arg1
= (wxLocale
*) 0 ;
9690 PyObject
* obj0
= 0 ;
9692 (char *) "self", NULL
9695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
9696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9702 wxPyEndAllowThreads(__tstate
);
9703 if (PyErr_Occurred()) SWIG_fail
;
9705 Py_INCREF(Py_None
); resultobj
= Py_None
;
9712 static PyObject
*_wrap_Locale_Init1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9713 PyObject
*resultobj
;
9714 wxLocale
*arg1
= (wxLocale
*) 0 ;
9715 wxString
*arg2
= 0 ;
9716 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9717 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9718 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9719 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9720 bool arg5
= (bool) True
;
9721 bool arg6
= (bool) False
;
9723 bool temp2
= False
;
9724 bool temp3
= False
;
9725 bool temp4
= False
;
9726 PyObject
* obj0
= 0 ;
9727 PyObject
* obj1
= 0 ;
9728 PyObject
* obj2
= 0 ;
9729 PyObject
* obj3
= 0 ;
9730 PyObject
* obj4
= 0 ;
9731 PyObject
* obj5
= 0 ;
9733 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9740 arg2
= wxString_in_helper(obj1
);
9741 if (arg2
== NULL
) SWIG_fail
;
9746 arg3
= wxString_in_helper(obj2
);
9747 if (arg3
== NULL
) SWIG_fail
;
9753 arg4
= wxString_in_helper(obj3
);
9754 if (arg4
== NULL
) SWIG_fail
;
9759 arg5
= (bool) SWIG_AsBool(obj4
);
9760 if (PyErr_Occurred()) SWIG_fail
;
9763 arg6
= (bool) SWIG_AsBool(obj5
);
9764 if (PyErr_Occurred()) SWIG_fail
;
9767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9768 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
9770 wxPyEndAllowThreads(__tstate
);
9771 if (PyErr_Occurred()) SWIG_fail
;
9774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9806 static PyObject
*_wrap_Locale_Init2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9807 PyObject
*resultobj
;
9808 wxLocale
*arg1
= (wxLocale
*) 0 ;
9809 int arg2
= (int) wxLANGUAGE_DEFAULT
;
9810 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9812 PyObject
* obj0
= 0 ;
9813 PyObject
* obj1
= 0 ;
9814 PyObject
* obj2
= 0 ;
9816 (char *) "self",(char *) "language",(char *) "flags", NULL
9819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9823 arg2
= (int) SWIG_AsInt(obj1
);
9824 if (PyErr_Occurred()) SWIG_fail
;
9827 arg3
= (int) SWIG_AsInt(obj2
);
9828 if (PyErr_Occurred()) SWIG_fail
;
9831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9832 result
= (bool)(arg1
)->Init(arg2
,arg3
);
9834 wxPyEndAllowThreads(__tstate
);
9835 if (PyErr_Occurred()) SWIG_fail
;
9838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9846 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9847 PyObject
*resultobj
;
9853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
9855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9856 result
= (int)wxLocale::GetSystemLanguage();
9858 wxPyEndAllowThreads(__tstate
);
9859 if (PyErr_Occurred()) SWIG_fail
;
9861 resultobj
= SWIG_FromInt((int)result
);
9868 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9869 PyObject
*resultobj
;
9875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
9877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9878 result
= (int)wxLocale::GetSystemEncoding();
9880 wxPyEndAllowThreads(__tstate
);
9881 if (PyErr_Occurred()) SWIG_fail
;
9883 resultobj
= SWIG_FromInt((int)result
);
9890 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9891 PyObject
*resultobj
;
9897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
9899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9900 result
= wxLocale::GetSystemEncodingName();
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_IsOk(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_IsOk",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
= (bool)((wxLocale
const *)arg1
)->IsOk();
9934 wxPyEndAllowThreads(__tstate
);
9935 if (PyErr_Occurred()) SWIG_fail
;
9938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9946 static PyObject
*_wrap_Locale_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9947 PyObject
*resultobj
;
9948 wxLocale
*arg1
= (wxLocale
*) 0 ;
9950 PyObject
* obj0
= 0 ;
9952 (char *) "self", NULL
9955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
9956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9960 result
= ((wxLocale
const *)arg1
)->GetLocale();
9962 wxPyEndAllowThreads(__tstate
);
9963 if (PyErr_Occurred()) SWIG_fail
;
9967 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9969 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9978 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9979 PyObject
*resultobj
;
9980 wxLocale
*arg1
= (wxLocale
*) 0 ;
9982 PyObject
* obj0
= 0 ;
9984 (char *) "self", NULL
9987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
9988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9992 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
9994 wxPyEndAllowThreads(__tstate
);
9995 if (PyErr_Occurred()) SWIG_fail
;
9997 resultobj
= SWIG_FromInt((int)result
);
10004 static PyObject
*_wrap_Locale_GetSysName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10005 PyObject
*resultobj
;
10006 wxLocale
*arg1
= (wxLocale
*) 0 ;
10008 PyObject
* obj0
= 0 ;
10009 char *kwnames
[] = {
10010 (char *) "self", NULL
10013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
10014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10018 result
= ((wxLocale
const *)arg1
)->GetSysName();
10020 wxPyEndAllowThreads(__tstate
);
10021 if (PyErr_Occurred()) SWIG_fail
;
10025 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10027 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10036 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10037 PyObject
*resultobj
;
10038 wxLocale
*arg1
= (wxLocale
*) 0 ;
10040 PyObject
* obj0
= 0 ;
10041 char *kwnames
[] = {
10042 (char *) "self", NULL
10045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
10046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10050 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
10052 wxPyEndAllowThreads(__tstate
);
10053 if (PyErr_Occurred()) SWIG_fail
;
10057 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10059 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10068 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10069 PyObject
*resultobj
;
10070 wxString
*arg1
= 0 ;
10071 bool temp1
= False
;
10072 PyObject
* obj0
= 0 ;
10073 char *kwnames
[] = {
10074 (char *) "prefix", NULL
10077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
10079 arg1
= wxString_in_helper(obj0
);
10080 if (arg1
== NULL
) SWIG_fail
;
10084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10085 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
10087 wxPyEndAllowThreads(__tstate
);
10088 if (PyErr_Occurred()) SWIG_fail
;
10090 Py_INCREF(Py_None
); resultobj
= Py_None
;
10105 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10106 PyObject
*resultobj
;
10107 wxLocale
*arg1
= (wxLocale
*) 0 ;
10108 wxString
*arg2
= 0 ;
10110 bool temp2
= False
;
10111 PyObject
* obj0
= 0 ;
10112 PyObject
* obj1
= 0 ;
10113 char *kwnames
[] = {
10114 (char *) "self",(char *) "szDomain", NULL
10117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
10118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10121 arg2
= wxString_in_helper(obj1
);
10122 if (arg2
== NULL
) SWIG_fail
;
10126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10127 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
10129 wxPyEndAllowThreads(__tstate
);
10130 if (PyErr_Occurred()) SWIG_fail
;
10133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10149 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10150 PyObject
*resultobj
;
10151 wxLocale
*arg1
= (wxLocale
*) 0 ;
10152 wxString
*arg2
= 0 ;
10154 bool temp2
= False
;
10155 PyObject
* obj0
= 0 ;
10156 PyObject
* obj1
= 0 ;
10157 char *kwnames
[] = {
10158 (char *) "self",(char *) "szDomain", NULL
10161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
10162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10165 arg2
= wxString_in_helper(obj1
);
10166 if (arg2
== NULL
) SWIG_fail
;
10170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10171 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
10173 wxPyEndAllowThreads(__tstate
);
10174 if (PyErr_Occurred()) SWIG_fail
;
10177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10193 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10194 PyObject
*resultobj
;
10196 wxLanguageInfo
*result
;
10197 PyObject
* obj0
= 0 ;
10198 char *kwnames
[] = {
10199 (char *) "lang", NULL
10202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
10203 arg1
= (int) SWIG_AsInt(obj0
);
10204 if (PyErr_Occurred()) SWIG_fail
;
10206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10207 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
10209 wxPyEndAllowThreads(__tstate
);
10210 if (PyErr_Occurred()) SWIG_fail
;
10212 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
10219 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10220 PyObject
*resultobj
;
10223 PyObject
* obj0
= 0 ;
10224 char *kwnames
[] = {
10225 (char *) "lang", NULL
10228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
10229 arg1
= (int) SWIG_AsInt(obj0
);
10230 if (PyErr_Occurred()) SWIG_fail
;
10232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10233 result
= wxLocale::GetLanguageName(arg1
);
10235 wxPyEndAllowThreads(__tstate
);
10236 if (PyErr_Occurred()) SWIG_fail
;
10240 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10242 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10251 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10252 PyObject
*resultobj
;
10253 wxString
*arg1
= 0 ;
10254 wxLanguageInfo
*result
;
10255 bool temp1
= False
;
10256 PyObject
* obj0
= 0 ;
10257 char *kwnames
[] = {
10258 (char *) "locale", NULL
10261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
10263 arg1
= wxString_in_helper(obj0
);
10264 if (arg1
== NULL
) SWIG_fail
;
10268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10269 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
10271 wxPyEndAllowThreads(__tstate
);
10272 if (PyErr_Occurred()) SWIG_fail
;
10274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
10289 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10290 PyObject
*resultobj
;
10291 wxLanguageInfo
*arg1
= 0 ;
10292 PyObject
* obj0
= 0 ;
10293 char *kwnames
[] = {
10294 (char *) "info", NULL
10297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
10298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
10299 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10301 if (arg1
== NULL
) {
10302 PyErr_SetString(PyExc_TypeError
,"null reference");
10306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10307 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
10309 wxPyEndAllowThreads(__tstate
);
10310 if (PyErr_Occurred()) SWIG_fail
;
10312 Py_INCREF(Py_None
); resultobj
= Py_None
;
10319 static PyObject
*_wrap_Locale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10320 PyObject
*resultobj
;
10321 wxLocale
*arg1
= (wxLocale
*) 0 ;
10322 wxString
*arg2
= 0 ;
10323 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10324 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10326 bool temp2
= False
;
10327 bool temp3
= False
;
10328 PyObject
* obj0
= 0 ;
10329 PyObject
* obj1
= 0 ;
10330 PyObject
* obj2
= 0 ;
10331 char *kwnames
[] = {
10332 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
10335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10339 arg2
= wxString_in_helper(obj1
);
10340 if (arg2
== NULL
) SWIG_fail
;
10345 arg3
= wxString_in_helper(obj2
);
10346 if (arg3
== NULL
) SWIG_fail
;
10351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10352 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10354 wxPyEndAllowThreads(__tstate
);
10355 if (PyErr_Occurred()) SWIG_fail
;
10359 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10361 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10386 static PyObject
*_wrap_Locale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10387 PyObject
*resultobj
;
10388 wxLocale
*arg1
= (wxLocale
*) 0 ;
10390 PyObject
* obj0
= 0 ;
10391 char *kwnames
[] = {
10392 (char *) "self", NULL
10395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
10396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10401 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
10402 result
= (wxString
*) &_result_ref
;
10405 wxPyEndAllowThreads(__tstate
);
10406 if (PyErr_Occurred()) SWIG_fail
;
10410 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10412 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10421 static PyObject
* Locale_swigregister(PyObject
*self
, PyObject
*args
) {
10423 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10424 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
10426 return Py_BuildValue((char *)"");
10428 static PyObject
*_wrap_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10429 PyObject
*resultobj
;
10431 char *kwnames
[] = {
10435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
10437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10438 result
= (wxLocale
*)wxGetLocale();
10440 wxPyEndAllowThreads(__tstate
);
10441 if (PyErr_Occurred()) SWIG_fail
;
10443 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
10450 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*self
, PyObject
*args
) {
10451 PyObject
*resultobj
;
10452 wxString
*arg1
= 0 ;
10454 bool temp1
= False
;
10455 PyObject
* obj0
= 0 ;
10457 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
10459 arg1
= wxString_in_helper(obj0
);
10460 if (arg1
== NULL
) SWIG_fail
;
10464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10465 result
= wxGetTranslation((wxString
const &)*arg1
);
10467 wxPyEndAllowThreads(__tstate
);
10468 if (PyErr_Occurred()) SWIG_fail
;
10472 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10474 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10491 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*self
, PyObject
*args
) {
10492 PyObject
*resultobj
;
10493 wxString
*arg1
= 0 ;
10494 wxString
*arg2
= 0 ;
10497 bool temp1
= False
;
10498 bool temp2
= False
;
10499 PyObject
* obj0
= 0 ;
10500 PyObject
* obj1
= 0 ;
10501 PyObject
* obj2
= 0 ;
10503 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
10505 arg1
= wxString_in_helper(obj0
);
10506 if (arg1
== NULL
) SWIG_fail
;
10510 arg2
= wxString_in_helper(obj1
);
10511 if (arg2
== NULL
) SWIG_fail
;
10514 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10515 if (PyErr_Occurred()) SWIG_fail
;
10517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10518 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10520 wxPyEndAllowThreads(__tstate
);
10521 if (PyErr_Occurred()) SWIG_fail
;
10525 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10527 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10552 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
10557 argc
= PyObject_Length(args
);
10558 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
10559 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10564 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10567 return _wrap_GetTranslation__SWIG_0(self
,args
);
10573 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10577 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10580 _v
= SWIG_CheckUnsignedLong(argv
[2]);
10582 return _wrap_GetTranslation__SWIG_1(self
,args
);
10588 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
10593 static PyObject
*_wrap_new_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10594 PyObject
*resultobj
;
10595 wxEncodingConverter
*result
;
10596 char *kwnames
[] = {
10600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
10602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10603 result
= (wxEncodingConverter
*)new wxEncodingConverter();
10605 wxPyEndAllowThreads(__tstate
);
10606 if (PyErr_Occurred()) SWIG_fail
;
10608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
10615 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10616 PyObject
*resultobj
;
10617 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10618 PyObject
* obj0
= 0 ;
10619 char *kwnames
[] = {
10620 (char *) "self", NULL
10623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
10624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10630 wxPyEndAllowThreads(__tstate
);
10631 if (PyErr_Occurred()) SWIG_fail
;
10633 Py_INCREF(Py_None
); resultobj
= Py_None
;
10640 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10641 PyObject
*resultobj
;
10642 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10645 int arg4
= (int) wxCONVERT_STRICT
;
10647 PyObject
* obj0
= 0 ;
10648 PyObject
* obj1
= 0 ;
10649 PyObject
* obj2
= 0 ;
10650 PyObject
* obj3
= 0 ;
10651 char *kwnames
[] = {
10652 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
10655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10658 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10659 if (PyErr_Occurred()) SWIG_fail
;
10660 arg3
= (wxFontEncoding
) SWIG_AsInt(obj2
);
10661 if (PyErr_Occurred()) SWIG_fail
;
10663 arg4
= (int) SWIG_AsInt(obj3
);
10664 if (PyErr_Occurred()) SWIG_fail
;
10667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10668 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
10670 wxPyEndAllowThreads(__tstate
);
10671 if (PyErr_Occurred()) SWIG_fail
;
10674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10682 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10683 PyObject
*resultobj
;
10684 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10685 wxString
*arg2
= 0 ;
10687 bool temp2
= False
;
10688 PyObject
* obj0
= 0 ;
10689 PyObject
* obj1
= 0 ;
10690 char *kwnames
[] = {
10691 (char *) "self",(char *) "input", NULL
10694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
10695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10698 arg2
= wxString_in_helper(obj1
);
10699 if (arg2
== NULL
) SWIG_fail
;
10703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10704 result
= (arg1
)->Convert((wxString
const &)*arg2
);
10706 wxPyEndAllowThreads(__tstate
);
10707 if (PyErr_Occurred()) SWIG_fail
;
10711 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10713 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10730 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10731 PyObject
*resultobj
;
10733 int arg2
= (int) wxPLATFORM_CURRENT
;
10734 wxFontEncodingArray result
;
10735 PyObject
* obj0
= 0 ;
10736 PyObject
* obj1
= 0 ;
10737 char *kwnames
[] = {
10738 (char *) "enc",(char *) "platform", NULL
10741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
10742 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10743 if (PyErr_Occurred()) SWIG_fail
;
10745 arg2
= (int) SWIG_AsInt(obj1
);
10746 if (PyErr_Occurred()) SWIG_fail
;
10749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10750 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
10752 wxPyEndAllowThreads(__tstate
);
10753 if (PyErr_Occurred()) SWIG_fail
;
10756 resultobj
= PyList_New(0);
10757 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10758 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10759 PyList_Append(resultobj
, number
);
10769 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10770 PyObject
*resultobj
;
10772 wxFontEncodingArray result
;
10773 PyObject
* obj0
= 0 ;
10774 char *kwnames
[] = {
10775 (char *) "enc", NULL
10778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
10779 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10780 if (PyErr_Occurred()) SWIG_fail
;
10782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10783 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
10785 wxPyEndAllowThreads(__tstate
);
10786 if (PyErr_Occurred()) SWIG_fail
;
10789 resultobj
= PyList_New(0);
10790 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10791 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10792 PyList_Append(resultobj
, number
);
10802 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10803 PyObject
*resultobj
;
10807 PyObject
* obj0
= 0 ;
10808 PyObject
* obj1
= 0 ;
10809 char *kwnames
[] = {
10810 (char *) "encIn",(char *) "encOut", NULL
10813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
10814 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10815 if (PyErr_Occurred()) SWIG_fail
;
10816 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10820 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
10822 wxPyEndAllowThreads(__tstate
);
10823 if (PyErr_Occurred()) SWIG_fail
;
10826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10834 static PyObject
* EncodingConverter_swigregister(PyObject
*self
, PyObject
*args
) {
10836 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10837 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
10839 return Py_BuildValue((char *)"");
10841 static PyObject
*_wrap_delete_DC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10842 PyObject
*resultobj
;
10843 wxDC
*arg1
= (wxDC
*) 0 ;
10844 PyObject
* obj0
= 0 ;
10845 char *kwnames
[] = {
10846 (char *) "self", NULL
10849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
10850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10856 wxPyEndAllowThreads(__tstate
);
10857 if (PyErr_Occurred()) SWIG_fail
;
10859 Py_INCREF(Py_None
); resultobj
= Py_None
;
10866 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10867 PyObject
*resultobj
;
10868 wxDC
*arg1
= (wxDC
*) 0 ;
10869 PyObject
* obj0
= 0 ;
10870 char *kwnames
[] = {
10871 (char *) "self", NULL
10874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
10875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10879 (arg1
)->BeginDrawing();
10881 wxPyEndAllowThreads(__tstate
);
10882 if (PyErr_Occurred()) SWIG_fail
;
10884 Py_INCREF(Py_None
); resultobj
= Py_None
;
10891 static PyObject
*_wrap_DC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10892 PyObject
*resultobj
;
10893 wxDC
*arg1
= (wxDC
*) 0 ;
10894 PyObject
* obj0
= 0 ;
10895 char *kwnames
[] = {
10896 (char *) "self", NULL
10899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
10900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10904 (arg1
)->EndDrawing();
10906 wxPyEndAllowThreads(__tstate
);
10907 if (PyErr_Occurred()) SWIG_fail
;
10909 Py_INCREF(Py_None
); resultobj
= Py_None
;
10916 static PyObject
*_wrap_DC_FloodFillXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10917 PyObject
*resultobj
;
10918 wxDC
*arg1
= (wxDC
*) 0 ;
10921 wxColour
*arg4
= 0 ;
10922 int arg5
= (int) wxFLOOD_SURFACE
;
10925 PyObject
* obj0
= 0 ;
10926 PyObject
* obj1
= 0 ;
10927 PyObject
* obj2
= 0 ;
10928 PyObject
* obj3
= 0 ;
10929 PyObject
* obj4
= 0 ;
10930 char *kwnames
[] = {
10931 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFillXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10937 arg2
= (int) SWIG_AsInt(obj1
);
10938 if (PyErr_Occurred()) SWIG_fail
;
10939 arg3
= (int) SWIG_AsInt(obj2
);
10940 if (PyErr_Occurred()) SWIG_fail
;
10943 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
10946 arg5
= (int) SWIG_AsInt(obj4
);
10947 if (PyErr_Occurred()) SWIG_fail
;
10950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10951 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
10953 wxPyEndAllowThreads(__tstate
);
10954 if (PyErr_Occurred()) SWIG_fail
;
10957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10965 static PyObject
*_wrap_DC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10966 PyObject
*resultobj
;
10967 wxDC
*arg1
= (wxDC
*) 0 ;
10968 wxPoint
*arg2
= 0 ;
10969 wxColour
*arg3
= 0 ;
10970 int arg4
= (int) wxFLOOD_SURFACE
;
10974 PyObject
* obj0
= 0 ;
10975 PyObject
* obj1
= 0 ;
10976 PyObject
* obj2
= 0 ;
10977 PyObject
* obj3
= 0 ;
10978 char *kwnames
[] = {
10979 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10987 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10991 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10994 arg4
= (int) SWIG_AsInt(obj3
);
10995 if (PyErr_Occurred()) SWIG_fail
;
10998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10999 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11001 wxPyEndAllowThreads(__tstate
);
11002 if (PyErr_Occurred()) SWIG_fail
;
11005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11013 static PyObject
*_wrap_DC_GetPixelXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11014 PyObject
*resultobj
;
11015 wxDC
*arg1
= (wxDC
*) 0 ;
11019 PyObject
* obj0
= 0 ;
11020 PyObject
* obj1
= 0 ;
11021 PyObject
* obj2
= 0 ;
11022 char *kwnames
[] = {
11023 (char *) "self",(char *) "x",(char *) "y", NULL
11026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixelXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11029 arg2
= (int) SWIG_AsInt(obj1
);
11030 if (PyErr_Occurred()) SWIG_fail
;
11031 arg3
= (int) SWIG_AsInt(obj2
);
11032 if (PyErr_Occurred()) SWIG_fail
;
11034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11035 result
= wxDC_GetPixelXY(arg1
,arg2
,arg3
);
11037 wxPyEndAllowThreads(__tstate
);
11038 if (PyErr_Occurred()) SWIG_fail
;
11041 wxColour
* resultptr
;
11042 resultptr
= new wxColour((wxColour
&) result
);
11043 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11051 static PyObject
*_wrap_DC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11052 PyObject
*resultobj
;
11053 wxDC
*arg1
= (wxDC
*) 0 ;
11054 wxPoint
*arg2
= 0 ;
11057 PyObject
* obj0
= 0 ;
11058 PyObject
* obj1
= 0 ;
11059 char *kwnames
[] = {
11060 (char *) "self",(char *) "pt", NULL
11063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixel",kwnames
,&obj0
,&obj1
)) goto fail
;
11064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11068 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11072 result
= wxDC_GetPixel(arg1
,(wxPoint
const &)*arg2
);
11074 wxPyEndAllowThreads(__tstate
);
11075 if (PyErr_Occurred()) SWIG_fail
;
11078 wxColour
* resultptr
;
11079 resultptr
= new wxColour((wxColour
&) result
);
11080 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11088 static PyObject
*_wrap_DC_DrawLineXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11089 PyObject
*resultobj
;
11090 wxDC
*arg1
= (wxDC
*) 0 ;
11095 PyObject
* obj0
= 0 ;
11096 PyObject
* obj1
= 0 ;
11097 PyObject
* obj2
= 0 ;
11098 PyObject
* obj3
= 0 ;
11099 PyObject
* obj4
= 0 ;
11100 char *kwnames
[] = {
11101 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
11104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLineXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11107 arg2
= (int) SWIG_AsInt(obj1
);
11108 if (PyErr_Occurred()) SWIG_fail
;
11109 arg3
= (int) SWIG_AsInt(obj2
);
11110 if (PyErr_Occurred()) SWIG_fail
;
11111 arg4
= (int) SWIG_AsInt(obj3
);
11112 if (PyErr_Occurred()) SWIG_fail
;
11113 arg5
= (int) SWIG_AsInt(obj4
);
11114 if (PyErr_Occurred()) SWIG_fail
;
11116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11117 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
11119 wxPyEndAllowThreads(__tstate
);
11120 if (PyErr_Occurred()) SWIG_fail
;
11122 Py_INCREF(Py_None
); resultobj
= Py_None
;
11129 static PyObject
*_wrap_DC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11130 PyObject
*resultobj
;
11131 wxDC
*arg1
= (wxDC
*) 0 ;
11132 wxPoint
*arg2
= 0 ;
11133 wxPoint
*arg3
= 0 ;
11136 PyObject
* obj0
= 0 ;
11137 PyObject
* obj1
= 0 ;
11138 PyObject
* obj2
= 0 ;
11139 char *kwnames
[] = {
11140 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
11143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11148 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11152 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11156 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
11158 wxPyEndAllowThreads(__tstate
);
11159 if (PyErr_Occurred()) SWIG_fail
;
11161 Py_INCREF(Py_None
); resultobj
= Py_None
;
11168 static PyObject
*_wrap_DC_CrossHairXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11169 PyObject
*resultobj
;
11170 wxDC
*arg1
= (wxDC
*) 0 ;
11173 PyObject
* obj0
= 0 ;
11174 PyObject
* obj1
= 0 ;
11175 PyObject
* obj2
= 0 ;
11176 char *kwnames
[] = {
11177 (char *) "self",(char *) "x",(char *) "y", NULL
11180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHairXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11183 arg2
= (int) SWIG_AsInt(obj1
);
11184 if (PyErr_Occurred()) SWIG_fail
;
11185 arg3
= (int) SWIG_AsInt(obj2
);
11186 if (PyErr_Occurred()) SWIG_fail
;
11188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11189 (arg1
)->CrossHair(arg2
,arg3
);
11191 wxPyEndAllowThreads(__tstate
);
11192 if (PyErr_Occurred()) SWIG_fail
;
11194 Py_INCREF(Py_None
); resultobj
= Py_None
;
11201 static PyObject
*_wrap_DC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11202 PyObject
*resultobj
;
11203 wxDC
*arg1
= (wxDC
*) 0 ;
11204 wxPoint
*arg2
= 0 ;
11206 PyObject
* obj0
= 0 ;
11207 PyObject
* obj1
= 0 ;
11208 char *kwnames
[] = {
11209 (char *) "self",(char *) "pt", NULL
11212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHair",kwnames
,&obj0
,&obj1
)) goto fail
;
11213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11217 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11221 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
11223 wxPyEndAllowThreads(__tstate
);
11224 if (PyErr_Occurred()) SWIG_fail
;
11226 Py_INCREF(Py_None
); resultobj
= Py_None
;
11233 static PyObject
*_wrap_DC_DrawArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11234 PyObject
*resultobj
;
11235 wxDC
*arg1
= (wxDC
*) 0 ;
11242 PyObject
* obj0
= 0 ;
11243 PyObject
* obj1
= 0 ;
11244 PyObject
* obj2
= 0 ;
11245 PyObject
* obj3
= 0 ;
11246 PyObject
* obj4
= 0 ;
11247 PyObject
* obj5
= 0 ;
11248 PyObject
* obj6
= 0 ;
11249 char *kwnames
[] = {
11250 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
11253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11256 arg2
= (int) SWIG_AsInt(obj1
);
11257 if (PyErr_Occurred()) SWIG_fail
;
11258 arg3
= (int) SWIG_AsInt(obj2
);
11259 if (PyErr_Occurred()) SWIG_fail
;
11260 arg4
= (int) SWIG_AsInt(obj3
);
11261 if (PyErr_Occurred()) SWIG_fail
;
11262 arg5
= (int) SWIG_AsInt(obj4
);
11263 if (PyErr_Occurred()) SWIG_fail
;
11264 arg6
= (int) SWIG_AsInt(obj5
);
11265 if (PyErr_Occurred()) SWIG_fail
;
11266 arg7
= (int) SWIG_AsInt(obj6
);
11267 if (PyErr_Occurred()) SWIG_fail
;
11269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11270 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11272 wxPyEndAllowThreads(__tstate
);
11273 if (PyErr_Occurred()) SWIG_fail
;
11275 Py_INCREF(Py_None
); resultobj
= Py_None
;
11282 static PyObject
*_wrap_DC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11283 PyObject
*resultobj
;
11284 wxDC
*arg1
= (wxDC
*) 0 ;
11285 wxPoint
*arg2
= 0 ;
11286 wxPoint
*arg3
= 0 ;
11287 wxPoint
*arg4
= 0 ;
11291 PyObject
* obj0
= 0 ;
11292 PyObject
* obj1
= 0 ;
11293 PyObject
* obj2
= 0 ;
11294 PyObject
* obj3
= 0 ;
11295 char *kwnames
[] = {
11296 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
11299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11304 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11308 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11312 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11316 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
11318 wxPyEndAllowThreads(__tstate
);
11319 if (PyErr_Occurred()) SWIG_fail
;
11321 Py_INCREF(Py_None
); resultobj
= Py_None
;
11328 static PyObject
*_wrap_DC_DrawCheckMarkXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11329 PyObject
*resultobj
;
11330 wxDC
*arg1
= (wxDC
*) 0 ;
11335 PyObject
* obj0
= 0 ;
11336 PyObject
* obj1
= 0 ;
11337 PyObject
* obj2
= 0 ;
11338 PyObject
* obj3
= 0 ;
11339 PyObject
* obj4
= 0 ;
11340 char *kwnames
[] = {
11341 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMarkXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11347 arg2
= (int) SWIG_AsInt(obj1
);
11348 if (PyErr_Occurred()) SWIG_fail
;
11349 arg3
= (int) SWIG_AsInt(obj2
);
11350 if (PyErr_Occurred()) SWIG_fail
;
11351 arg4
= (int) SWIG_AsInt(obj3
);
11352 if (PyErr_Occurred()) SWIG_fail
;
11353 arg5
= (int) SWIG_AsInt(obj4
);
11354 if (PyErr_Occurred()) SWIG_fail
;
11356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11357 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
11359 wxPyEndAllowThreads(__tstate
);
11360 if (PyErr_Occurred()) SWIG_fail
;
11362 Py_INCREF(Py_None
); resultobj
= Py_None
;
11369 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11370 PyObject
*resultobj
;
11371 wxDC
*arg1
= (wxDC
*) 0 ;
11374 PyObject
* obj0
= 0 ;
11375 PyObject
* obj1
= 0 ;
11376 char *kwnames
[] = {
11377 (char *) "self",(char *) "rect", NULL
11380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
)) goto fail
;
11381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11385 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11389 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
11391 wxPyEndAllowThreads(__tstate
);
11392 if (PyErr_Occurred()) SWIG_fail
;
11394 Py_INCREF(Py_None
); resultobj
= Py_None
;
11401 static PyObject
*_wrap_DC_DrawEllipticArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11402 PyObject
*resultobj
;
11403 wxDC
*arg1
= (wxDC
*) 0 ;
11410 PyObject
* obj0
= 0 ;
11411 PyObject
* obj1
= 0 ;
11412 PyObject
* obj2
= 0 ;
11413 PyObject
* obj3
= 0 ;
11414 PyObject
* obj4
= 0 ;
11415 PyObject
* obj5
= 0 ;
11416 PyObject
* obj6
= 0 ;
11417 char *kwnames
[] = {
11418 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
11421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11424 arg2
= (int) SWIG_AsInt(obj1
);
11425 if (PyErr_Occurred()) SWIG_fail
;
11426 arg3
= (int) SWIG_AsInt(obj2
);
11427 if (PyErr_Occurred()) SWIG_fail
;
11428 arg4
= (int) SWIG_AsInt(obj3
);
11429 if (PyErr_Occurred()) SWIG_fail
;
11430 arg5
= (int) SWIG_AsInt(obj4
);
11431 if (PyErr_Occurred()) SWIG_fail
;
11432 arg6
= (double) SWIG_AsDouble(obj5
);
11433 if (PyErr_Occurred()) SWIG_fail
;
11434 arg7
= (double) SWIG_AsDouble(obj6
);
11435 if (PyErr_Occurred()) SWIG_fail
;
11437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11438 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11440 wxPyEndAllowThreads(__tstate
);
11441 if (PyErr_Occurred()) SWIG_fail
;
11443 Py_INCREF(Py_None
); resultobj
= Py_None
;
11450 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11451 PyObject
*resultobj
;
11452 wxDC
*arg1
= (wxDC
*) 0 ;
11453 wxPoint
*arg2
= 0 ;
11459 PyObject
* obj0
= 0 ;
11460 PyObject
* obj1
= 0 ;
11461 PyObject
* obj2
= 0 ;
11462 PyObject
* obj3
= 0 ;
11463 PyObject
* obj4
= 0 ;
11464 char *kwnames
[] = {
11465 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
11468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11473 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11477 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11479 arg4
= (double) SWIG_AsDouble(obj3
);
11480 if (PyErr_Occurred()) SWIG_fail
;
11481 arg5
= (double) SWIG_AsDouble(obj4
);
11482 if (PyErr_Occurred()) SWIG_fail
;
11484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11485 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
11487 wxPyEndAllowThreads(__tstate
);
11488 if (PyErr_Occurred()) SWIG_fail
;
11490 Py_INCREF(Py_None
); resultobj
= Py_None
;
11497 static PyObject
*_wrap_DC_DrawPointXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11498 PyObject
*resultobj
;
11499 wxDC
*arg1
= (wxDC
*) 0 ;
11502 PyObject
* obj0
= 0 ;
11503 PyObject
* obj1
= 0 ;
11504 PyObject
* obj2
= 0 ;
11505 char *kwnames
[] = {
11506 (char *) "self",(char *) "x",(char *) "y", NULL
11509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPointXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11512 arg2
= (int) SWIG_AsInt(obj1
);
11513 if (PyErr_Occurred()) SWIG_fail
;
11514 arg3
= (int) SWIG_AsInt(obj2
);
11515 if (PyErr_Occurred()) SWIG_fail
;
11517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11518 (arg1
)->DrawPoint(arg2
,arg3
);
11520 wxPyEndAllowThreads(__tstate
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11523 Py_INCREF(Py_None
); resultobj
= Py_None
;
11530 static PyObject
*_wrap_DC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11531 PyObject
*resultobj
;
11532 wxDC
*arg1
= (wxDC
*) 0 ;
11533 wxPoint
*arg2
= 0 ;
11535 PyObject
* obj0
= 0 ;
11536 PyObject
* obj1
= 0 ;
11537 char *kwnames
[] = {
11538 (char *) "self",(char *) "pt", NULL
11541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11546 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11550 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
11552 wxPyEndAllowThreads(__tstate
);
11553 if (PyErr_Occurred()) SWIG_fail
;
11555 Py_INCREF(Py_None
); resultobj
= Py_None
;
11562 static PyObject
*_wrap_DC_DrawRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11563 PyObject
*resultobj
;
11564 wxDC
*arg1
= (wxDC
*) 0 ;
11569 PyObject
* obj0
= 0 ;
11570 PyObject
* obj1
= 0 ;
11571 PyObject
* obj2
= 0 ;
11572 PyObject
* obj3
= 0 ;
11573 PyObject
* obj4
= 0 ;
11574 char *kwnames
[] = {
11575 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11581 arg2
= (int) SWIG_AsInt(obj1
);
11582 if (PyErr_Occurred()) SWIG_fail
;
11583 arg3
= (int) SWIG_AsInt(obj2
);
11584 if (PyErr_Occurred()) SWIG_fail
;
11585 arg4
= (int) SWIG_AsInt(obj3
);
11586 if (PyErr_Occurred()) SWIG_fail
;
11587 arg5
= (int) SWIG_AsInt(obj4
);
11588 if (PyErr_Occurred()) SWIG_fail
;
11590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11591 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
11593 wxPyEndAllowThreads(__tstate
);
11594 if (PyErr_Occurred()) SWIG_fail
;
11596 Py_INCREF(Py_None
); resultobj
= Py_None
;
11603 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11604 PyObject
*resultobj
;
11605 wxDC
*arg1
= (wxDC
*) 0 ;
11606 wxPoint
*arg2
= 0 ;
11610 PyObject
* obj0
= 0 ;
11611 PyObject
* obj1
= 0 ;
11612 PyObject
* obj2
= 0 ;
11613 char *kwnames
[] = {
11614 (char *) "self",(char *) "pt",(char *) "sz", NULL
11617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11622 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11626 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11630 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11632 wxPyEndAllowThreads(__tstate
);
11633 if (PyErr_Occurred()) SWIG_fail
;
11635 Py_INCREF(Py_None
); resultobj
= Py_None
;
11642 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11643 PyObject
*resultobj
;
11644 wxDC
*arg1
= (wxDC
*) 0 ;
11647 PyObject
* obj0
= 0 ;
11648 PyObject
* obj1
= 0 ;
11649 char *kwnames
[] = {
11650 (char *) "self",(char *) "rect", NULL
11653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11658 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11662 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
11664 wxPyEndAllowThreads(__tstate
);
11665 if (PyErr_Occurred()) SWIG_fail
;
11667 Py_INCREF(Py_None
); resultobj
= Py_None
;
11674 static PyObject
*_wrap_DC_DrawRoundedRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11675 PyObject
*resultobj
;
11676 wxDC
*arg1
= (wxDC
*) 0 ;
11682 PyObject
* obj0
= 0 ;
11683 PyObject
* obj1
= 0 ;
11684 PyObject
* obj2
= 0 ;
11685 PyObject
* obj3
= 0 ;
11686 PyObject
* obj4
= 0 ;
11687 PyObject
* obj5
= 0 ;
11688 char *kwnames
[] = {
11689 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11695 arg2
= (int) SWIG_AsInt(obj1
);
11696 if (PyErr_Occurred()) SWIG_fail
;
11697 arg3
= (int) SWIG_AsInt(obj2
);
11698 if (PyErr_Occurred()) SWIG_fail
;
11699 arg4
= (int) SWIG_AsInt(obj3
);
11700 if (PyErr_Occurred()) SWIG_fail
;
11701 arg5
= (int) SWIG_AsInt(obj4
);
11702 if (PyErr_Occurred()) SWIG_fail
;
11703 arg6
= (double) SWIG_AsDouble(obj5
);
11704 if (PyErr_Occurred()) SWIG_fail
;
11706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11707 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
11709 wxPyEndAllowThreads(__tstate
);
11710 if (PyErr_Occurred()) SWIG_fail
;
11712 Py_INCREF(Py_None
); resultobj
= Py_None
;
11719 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11720 PyObject
*resultobj
;
11721 wxDC
*arg1
= (wxDC
*) 0 ;
11722 wxPoint
*arg2
= 0 ;
11727 PyObject
* obj0
= 0 ;
11728 PyObject
* obj1
= 0 ;
11729 PyObject
* obj2
= 0 ;
11730 PyObject
* obj3
= 0 ;
11731 char *kwnames
[] = {
11732 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
11735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11740 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11744 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11746 arg4
= (double) SWIG_AsDouble(obj3
);
11747 if (PyErr_Occurred()) SWIG_fail
;
11749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11750 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
11752 wxPyEndAllowThreads(__tstate
);
11753 if (PyErr_Occurred()) SWIG_fail
;
11755 Py_INCREF(Py_None
); resultobj
= Py_None
;
11762 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11763 PyObject
*resultobj
;
11764 wxDC
*arg1
= (wxDC
*) 0 ;
11768 PyObject
* obj0
= 0 ;
11769 PyObject
* obj1
= 0 ;
11770 PyObject
* obj2
= 0 ;
11771 char *kwnames
[] = {
11772 (char *) "self",(char *) "r",(char *) "radius", NULL
11775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11780 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11782 arg3
= (double) SWIG_AsDouble(obj2
);
11783 if (PyErr_Occurred()) SWIG_fail
;
11785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11786 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11788 wxPyEndAllowThreads(__tstate
);
11789 if (PyErr_Occurred()) SWIG_fail
;
11791 Py_INCREF(Py_None
); resultobj
= Py_None
;
11798 static PyObject
*_wrap_DC_DrawCircleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11799 PyObject
*resultobj
;
11800 wxDC
*arg1
= (wxDC
*) 0 ;
11804 PyObject
* obj0
= 0 ;
11805 PyObject
* obj1
= 0 ;
11806 PyObject
* obj2
= 0 ;
11807 PyObject
* obj3
= 0 ;
11808 char *kwnames
[] = {
11809 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11815 arg2
= (int) SWIG_AsInt(obj1
);
11816 if (PyErr_Occurred()) SWIG_fail
;
11817 arg3
= (int) SWIG_AsInt(obj2
);
11818 if (PyErr_Occurred()) SWIG_fail
;
11819 arg4
= (int) SWIG_AsInt(obj3
);
11820 if (PyErr_Occurred()) SWIG_fail
;
11822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11823 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
11825 wxPyEndAllowThreads(__tstate
);
11826 if (PyErr_Occurred()) SWIG_fail
;
11828 Py_INCREF(Py_None
); resultobj
= Py_None
;
11835 static PyObject
*_wrap_DC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11836 PyObject
*resultobj
;
11837 wxDC
*arg1
= (wxDC
*) 0 ;
11838 wxPoint
*arg2
= 0 ;
11841 PyObject
* obj0
= 0 ;
11842 PyObject
* obj1
= 0 ;
11843 PyObject
* obj2
= 0 ;
11844 char *kwnames
[] = {
11845 (char *) "self",(char *) "pt",(char *) "radius", NULL
11848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11853 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11855 arg3
= (int) SWIG_AsInt(obj2
);
11856 if (PyErr_Occurred()) SWIG_fail
;
11858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11859 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
11861 wxPyEndAllowThreads(__tstate
);
11862 if (PyErr_Occurred()) SWIG_fail
;
11864 Py_INCREF(Py_None
); resultobj
= Py_None
;
11871 static PyObject
*_wrap_DC_DrawEllipseXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11872 PyObject
*resultobj
;
11873 wxDC
*arg1
= (wxDC
*) 0 ;
11878 PyObject
* obj0
= 0 ;
11879 PyObject
* obj1
= 0 ;
11880 PyObject
* obj2
= 0 ;
11881 PyObject
* obj3
= 0 ;
11882 PyObject
* obj4
= 0 ;
11883 char *kwnames
[] = {
11884 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipseXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11890 arg2
= (int) SWIG_AsInt(obj1
);
11891 if (PyErr_Occurred()) SWIG_fail
;
11892 arg3
= (int) SWIG_AsInt(obj2
);
11893 if (PyErr_Occurred()) SWIG_fail
;
11894 arg4
= (int) SWIG_AsInt(obj3
);
11895 if (PyErr_Occurred()) SWIG_fail
;
11896 arg5
= (int) SWIG_AsInt(obj4
);
11897 if (PyErr_Occurred()) SWIG_fail
;
11899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11900 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11902 wxPyEndAllowThreads(__tstate
);
11903 if (PyErr_Occurred()) SWIG_fail
;
11905 Py_INCREF(Py_None
); resultobj
= Py_None
;
11912 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11913 PyObject
*resultobj
;
11914 wxDC
*arg1
= (wxDC
*) 0 ;
11915 wxPoint
*arg2
= 0 ;
11919 PyObject
* obj0
= 0 ;
11920 PyObject
* obj1
= 0 ;
11921 PyObject
* obj2
= 0 ;
11922 char *kwnames
[] = {
11923 (char *) "self",(char *) "pt",(char *) "sz", NULL
11926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11931 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11935 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11939 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11941 wxPyEndAllowThreads(__tstate
);
11942 if (PyErr_Occurred()) SWIG_fail
;
11944 Py_INCREF(Py_None
); resultobj
= Py_None
;
11951 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11952 PyObject
*resultobj
;
11953 wxDC
*arg1
= (wxDC
*) 0 ;
11956 PyObject
* obj0
= 0 ;
11957 PyObject
* obj1
= 0 ;
11958 char *kwnames
[] = {
11959 (char *) "self",(char *) "rect", NULL
11962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11967 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11971 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11973 wxPyEndAllowThreads(__tstate
);
11974 if (PyErr_Occurred()) SWIG_fail
;
11976 Py_INCREF(Py_None
); resultobj
= Py_None
;
11983 static PyObject
*_wrap_DC_DrawIconXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11984 PyObject
*resultobj
;
11985 wxDC
*arg1
= (wxDC
*) 0 ;
11989 PyObject
* obj0
= 0 ;
11990 PyObject
* obj1
= 0 ;
11991 PyObject
* obj2
= 0 ;
11992 PyObject
* obj3
= 0 ;
11993 char *kwnames
[] = {
11994 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIconXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12000 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
12001 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12003 if (arg2
== NULL
) {
12004 PyErr_SetString(PyExc_TypeError
,"null reference");
12007 arg3
= (int) SWIG_AsInt(obj2
);
12008 if (PyErr_Occurred()) SWIG_fail
;
12009 arg4
= (int) SWIG_AsInt(obj3
);
12010 if (PyErr_Occurred()) SWIG_fail
;
12012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12013 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
12015 wxPyEndAllowThreads(__tstate
);
12016 if (PyErr_Occurred()) SWIG_fail
;
12018 Py_INCREF(Py_None
); resultobj
= Py_None
;
12025 static PyObject
*_wrap_DC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12026 PyObject
*resultobj
;
12027 wxDC
*arg1
= (wxDC
*) 0 ;
12029 wxPoint
*arg3
= 0 ;
12031 PyObject
* obj0
= 0 ;
12032 PyObject
* obj1
= 0 ;
12033 PyObject
* obj2
= 0 ;
12034 char *kwnames
[] = {
12035 (char *) "self",(char *) "icon",(char *) "pt", NULL
12038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12041 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
12042 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12044 if (arg2
== NULL
) {
12045 PyErr_SetString(PyExc_TypeError
,"null reference");
12050 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12054 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
12056 wxPyEndAllowThreads(__tstate
);
12057 if (PyErr_Occurred()) SWIG_fail
;
12059 Py_INCREF(Py_None
); resultobj
= Py_None
;
12066 static PyObject
*_wrap_DC_DrawBitmapXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12067 PyObject
*resultobj
;
12068 wxDC
*arg1
= (wxDC
*) 0 ;
12069 wxBitmap
*arg2
= 0 ;
12072 bool arg5
= (bool) False
;
12073 PyObject
* obj0
= 0 ;
12074 PyObject
* obj1
= 0 ;
12075 PyObject
* obj2
= 0 ;
12076 PyObject
* obj3
= 0 ;
12077 PyObject
* obj4
= 0 ;
12078 char *kwnames
[] = {
12079 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
12082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmapXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12085 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
12086 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12088 if (arg2
== NULL
) {
12089 PyErr_SetString(PyExc_TypeError
,"null reference");
12092 arg3
= (int) SWIG_AsInt(obj2
);
12093 if (PyErr_Occurred()) SWIG_fail
;
12094 arg4
= (int) SWIG_AsInt(obj3
);
12095 if (PyErr_Occurred()) SWIG_fail
;
12097 arg5
= (bool) SWIG_AsBool(obj4
);
12098 if (PyErr_Occurred()) SWIG_fail
;
12101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12102 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
12104 wxPyEndAllowThreads(__tstate
);
12105 if (PyErr_Occurred()) SWIG_fail
;
12107 Py_INCREF(Py_None
); resultobj
= Py_None
;
12114 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12115 PyObject
*resultobj
;
12116 wxDC
*arg1
= (wxDC
*) 0 ;
12117 wxBitmap
*arg2
= 0 ;
12118 wxPoint
*arg3
= 0 ;
12119 bool arg4
= (bool) False
;
12121 PyObject
* obj0
= 0 ;
12122 PyObject
* obj1
= 0 ;
12123 PyObject
* obj2
= 0 ;
12124 PyObject
* obj3
= 0 ;
12125 char *kwnames
[] = {
12126 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
12129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12132 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
12133 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12135 if (arg2
== NULL
) {
12136 PyErr_SetString(PyExc_TypeError
,"null reference");
12141 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12144 arg4
= (bool) SWIG_AsBool(obj3
);
12145 if (PyErr_Occurred()) SWIG_fail
;
12148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12149 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
12151 wxPyEndAllowThreads(__tstate
);
12152 if (PyErr_Occurred()) SWIG_fail
;
12154 Py_INCREF(Py_None
); resultobj
= Py_None
;
12161 static PyObject
*_wrap_DC_DrawTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12162 PyObject
*resultobj
;
12163 wxDC
*arg1
= (wxDC
*) 0 ;
12164 wxString
*arg2
= 0 ;
12167 bool temp2
= False
;
12168 PyObject
* obj0
= 0 ;
12169 PyObject
* obj1
= 0 ;
12170 PyObject
* obj2
= 0 ;
12171 PyObject
* obj3
= 0 ;
12172 char *kwnames
[] = {
12173 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
12176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12180 arg2
= wxString_in_helper(obj1
);
12181 if (arg2
== NULL
) SWIG_fail
;
12184 arg3
= (int) SWIG_AsInt(obj2
);
12185 if (PyErr_Occurred()) SWIG_fail
;
12186 arg4
= (int) SWIG_AsInt(obj3
);
12187 if (PyErr_Occurred()) SWIG_fail
;
12189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12190 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
12192 wxPyEndAllowThreads(__tstate
);
12193 if (PyErr_Occurred()) SWIG_fail
;
12195 Py_INCREF(Py_None
); resultobj
= Py_None
;
12210 static PyObject
*_wrap_DC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12211 PyObject
*resultobj
;
12212 wxDC
*arg1
= (wxDC
*) 0 ;
12213 wxString
*arg2
= 0 ;
12214 wxPoint
*arg3
= 0 ;
12215 bool temp2
= False
;
12217 PyObject
* obj0
= 0 ;
12218 PyObject
* obj1
= 0 ;
12219 PyObject
* obj2
= 0 ;
12220 char *kwnames
[] = {
12221 (char *) "self",(char *) "text",(char *) "pt", NULL
12224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12228 arg2
= wxString_in_helper(obj1
);
12229 if (arg2
== NULL
) SWIG_fail
;
12234 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12238 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
12240 wxPyEndAllowThreads(__tstate
);
12241 if (PyErr_Occurred()) SWIG_fail
;
12243 Py_INCREF(Py_None
); resultobj
= Py_None
;
12258 static PyObject
*_wrap_DC_DrawRotatedTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12259 PyObject
*resultobj
;
12260 wxDC
*arg1
= (wxDC
*) 0 ;
12261 wxString
*arg2
= 0 ;
12265 bool temp2
= False
;
12266 PyObject
* obj0
= 0 ;
12267 PyObject
* obj1
= 0 ;
12268 PyObject
* obj2
= 0 ;
12269 PyObject
* obj3
= 0 ;
12270 PyObject
* obj4
= 0 ;
12271 char *kwnames
[] = {
12272 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
12275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12279 arg2
= wxString_in_helper(obj1
);
12280 if (arg2
== NULL
) SWIG_fail
;
12283 arg3
= (int) SWIG_AsInt(obj2
);
12284 if (PyErr_Occurred()) SWIG_fail
;
12285 arg4
= (int) SWIG_AsInt(obj3
);
12286 if (PyErr_Occurred()) SWIG_fail
;
12287 arg5
= (double) SWIG_AsDouble(obj4
);
12288 if (PyErr_Occurred()) SWIG_fail
;
12290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12291 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
12293 wxPyEndAllowThreads(__tstate
);
12294 if (PyErr_Occurred()) SWIG_fail
;
12296 Py_INCREF(Py_None
); resultobj
= Py_None
;
12311 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12312 PyObject
*resultobj
;
12313 wxDC
*arg1
= (wxDC
*) 0 ;
12314 wxString
*arg2
= 0 ;
12315 wxPoint
*arg3
= 0 ;
12317 bool temp2
= False
;
12319 PyObject
* obj0
= 0 ;
12320 PyObject
* obj1
= 0 ;
12321 PyObject
* obj2
= 0 ;
12322 PyObject
* obj3
= 0 ;
12323 char *kwnames
[] = {
12324 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
12327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12331 arg2
= wxString_in_helper(obj1
);
12332 if (arg2
== NULL
) SWIG_fail
;
12337 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12339 arg4
= (double) SWIG_AsDouble(obj3
);
12340 if (PyErr_Occurred()) SWIG_fail
;
12342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12343 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
12345 wxPyEndAllowThreads(__tstate
);
12346 if (PyErr_Occurred()) SWIG_fail
;
12348 Py_INCREF(Py_None
); resultobj
= Py_None
;
12363 static PyObject
*_wrap_DC_BlitXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12364 PyObject
*resultobj
;
12365 wxDC
*arg1
= (wxDC
*) 0 ;
12370 wxDC
*arg6
= (wxDC
*) 0 ;
12373 int arg9
= (int) wxCOPY
;
12374 bool arg10
= (bool) False
;
12375 int arg11
= (int) -1 ;
12376 int arg12
= (int) -1 ;
12378 PyObject
* obj0
= 0 ;
12379 PyObject
* obj1
= 0 ;
12380 PyObject
* obj2
= 0 ;
12381 PyObject
* obj3
= 0 ;
12382 PyObject
* obj4
= 0 ;
12383 PyObject
* obj5
= 0 ;
12384 PyObject
* obj6
= 0 ;
12385 PyObject
* obj7
= 0 ;
12386 PyObject
* obj8
= 0 ;
12387 PyObject
* obj9
= 0 ;
12388 PyObject
* obj10
= 0 ;
12389 PyObject
* obj11
= 0 ;
12390 char *kwnames
[] = {
12391 (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
12394 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
;
12395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12397 arg2
= (int) SWIG_AsInt(obj1
);
12398 if (PyErr_Occurred()) SWIG_fail
;
12399 arg3
= (int) SWIG_AsInt(obj2
);
12400 if (PyErr_Occurred()) SWIG_fail
;
12401 arg4
= (int) SWIG_AsInt(obj3
);
12402 if (PyErr_Occurred()) SWIG_fail
;
12403 arg5
= (int) SWIG_AsInt(obj4
);
12404 if (PyErr_Occurred()) SWIG_fail
;
12405 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
12406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12407 arg7
= (int) SWIG_AsInt(obj6
);
12408 if (PyErr_Occurred()) SWIG_fail
;
12409 arg8
= (int) SWIG_AsInt(obj7
);
12410 if (PyErr_Occurred()) SWIG_fail
;
12412 arg9
= (int) SWIG_AsInt(obj8
);
12413 if (PyErr_Occurred()) SWIG_fail
;
12416 arg10
= (bool) SWIG_AsBool(obj9
);
12417 if (PyErr_Occurred()) SWIG_fail
;
12420 arg11
= (int) SWIG_AsInt(obj10
);
12421 if (PyErr_Occurred()) SWIG_fail
;
12424 arg12
= (int) SWIG_AsInt(obj11
);
12425 if (PyErr_Occurred()) SWIG_fail
;
12428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12429 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
12431 wxPyEndAllowThreads(__tstate
);
12432 if (PyErr_Occurred()) SWIG_fail
;
12435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12443 static PyObject
*_wrap_DC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12444 PyObject
*resultobj
;
12445 wxDC
*arg1
= (wxDC
*) 0 ;
12446 wxPoint
*arg2
= 0 ;
12448 wxDC
*arg4
= (wxDC
*) 0 ;
12449 wxPoint
*arg5
= 0 ;
12450 int arg6
= (int) wxCOPY
;
12451 bool arg7
= (bool) False
;
12452 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
12453 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
12459 PyObject
* obj0
= 0 ;
12460 PyObject
* obj1
= 0 ;
12461 PyObject
* obj2
= 0 ;
12462 PyObject
* obj3
= 0 ;
12463 PyObject
* obj4
= 0 ;
12464 PyObject
* obj5
= 0 ;
12465 PyObject
* obj6
= 0 ;
12466 PyObject
* obj7
= 0 ;
12467 char *kwnames
[] = {
12468 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
12471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_Blit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12476 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12480 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12482 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
12483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12486 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12489 arg6
= (int) SWIG_AsInt(obj5
);
12490 if (PyErr_Occurred()) SWIG_fail
;
12493 arg7
= (bool) SWIG_AsBool(obj6
);
12494 if (PyErr_Occurred()) SWIG_fail
;
12499 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
12503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12504 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
12506 wxPyEndAllowThreads(__tstate
);
12507 if (PyErr_Occurred()) SWIG_fail
;
12510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12518 static PyObject
*_wrap_DC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12519 PyObject
*resultobj
;
12520 wxDC
*arg1
= (wxDC
*) 0 ;
12522 wxPoint
*arg3
= (wxPoint
*) 0 ;
12523 int arg4
= (int) 0 ;
12524 int arg5
= (int) 0 ;
12525 PyObject
* obj0
= 0 ;
12526 PyObject
* obj1
= 0 ;
12527 PyObject
* obj2
= 0 ;
12528 PyObject
* obj3
= 0 ;
12529 char *kwnames
[] = {
12530 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
12533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12537 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12538 if (arg3
== NULL
) SWIG_fail
;
12541 arg4
= (int) SWIG_AsInt(obj2
);
12542 if (PyErr_Occurred()) SWIG_fail
;
12545 arg5
= (int) SWIG_AsInt(obj3
);
12546 if (PyErr_Occurred()) SWIG_fail
;
12549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12550 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
12552 wxPyEndAllowThreads(__tstate
);
12553 if (PyErr_Occurred()) SWIG_fail
;
12555 Py_INCREF(Py_None
); resultobj
= Py_None
;
12557 if (arg3
) delete [] arg3
;
12562 if (arg3
) delete [] arg3
;
12568 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12569 PyObject
*resultobj
;
12570 wxDC
*arg1
= (wxDC
*) 0 ;
12572 wxPoint
*arg3
= (wxPoint
*) 0 ;
12573 int arg4
= (int) 0 ;
12574 int arg5
= (int) 0 ;
12575 int arg6
= (int) wxODDEVEN_RULE
;
12576 PyObject
* obj0
= 0 ;
12577 PyObject
* obj1
= 0 ;
12578 PyObject
* obj2
= 0 ;
12579 PyObject
* obj3
= 0 ;
12580 PyObject
* obj4
= 0 ;
12581 char *kwnames
[] = {
12582 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
12585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12589 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12590 if (arg3
== NULL
) SWIG_fail
;
12593 arg4
= (int) SWIG_AsInt(obj2
);
12594 if (PyErr_Occurred()) SWIG_fail
;
12597 arg5
= (int) SWIG_AsInt(obj3
);
12598 if (PyErr_Occurred()) SWIG_fail
;
12601 arg6
= (int) SWIG_AsInt(obj4
);
12602 if (PyErr_Occurred()) SWIG_fail
;
12605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12606 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
12608 wxPyEndAllowThreads(__tstate
);
12609 if (PyErr_Occurred()) SWIG_fail
;
12611 Py_INCREF(Py_None
); resultobj
= Py_None
;
12613 if (arg3
) delete [] arg3
;
12618 if (arg3
) delete [] arg3
;
12624 static PyObject
*_wrap_DC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12625 PyObject
*resultobj
;
12626 wxDC
*arg1
= (wxDC
*) 0 ;
12627 wxString
*arg2
= 0 ;
12629 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12630 int arg5
= (int) -1 ;
12631 bool temp2
= False
;
12633 PyObject
* obj0
= 0 ;
12634 PyObject
* obj1
= 0 ;
12635 PyObject
* obj2
= 0 ;
12636 PyObject
* obj3
= 0 ;
12637 PyObject
* obj4
= 0 ;
12638 char *kwnames
[] = {
12639 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12646 arg2
= wxString_in_helper(obj1
);
12647 if (arg2
== NULL
) SWIG_fail
;
12652 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
12655 arg4
= (int) SWIG_AsInt(obj3
);
12656 if (PyErr_Occurred()) SWIG_fail
;
12659 arg5
= (int) SWIG_AsInt(obj4
);
12660 if (PyErr_Occurred()) SWIG_fail
;
12663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12664 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
12666 wxPyEndAllowThreads(__tstate
);
12667 if (PyErr_Occurred()) SWIG_fail
;
12669 Py_INCREF(Py_None
); resultobj
= Py_None
;
12684 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12685 PyObject
*resultobj
;
12686 wxDC
*arg1
= (wxDC
*) 0 ;
12687 wxString
*arg2
= 0 ;
12688 wxBitmap
*arg3
= 0 ;
12690 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12691 int arg6
= (int) -1 ;
12693 bool temp2
= False
;
12695 PyObject
* obj0
= 0 ;
12696 PyObject
* obj1
= 0 ;
12697 PyObject
* obj2
= 0 ;
12698 PyObject
* obj3
= 0 ;
12699 PyObject
* obj4
= 0 ;
12700 PyObject
* obj5
= 0 ;
12701 char *kwnames
[] = {
12702 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12709 arg2
= wxString_in_helper(obj1
);
12710 if (arg2
== NULL
) SWIG_fail
;
12713 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
12714 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12716 if (arg3
== NULL
) {
12717 PyErr_SetString(PyExc_TypeError
,"null reference");
12722 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
12725 arg5
= (int) SWIG_AsInt(obj4
);
12726 if (PyErr_Occurred()) SWIG_fail
;
12729 arg6
= (int) SWIG_AsInt(obj5
);
12730 if (PyErr_Occurred()) SWIG_fail
;
12733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12734 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
12736 wxPyEndAllowThreads(__tstate
);
12737 if (PyErr_Occurred()) SWIG_fail
;
12740 wxRect
* resultptr
;
12741 resultptr
= new wxRect((wxRect
&) result
);
12742 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12758 static PyObject
*_wrap_DC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12759 PyObject
*resultobj
;
12760 wxDC
*arg1
= (wxDC
*) 0 ;
12762 wxPoint
*arg3
= (wxPoint
*) 0 ;
12763 PyObject
* obj0
= 0 ;
12764 PyObject
* obj1
= 0 ;
12765 char *kwnames
[] = {
12766 (char *) "self",(char *) "points", NULL
12769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
12770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12773 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12774 if (arg3
== NULL
) SWIG_fail
;
12777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12778 (arg1
)->DrawSpline(arg2
,arg3
);
12780 wxPyEndAllowThreads(__tstate
);
12781 if (PyErr_Occurred()) SWIG_fail
;
12783 Py_INCREF(Py_None
); resultobj
= Py_None
;
12785 if (arg3
) delete [] arg3
;
12790 if (arg3
) delete [] arg3
;
12796 static PyObject
*_wrap_DC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12797 PyObject
*resultobj
;
12798 wxDC
*arg1
= (wxDC
*) 0 ;
12799 PyObject
* obj0
= 0 ;
12800 char *kwnames
[] = {
12801 (char *) "self", NULL
12804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
12805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12811 wxPyEndAllowThreads(__tstate
);
12812 if (PyErr_Occurred()) SWIG_fail
;
12814 Py_INCREF(Py_None
); resultobj
= Py_None
;
12821 static PyObject
*_wrap_DC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12822 PyObject
*resultobj
;
12823 wxDC
*arg1
= (wxDC
*) 0 ;
12824 wxString
*arg2
= 0 ;
12826 bool temp2
= False
;
12827 PyObject
* obj0
= 0 ;
12828 PyObject
* obj1
= 0 ;
12829 char *kwnames
[] = {
12830 (char *) "self",(char *) "message", NULL
12833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
12834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12837 arg2
= wxString_in_helper(obj1
);
12838 if (arg2
== NULL
) SWIG_fail
;
12842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12843 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
12845 wxPyEndAllowThreads(__tstate
);
12846 if (PyErr_Occurred()) SWIG_fail
;
12849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12865 static PyObject
*_wrap_DC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12866 PyObject
*resultobj
;
12867 wxDC
*arg1
= (wxDC
*) 0 ;
12868 PyObject
* obj0
= 0 ;
12869 char *kwnames
[] = {
12870 (char *) "self", NULL
12873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
12874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12880 wxPyEndAllowThreads(__tstate
);
12881 if (PyErr_Occurred()) SWIG_fail
;
12883 Py_INCREF(Py_None
); resultobj
= Py_None
;
12890 static PyObject
*_wrap_DC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12891 PyObject
*resultobj
;
12892 wxDC
*arg1
= (wxDC
*) 0 ;
12893 PyObject
* obj0
= 0 ;
12894 char *kwnames
[] = {
12895 (char *) "self", NULL
12898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
12899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12903 (arg1
)->StartPage();
12905 wxPyEndAllowThreads(__tstate
);
12906 if (PyErr_Occurred()) SWIG_fail
;
12908 Py_INCREF(Py_None
); resultobj
= Py_None
;
12915 static PyObject
*_wrap_DC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12916 PyObject
*resultobj
;
12917 wxDC
*arg1
= (wxDC
*) 0 ;
12918 PyObject
* obj0
= 0 ;
12919 char *kwnames
[] = {
12920 (char *) "self", NULL
12923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
12924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12930 wxPyEndAllowThreads(__tstate
);
12931 if (PyErr_Occurred()) SWIG_fail
;
12933 Py_INCREF(Py_None
); resultobj
= Py_None
;
12940 static PyObject
*_wrap_DC_SetFont(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 *) "font", NULL
12950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12953 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12954 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12956 if (arg2
== NULL
) {
12957 PyErr_SetString(PyExc_TypeError
,"null reference");
12961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12962 (arg1
)->SetFont((wxFont
const &)*arg2
);
12964 wxPyEndAllowThreads(__tstate
);
12965 if (PyErr_Occurred()) SWIG_fail
;
12967 Py_INCREF(Py_None
); resultobj
= Py_None
;
12974 static PyObject
*_wrap_DC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12975 PyObject
*resultobj
;
12976 wxDC
*arg1
= (wxDC
*) 0 ;
12978 PyObject
* obj0
= 0 ;
12979 PyObject
* obj1
= 0 ;
12980 char *kwnames
[] = {
12981 (char *) "self",(char *) "pen", NULL
12984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
12985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12987 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
12988 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12990 if (arg2
== NULL
) {
12991 PyErr_SetString(PyExc_TypeError
,"null reference");
12995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12996 (arg1
)->SetPen((wxPen
const &)*arg2
);
12998 wxPyEndAllowThreads(__tstate
);
12999 if (PyErr_Occurred()) SWIG_fail
;
13001 Py_INCREF(Py_None
); resultobj
= Py_None
;
13008 static PyObject
*_wrap_DC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13009 PyObject
*resultobj
;
13010 wxDC
*arg1
= (wxDC
*) 0 ;
13011 wxBrush
*arg2
= 0 ;
13012 PyObject
* obj0
= 0 ;
13013 PyObject
* obj1
= 0 ;
13014 char *kwnames
[] = {
13015 (char *) "self",(char *) "brush", NULL
13018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
13019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13021 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
13022 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13024 if (arg2
== NULL
) {
13025 PyErr_SetString(PyExc_TypeError
,"null reference");
13029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13030 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
13032 wxPyEndAllowThreads(__tstate
);
13033 if (PyErr_Occurred()) SWIG_fail
;
13035 Py_INCREF(Py_None
); resultobj
= Py_None
;
13042 static PyObject
*_wrap_DC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13043 PyObject
*resultobj
;
13044 wxDC
*arg1
= (wxDC
*) 0 ;
13045 wxBrush
*arg2
= 0 ;
13046 PyObject
* obj0
= 0 ;
13047 PyObject
* obj1
= 0 ;
13048 char *kwnames
[] = {
13049 (char *) "self",(char *) "brush", NULL
13052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13055 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
13056 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13058 if (arg2
== NULL
) {
13059 PyErr_SetString(PyExc_TypeError
,"null reference");
13063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13064 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
13066 wxPyEndAllowThreads(__tstate
);
13067 if (PyErr_Occurred()) SWIG_fail
;
13069 Py_INCREF(Py_None
); resultobj
= Py_None
;
13076 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13077 PyObject
*resultobj
;
13078 wxDC
*arg1
= (wxDC
*) 0 ;
13080 PyObject
* obj0
= 0 ;
13081 PyObject
* obj1
= 0 ;
13082 char *kwnames
[] = {
13083 (char *) "self",(char *) "mode", NULL
13086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
13087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13089 arg2
= (int) SWIG_AsInt(obj1
);
13090 if (PyErr_Occurred()) SWIG_fail
;
13092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13093 (arg1
)->SetBackgroundMode(arg2
);
13095 wxPyEndAllowThreads(__tstate
);
13096 if (PyErr_Occurred()) SWIG_fail
;
13098 Py_INCREF(Py_None
); resultobj
= Py_None
;
13105 static PyObject
*_wrap_DC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13106 PyObject
*resultobj
;
13107 wxDC
*arg1
= (wxDC
*) 0 ;
13108 wxPalette
*arg2
= 0 ;
13109 PyObject
* obj0
= 0 ;
13110 PyObject
* obj1
= 0 ;
13111 char *kwnames
[] = {
13112 (char *) "self",(char *) "palette", NULL
13115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
13116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13118 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
13119 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13121 if (arg2
== NULL
) {
13122 PyErr_SetString(PyExc_TypeError
,"null reference");
13126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13127 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
13129 wxPyEndAllowThreads(__tstate
);
13130 if (PyErr_Occurred()) SWIG_fail
;
13132 Py_INCREF(Py_None
); resultobj
= Py_None
;
13139 static PyObject
*_wrap_DC_SetClippingRegionXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13140 PyObject
*resultobj
;
13141 wxDC
*arg1
= (wxDC
*) 0 ;
13146 PyObject
* obj0
= 0 ;
13147 PyObject
* obj1
= 0 ;
13148 PyObject
* obj2
= 0 ;
13149 PyObject
* obj3
= 0 ;
13150 PyObject
* obj4
= 0 ;
13151 char *kwnames
[] = {
13152 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegionXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13158 arg2
= (int) SWIG_AsInt(obj1
);
13159 if (PyErr_Occurred()) SWIG_fail
;
13160 arg3
= (int) SWIG_AsInt(obj2
);
13161 if (PyErr_Occurred()) SWIG_fail
;
13162 arg4
= (int) SWIG_AsInt(obj3
);
13163 if (PyErr_Occurred()) SWIG_fail
;
13164 arg5
= (int) SWIG_AsInt(obj4
);
13165 if (PyErr_Occurred()) SWIG_fail
;
13167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13168 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
13170 wxPyEndAllowThreads(__tstate
);
13171 if (PyErr_Occurred()) SWIG_fail
;
13173 Py_INCREF(Py_None
); resultobj
= Py_None
;
13180 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13181 PyObject
*resultobj
;
13182 wxDC
*arg1
= (wxDC
*) 0 ;
13183 wxPoint
*arg2
= 0 ;
13187 PyObject
* obj0
= 0 ;
13188 PyObject
* obj1
= 0 ;
13189 PyObject
* obj2
= 0 ;
13190 char *kwnames
[] = {
13191 (char *) "self",(char *) "pt",(char *) "sz", NULL
13194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13199 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13203 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13207 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13209 wxPyEndAllowThreads(__tstate
);
13210 if (PyErr_Occurred()) SWIG_fail
;
13212 Py_INCREF(Py_None
); resultobj
= Py_None
;
13219 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13220 PyObject
*resultobj
;
13221 wxDC
*arg1
= (wxDC
*) 0 ;
13224 PyObject
* obj0
= 0 ;
13225 PyObject
* obj1
= 0 ;
13226 char *kwnames
[] = {
13227 (char *) "self",(char *) "rect", NULL
13230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
13231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13235 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13239 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
13241 wxPyEndAllowThreads(__tstate
);
13242 if (PyErr_Occurred()) SWIG_fail
;
13244 Py_INCREF(Py_None
); resultobj
= Py_None
;
13251 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13252 PyObject
*resultobj
;
13253 wxDC
*arg1
= (wxDC
*) 0 ;
13254 wxRegion
*arg2
= 0 ;
13255 PyObject
* obj0
= 0 ;
13256 PyObject
* obj1
= 0 ;
13257 char *kwnames
[] = {
13258 (char *) "self",(char *) "region", NULL
13261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
13262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13264 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
13265 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13267 if (arg2
== NULL
) {
13268 PyErr_SetString(PyExc_TypeError
,"null reference");
13272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13273 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
13275 wxPyEndAllowThreads(__tstate
);
13276 if (PyErr_Occurred()) SWIG_fail
;
13278 Py_INCREF(Py_None
); resultobj
= Py_None
;
13285 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13286 PyObject
*resultobj
;
13287 wxDC
*arg1
= (wxDC
*) 0 ;
13288 PyObject
* obj0
= 0 ;
13289 char *kwnames
[] = {
13290 (char *) "self", NULL
13293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
13294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13298 (arg1
)->DestroyClippingRegion();
13300 wxPyEndAllowThreads(__tstate
);
13301 if (PyErr_Occurred()) SWIG_fail
;
13303 Py_INCREF(Py_None
); resultobj
= Py_None
;
13310 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13311 PyObject
*resultobj
;
13312 wxDC
*arg1
= (wxDC
*) 0 ;
13313 int *arg2
= (int *) 0 ;
13314 int *arg3
= (int *) 0 ;
13315 int *arg4
= (int *) 0 ;
13316 int *arg5
= (int *) 0 ;
13321 PyObject
* obj0
= 0 ;
13322 char *kwnames
[] = {
13323 (char *) "self", NULL
13330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
13331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13335 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
13337 wxPyEndAllowThreads(__tstate
);
13338 if (PyErr_Occurred()) SWIG_fail
;
13340 Py_INCREF(Py_None
); resultobj
= Py_None
;
13342 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13343 resultobj
= t_output_helper(resultobj
,o
);
13346 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13347 resultobj
= t_output_helper(resultobj
,o
);
13350 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13351 resultobj
= t_output_helper(resultobj
,o
);
13354 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13355 resultobj
= t_output_helper(resultobj
,o
);
13363 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13364 PyObject
*resultobj
;
13365 wxDC
*arg1
= (wxDC
*) 0 ;
13367 PyObject
* obj0
= 0 ;
13368 char *kwnames
[] = {
13369 (char *) "self", NULL
13372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
13373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13377 result
= wxDC_GetClippingRect(arg1
);
13379 wxPyEndAllowThreads(__tstate
);
13380 if (PyErr_Occurred()) SWIG_fail
;
13383 wxRect
* resultptr
;
13384 resultptr
= new wxRect((wxRect
&) result
);
13385 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
13393 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13394 PyObject
*resultobj
;
13395 wxDC
*arg1
= (wxDC
*) 0 ;
13397 PyObject
* obj0
= 0 ;
13398 char *kwnames
[] = {
13399 (char *) "self", NULL
13402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
13403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13407 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
13409 wxPyEndAllowThreads(__tstate
);
13410 if (PyErr_Occurred()) SWIG_fail
;
13412 resultobj
= SWIG_FromInt((int)result
);
13419 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13420 PyObject
*resultobj
;
13421 wxDC
*arg1
= (wxDC
*) 0 ;
13423 PyObject
* obj0
= 0 ;
13424 char *kwnames
[] = {
13425 (char *) "self", NULL
13428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
13429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13433 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
13435 wxPyEndAllowThreads(__tstate
);
13436 if (PyErr_Occurred()) SWIG_fail
;
13438 resultobj
= SWIG_FromInt((int)result
);
13445 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13446 PyObject
*resultobj
;
13447 wxDC
*arg1
= (wxDC
*) 0 ;
13448 wxString
*arg2
= 0 ;
13449 int *arg3
= (int *) 0 ;
13450 int *arg4
= (int *) 0 ;
13451 bool temp2
= False
;
13454 PyObject
* obj0
= 0 ;
13455 PyObject
* obj1
= 0 ;
13456 char *kwnames
[] = {
13457 (char *) "self",(char *) "string", NULL
13462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
13463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13466 arg2
= wxString_in_helper(obj1
);
13467 if (arg2
== NULL
) SWIG_fail
;
13471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13472 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
13474 wxPyEndAllowThreads(__tstate
);
13475 if (PyErr_Occurred()) SWIG_fail
;
13477 Py_INCREF(Py_None
); resultobj
= Py_None
;
13479 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13480 resultobj
= t_output_helper(resultobj
,o
);
13483 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13484 resultobj
= t_output_helper(resultobj
,o
);
13500 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13501 PyObject
*resultobj
;
13502 wxDC
*arg1
= (wxDC
*) 0 ;
13503 wxString
*arg2
= 0 ;
13504 int *arg3
= (int *) 0 ;
13505 int *arg4
= (int *) 0 ;
13506 int *arg5
= (int *) 0 ;
13507 int *arg6
= (int *) 0 ;
13508 wxFont
*arg7
= (wxFont
*) NULL
;
13509 bool temp2
= False
;
13514 PyObject
* obj0
= 0 ;
13515 PyObject
* obj1
= 0 ;
13516 PyObject
* obj2
= 0 ;
13517 char *kwnames
[] = {
13518 (char *) "self",(char *) "string",(char *) "font", NULL
13525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13529 arg2
= wxString_in_helper(obj1
);
13530 if (arg2
== NULL
) SWIG_fail
;
13534 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
13535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13539 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13541 wxPyEndAllowThreads(__tstate
);
13542 if (PyErr_Occurred()) SWIG_fail
;
13544 Py_INCREF(Py_None
); resultobj
= Py_None
;
13546 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13547 resultobj
= t_output_helper(resultobj
,o
);
13550 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13551 resultobj
= t_output_helper(resultobj
,o
);
13554 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13555 resultobj
= t_output_helper(resultobj
,o
);
13558 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
13559 resultobj
= t_output_helper(resultobj
,o
);
13575 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13576 PyObject
*resultobj
;
13577 wxDC
*arg1
= (wxDC
*) 0 ;
13578 wxString
*arg2
= 0 ;
13579 int *arg3
= (int *) 0 ;
13580 int *arg4
= (int *) 0 ;
13581 int *arg5
= (int *) 0 ;
13582 wxFont
*arg6
= (wxFont
*) NULL
;
13583 bool temp2
= False
;
13587 PyObject
* obj0
= 0 ;
13588 PyObject
* obj1
= 0 ;
13589 PyObject
* obj2
= 0 ;
13590 char *kwnames
[] = {
13591 (char *) "self",(char *) "text",(char *) "font", NULL
13597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13601 arg2
= wxString_in_helper(obj1
);
13602 if (arg2
== NULL
) SWIG_fail
;
13606 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
13607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13611 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
13613 wxPyEndAllowThreads(__tstate
);
13614 if (PyErr_Occurred()) SWIG_fail
;
13616 Py_INCREF(Py_None
); resultobj
= Py_None
;
13618 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13619 resultobj
= t_output_helper(resultobj
,o
);
13622 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13623 resultobj
= t_output_helper(resultobj
,o
);
13626 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13627 resultobj
= t_output_helper(resultobj
,o
);
13643 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13644 PyObject
*resultobj
;
13645 wxDC
*arg1
= (wxDC
*) 0 ;
13646 wxString
*arg2
= 0 ;
13648 bool temp2
= False
;
13649 PyObject
* obj0
= 0 ;
13650 PyObject
* obj1
= 0 ;
13651 char *kwnames
[] = {
13652 (char *) "self",(char *) "text", NULL
13655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
13656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13659 arg2
= wxString_in_helper(obj1
);
13660 if (arg2
== NULL
) SWIG_fail
;
13664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13665 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
13667 wxPyEndAllowThreads(__tstate
);
13668 if (PyErr_Occurred()) SWIG_fail
;
13671 resultobj
= PyList_New(0);
13673 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13674 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13675 PyList_Append(resultobj
, val
);
13693 static PyObject
*_wrap_DC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13694 PyObject
*resultobj
;
13695 wxDC
*arg1
= (wxDC
*) 0 ;
13697 PyObject
* obj0
= 0 ;
13698 char *kwnames
[] = {
13699 (char *) "self", NULL
13702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
13703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13707 result
= (arg1
)->GetSize();
13709 wxPyEndAllowThreads(__tstate
);
13710 if (PyErr_Occurred()) SWIG_fail
;
13713 wxSize
* resultptr
;
13714 resultptr
= new wxSize((wxSize
&) result
);
13715 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13723 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13724 PyObject
*resultobj
;
13725 wxDC
*arg1
= (wxDC
*) 0 ;
13726 int *arg2
= (int *) 0 ;
13727 int *arg3
= (int *) 0 ;
13730 PyObject
* obj0
= 0 ;
13731 char *kwnames
[] = {
13732 (char *) "self", NULL
13737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
13738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13742 (arg1
)->GetSize(arg2
,arg3
);
13744 wxPyEndAllowThreads(__tstate
);
13745 if (PyErr_Occurred()) SWIG_fail
;
13747 Py_INCREF(Py_None
); resultobj
= Py_None
;
13749 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13750 resultobj
= t_output_helper(resultobj
,o
);
13753 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13754 resultobj
= t_output_helper(resultobj
,o
);
13762 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13763 PyObject
*resultobj
;
13764 wxDC
*arg1
= (wxDC
*) 0 ;
13766 PyObject
* obj0
= 0 ;
13767 char *kwnames
[] = {
13768 (char *) "self", NULL
13771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
13772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13776 result
= ((wxDC
const *)arg1
)->GetSizeMM();
13778 wxPyEndAllowThreads(__tstate
);
13779 if (PyErr_Occurred()) SWIG_fail
;
13782 wxSize
* resultptr
;
13783 resultptr
= new wxSize((wxSize
&) result
);
13784 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13792 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13793 PyObject
*resultobj
;
13794 wxDC
*arg1
= (wxDC
*) 0 ;
13795 int *arg2
= (int *) 0 ;
13796 int *arg3
= (int *) 0 ;
13799 PyObject
* obj0
= 0 ;
13800 char *kwnames
[] = {
13801 (char *) "self", NULL
13806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13811 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13813 wxPyEndAllowThreads(__tstate
);
13814 if (PyErr_Occurred()) SWIG_fail
;
13816 Py_INCREF(Py_None
); resultobj
= Py_None
;
13818 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13819 resultobj
= t_output_helper(resultobj
,o
);
13822 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13823 resultobj
= t_output_helper(resultobj
,o
);
13831 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13832 PyObject
*resultobj
;
13833 wxDC
*arg1
= (wxDC
*) 0 ;
13836 PyObject
* obj0
= 0 ;
13837 PyObject
* obj1
= 0 ;
13838 char *kwnames
[] = {
13839 (char *) "self",(char *) "x", NULL
13842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
13843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13845 arg2
= (int) SWIG_AsInt(obj1
);
13846 if (PyErr_Occurred()) SWIG_fail
;
13848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13849 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
13851 wxPyEndAllowThreads(__tstate
);
13852 if (PyErr_Occurred()) SWIG_fail
;
13854 resultobj
= SWIG_FromInt((int)result
);
13861 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13862 PyObject
*resultobj
;
13863 wxDC
*arg1
= (wxDC
*) 0 ;
13866 PyObject
* obj0
= 0 ;
13867 PyObject
* obj1
= 0 ;
13868 char *kwnames
[] = {
13869 (char *) "self",(char *) "y", NULL
13872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
13873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13875 arg2
= (int) SWIG_AsInt(obj1
);
13876 if (PyErr_Occurred()) SWIG_fail
;
13878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13879 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
13881 wxPyEndAllowThreads(__tstate
);
13882 if (PyErr_Occurred()) SWIG_fail
;
13884 resultobj
= SWIG_FromInt((int)result
);
13891 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13892 PyObject
*resultobj
;
13893 wxDC
*arg1
= (wxDC
*) 0 ;
13896 PyObject
* obj0
= 0 ;
13897 PyObject
* obj1
= 0 ;
13898 char *kwnames
[] = {
13899 (char *) "self",(char *) "x", NULL
13902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13905 arg2
= (int) SWIG_AsInt(obj1
);
13906 if (PyErr_Occurred()) SWIG_fail
;
13908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13909 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
13911 wxPyEndAllowThreads(__tstate
);
13912 if (PyErr_Occurred()) SWIG_fail
;
13914 resultobj
= SWIG_FromInt((int)result
);
13921 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13922 PyObject
*resultobj
;
13923 wxDC
*arg1
= (wxDC
*) 0 ;
13926 PyObject
* obj0
= 0 ;
13927 PyObject
* obj1
= 0 ;
13928 char *kwnames
[] = {
13929 (char *) "self",(char *) "y", NULL
13932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13935 arg2
= (int) SWIG_AsInt(obj1
);
13936 if (PyErr_Occurred()) SWIG_fail
;
13938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13939 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
13941 wxPyEndAllowThreads(__tstate
);
13942 if (PyErr_Occurred()) SWIG_fail
;
13944 resultobj
= SWIG_FromInt((int)result
);
13951 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13952 PyObject
*resultobj
;
13953 wxDC
*arg1
= (wxDC
*) 0 ;
13956 PyObject
* obj0
= 0 ;
13957 PyObject
* obj1
= 0 ;
13958 char *kwnames
[] = {
13959 (char *) "self",(char *) "x", NULL
13962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
13963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13965 arg2
= (int) SWIG_AsInt(obj1
);
13966 if (PyErr_Occurred()) SWIG_fail
;
13968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13969 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
13971 wxPyEndAllowThreads(__tstate
);
13972 if (PyErr_Occurred()) SWIG_fail
;
13974 resultobj
= SWIG_FromInt((int)result
);
13981 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13982 PyObject
*resultobj
;
13983 wxDC
*arg1
= (wxDC
*) 0 ;
13986 PyObject
* obj0
= 0 ;
13987 PyObject
* obj1
= 0 ;
13988 char *kwnames
[] = {
13989 (char *) "self",(char *) "y", NULL
13992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13995 arg2
= (int) SWIG_AsInt(obj1
);
13996 if (PyErr_Occurred()) SWIG_fail
;
13998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13999 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
14001 wxPyEndAllowThreads(__tstate
);
14002 if (PyErr_Occurred()) SWIG_fail
;
14004 resultobj
= SWIG_FromInt((int)result
);
14011 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14012 PyObject
*resultobj
;
14013 wxDC
*arg1
= (wxDC
*) 0 ;
14016 PyObject
* obj0
= 0 ;
14017 PyObject
* obj1
= 0 ;
14018 char *kwnames
[] = {
14019 (char *) "self",(char *) "x", NULL
14022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
14023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14025 arg2
= (int) SWIG_AsInt(obj1
);
14026 if (PyErr_Occurred()) SWIG_fail
;
14028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14029 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
14031 wxPyEndAllowThreads(__tstate
);
14032 if (PyErr_Occurred()) SWIG_fail
;
14034 resultobj
= SWIG_FromInt((int)result
);
14041 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14042 PyObject
*resultobj
;
14043 wxDC
*arg1
= (wxDC
*) 0 ;
14046 PyObject
* obj0
= 0 ;
14047 PyObject
* obj1
= 0 ;
14048 char *kwnames
[] = {
14049 (char *) "self",(char *) "y", NULL
14052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
14053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14055 arg2
= (int) SWIG_AsInt(obj1
);
14056 if (PyErr_Occurred()) SWIG_fail
;
14058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14059 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
14061 wxPyEndAllowThreads(__tstate
);
14062 if (PyErr_Occurred()) SWIG_fail
;
14064 resultobj
= SWIG_FromInt((int)result
);
14071 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14072 PyObject
*resultobj
;
14073 wxDC
*arg1
= (wxDC
*) 0 ;
14075 PyObject
* obj0
= 0 ;
14076 char *kwnames
[] = {
14077 (char *) "self", NULL
14080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
14081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14085 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
14087 wxPyEndAllowThreads(__tstate
);
14088 if (PyErr_Occurred()) SWIG_fail
;
14091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14099 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14100 PyObject
*resultobj
;
14101 wxDC
*arg1
= (wxDC
*) 0 ;
14103 PyObject
* obj0
= 0 ;
14104 char *kwnames
[] = {
14105 (char *) "self", NULL
14108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
14109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14113 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
14115 wxPyEndAllowThreads(__tstate
);
14116 if (PyErr_Occurred()) SWIG_fail
;
14119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14127 static PyObject
*_wrap_DC_GetDepth(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_GetDepth",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();
14141 result
= (int)((wxDC
const *)arg1
)->GetDepth();
14143 wxPyEndAllowThreads(__tstate
);
14144 if (PyErr_Occurred()) SWIG_fail
;
14146 resultobj
= SWIG_FromInt((int)result
);
14153 static PyObject
*_wrap_DC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14154 PyObject
*resultobj
;
14155 wxDC
*arg1
= (wxDC
*) 0 ;
14157 PyObject
* obj0
= 0 ;
14158 char *kwnames
[] = {
14159 (char *) "self", NULL
14162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
14163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14167 result
= ((wxDC
const *)arg1
)->GetPPI();
14169 wxPyEndAllowThreads(__tstate
);
14170 if (PyErr_Occurred()) SWIG_fail
;
14173 wxSize
* resultptr
;
14174 resultptr
= new wxSize((wxSize
&) result
);
14175 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14183 static PyObject
*_wrap_DC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14184 PyObject
*resultobj
;
14185 wxDC
*arg1
= (wxDC
*) 0 ;
14187 PyObject
* obj0
= 0 ;
14188 char *kwnames
[] = {
14189 (char *) "self", NULL
14192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
14193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14197 result
= (bool)((wxDC
const *)arg1
)->Ok();
14199 wxPyEndAllowThreads(__tstate
);
14200 if (PyErr_Occurred()) SWIG_fail
;
14203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14211 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14212 PyObject
*resultobj
;
14213 wxDC
*arg1
= (wxDC
*) 0 ;
14215 PyObject
* obj0
= 0 ;
14216 char *kwnames
[] = {
14217 (char *) "self", NULL
14220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
14221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14225 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
14227 wxPyEndAllowThreads(__tstate
);
14228 if (PyErr_Occurred()) SWIG_fail
;
14230 resultobj
= SWIG_FromInt((int)result
);
14237 static PyObject
*_wrap_DC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14238 PyObject
*resultobj
;
14239 wxDC
*arg1
= (wxDC
*) 0 ;
14241 PyObject
* obj0
= 0 ;
14242 char *kwnames
[] = {
14243 (char *) "self", NULL
14246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
14247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14252 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
14253 result
= (wxBrush
*) &_result_ref
;
14256 wxPyEndAllowThreads(__tstate
);
14257 if (PyErr_Occurred()) SWIG_fail
;
14260 wxBrush
* resultptr
= new wxBrush(*result
);
14261 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
14269 static PyObject
*_wrap_DC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14270 PyObject
*resultobj
;
14271 wxDC
*arg1
= (wxDC
*) 0 ;
14273 PyObject
* obj0
= 0 ;
14274 char *kwnames
[] = {
14275 (char *) "self", NULL
14278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
14279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14284 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
14285 result
= (wxBrush
*) &_result_ref
;
14288 wxPyEndAllowThreads(__tstate
);
14289 if (PyErr_Occurred()) SWIG_fail
;
14292 wxBrush
* resultptr
= new wxBrush(*result
);
14293 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
14301 static PyObject
*_wrap_DC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14302 PyObject
*resultobj
;
14303 wxDC
*arg1
= (wxDC
*) 0 ;
14305 PyObject
* obj0
= 0 ;
14306 char *kwnames
[] = {
14307 (char *) "self", NULL
14310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
14311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14316 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
14317 result
= (wxFont
*) &_result_ref
;
14320 wxPyEndAllowThreads(__tstate
);
14321 if (PyErr_Occurred()) SWIG_fail
;
14324 wxFont
* resultptr
= new wxFont(*result
);
14325 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
14333 static PyObject
*_wrap_DC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14334 PyObject
*resultobj
;
14335 wxDC
*arg1
= (wxDC
*) 0 ;
14337 PyObject
* obj0
= 0 ;
14338 char *kwnames
[] = {
14339 (char *) "self", NULL
14342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
14343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14348 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
14349 result
= (wxPen
*) &_result_ref
;
14352 wxPyEndAllowThreads(__tstate
);
14353 if (PyErr_Occurred()) SWIG_fail
;
14356 wxPen
* resultptr
= new wxPen(*result
);
14357 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
14365 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14366 PyObject
*resultobj
;
14367 wxDC
*arg1
= (wxDC
*) 0 ;
14369 PyObject
* obj0
= 0 ;
14370 char *kwnames
[] = {
14371 (char *) "self", NULL
14374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
14375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14380 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
14381 result
= (wxColour
*) &_result_ref
;
14384 wxPyEndAllowThreads(__tstate
);
14385 if (PyErr_Occurred()) SWIG_fail
;
14387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14394 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14395 PyObject
*resultobj
;
14396 wxDC
*arg1
= (wxDC
*) 0 ;
14398 PyObject
* obj0
= 0 ;
14399 char *kwnames
[] = {
14400 (char *) "self", NULL
14403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
14404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14409 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
14410 result
= (wxColour
*) &_result_ref
;
14413 wxPyEndAllowThreads(__tstate
);
14414 if (PyErr_Occurred()) SWIG_fail
;
14416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14423 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14424 PyObject
*resultobj
;
14425 wxDC
*arg1
= (wxDC
*) 0 ;
14426 wxColour
*arg2
= 0 ;
14428 PyObject
* obj0
= 0 ;
14429 PyObject
* obj1
= 0 ;
14430 char *kwnames
[] = {
14431 (char *) "self",(char *) "colour", NULL
14434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
14435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14439 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14443 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
14445 wxPyEndAllowThreads(__tstate
);
14446 if (PyErr_Occurred()) SWIG_fail
;
14448 Py_INCREF(Py_None
); resultobj
= Py_None
;
14455 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14456 PyObject
*resultobj
;
14457 wxDC
*arg1
= (wxDC
*) 0 ;
14458 wxColour
*arg2
= 0 ;
14460 PyObject
* obj0
= 0 ;
14461 PyObject
* obj1
= 0 ;
14462 char *kwnames
[] = {
14463 (char *) "self",(char *) "colour", NULL
14466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
14467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14471 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14475 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
14477 wxPyEndAllowThreads(__tstate
);
14478 if (PyErr_Occurred()) SWIG_fail
;
14480 Py_INCREF(Py_None
); resultobj
= Py_None
;
14487 static PyObject
*_wrap_DC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14488 PyObject
*resultobj
;
14489 wxDC
*arg1
= (wxDC
*) 0 ;
14491 PyObject
* obj0
= 0 ;
14492 char *kwnames
[] = {
14493 (char *) "self", NULL
14496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
14497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14501 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
14503 wxPyEndAllowThreads(__tstate
);
14504 if (PyErr_Occurred()) SWIG_fail
;
14506 resultobj
= SWIG_FromInt((int)result
);
14513 static PyObject
*_wrap_DC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14514 PyObject
*resultobj
;
14515 wxDC
*arg1
= (wxDC
*) 0 ;
14517 PyObject
* obj0
= 0 ;
14518 PyObject
* obj1
= 0 ;
14519 char *kwnames
[] = {
14520 (char *) "self",(char *) "mode", NULL
14523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
14524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14526 arg2
= (int) SWIG_AsInt(obj1
);
14527 if (PyErr_Occurred()) SWIG_fail
;
14529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14530 (arg1
)->SetMapMode(arg2
);
14532 wxPyEndAllowThreads(__tstate
);
14533 if (PyErr_Occurred()) SWIG_fail
;
14535 Py_INCREF(Py_None
); resultobj
= Py_None
;
14542 static PyObject
*_wrap_DC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14543 PyObject
*resultobj
;
14544 wxDC
*arg1
= (wxDC
*) 0 ;
14545 double *arg2
= (double *) 0 ;
14546 double *arg3
= (double *) 0 ;
14549 PyObject
* obj0
= 0 ;
14550 char *kwnames
[] = {
14551 (char *) "self", NULL
14556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
14557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14561 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
14563 wxPyEndAllowThreads(__tstate
);
14564 if (PyErr_Occurred()) SWIG_fail
;
14566 Py_INCREF(Py_None
); resultobj
= Py_None
;
14568 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14569 resultobj
= t_output_helper(resultobj
,o
);
14572 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14573 resultobj
= t_output_helper(resultobj
,o
);
14581 static PyObject
*_wrap_DC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14582 PyObject
*resultobj
;
14583 wxDC
*arg1
= (wxDC
*) 0 ;
14586 PyObject
* obj0
= 0 ;
14587 PyObject
* obj1
= 0 ;
14588 PyObject
* obj2
= 0 ;
14589 char *kwnames
[] = {
14590 (char *) "self",(char *) "x",(char *) "y", NULL
14593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14596 arg2
= (double) SWIG_AsDouble(obj1
);
14597 if (PyErr_Occurred()) SWIG_fail
;
14598 arg3
= (double) SWIG_AsDouble(obj2
);
14599 if (PyErr_Occurred()) SWIG_fail
;
14601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14602 (arg1
)->SetUserScale(arg2
,arg3
);
14604 wxPyEndAllowThreads(__tstate
);
14605 if (PyErr_Occurred()) SWIG_fail
;
14607 Py_INCREF(Py_None
); resultobj
= Py_None
;
14614 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14615 PyObject
*resultobj
;
14616 wxDC
*arg1
= (wxDC
*) 0 ;
14617 double *arg2
= (double *) 0 ;
14618 double *arg3
= (double *) 0 ;
14621 PyObject
* obj0
= 0 ;
14622 char *kwnames
[] = {
14623 (char *) "self", NULL
14628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
14629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14633 (arg1
)->GetLogicalScale(arg2
,arg3
);
14635 wxPyEndAllowThreads(__tstate
);
14636 if (PyErr_Occurred()) SWIG_fail
;
14638 Py_INCREF(Py_None
); resultobj
= Py_None
;
14640 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14641 resultobj
= t_output_helper(resultobj
,o
);
14644 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14645 resultobj
= t_output_helper(resultobj
,o
);
14653 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14654 PyObject
*resultobj
;
14655 wxDC
*arg1
= (wxDC
*) 0 ;
14658 PyObject
* obj0
= 0 ;
14659 PyObject
* obj1
= 0 ;
14660 PyObject
* obj2
= 0 ;
14661 char *kwnames
[] = {
14662 (char *) "self",(char *) "x",(char *) "y", NULL
14665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14668 arg2
= (double) SWIG_AsDouble(obj1
);
14669 if (PyErr_Occurred()) SWIG_fail
;
14670 arg3
= (double) SWIG_AsDouble(obj2
);
14671 if (PyErr_Occurred()) SWIG_fail
;
14673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14674 (arg1
)->SetLogicalScale(arg2
,arg3
);
14676 wxPyEndAllowThreads(__tstate
);
14677 if (PyErr_Occurred()) SWIG_fail
;
14679 Py_INCREF(Py_None
); resultobj
= Py_None
;
14686 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14687 PyObject
*resultobj
;
14688 wxDC
*arg1
= (wxDC
*) 0 ;
14690 PyObject
* obj0
= 0 ;
14691 char *kwnames
[] = {
14692 (char *) "self", NULL
14695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
14696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14700 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
14702 wxPyEndAllowThreads(__tstate
);
14703 if (PyErr_Occurred()) SWIG_fail
;
14706 wxPoint
* resultptr
;
14707 resultptr
= new wxPoint((wxPoint
&) result
);
14708 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14716 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14717 PyObject
*resultobj
;
14718 wxDC
*arg1
= (wxDC
*) 0 ;
14719 int *arg2
= (int *) 0 ;
14720 int *arg3
= (int *) 0 ;
14723 PyObject
* obj0
= 0 ;
14724 char *kwnames
[] = {
14725 (char *) "self", NULL
14730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
14731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14735 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
14737 wxPyEndAllowThreads(__tstate
);
14738 if (PyErr_Occurred()) SWIG_fail
;
14740 Py_INCREF(Py_None
); resultobj
= Py_None
;
14742 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14743 resultobj
= t_output_helper(resultobj
,o
);
14746 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14747 resultobj
= t_output_helper(resultobj
,o
);
14755 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14756 PyObject
*resultobj
;
14757 wxDC
*arg1
= (wxDC
*) 0 ;
14760 PyObject
* obj0
= 0 ;
14761 PyObject
* obj1
= 0 ;
14762 PyObject
* obj2
= 0 ;
14763 char *kwnames
[] = {
14764 (char *) "self",(char *) "x",(char *) "y", NULL
14767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14770 arg2
= (int) SWIG_AsInt(obj1
);
14771 if (PyErr_Occurred()) SWIG_fail
;
14772 arg3
= (int) SWIG_AsInt(obj2
);
14773 if (PyErr_Occurred()) SWIG_fail
;
14775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14776 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
14778 wxPyEndAllowThreads(__tstate
);
14779 if (PyErr_Occurred()) SWIG_fail
;
14781 Py_INCREF(Py_None
); resultobj
= Py_None
;
14788 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14789 PyObject
*resultobj
;
14790 wxDC
*arg1
= (wxDC
*) 0 ;
14792 PyObject
* obj0
= 0 ;
14793 char *kwnames
[] = {
14794 (char *) "self", NULL
14797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
14798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14802 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
14804 wxPyEndAllowThreads(__tstate
);
14805 if (PyErr_Occurred()) SWIG_fail
;
14808 wxPoint
* resultptr
;
14809 resultptr
= new wxPoint((wxPoint
&) result
);
14810 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14818 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14819 PyObject
*resultobj
;
14820 wxDC
*arg1
= (wxDC
*) 0 ;
14821 int *arg2
= (int *) 0 ;
14822 int *arg3
= (int *) 0 ;
14825 PyObject
* obj0
= 0 ;
14826 char *kwnames
[] = {
14827 (char *) "self", NULL
14832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
14833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14837 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
14839 wxPyEndAllowThreads(__tstate
);
14840 if (PyErr_Occurred()) SWIG_fail
;
14842 Py_INCREF(Py_None
); resultobj
= Py_None
;
14844 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14845 resultobj
= t_output_helper(resultobj
,o
);
14848 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14849 resultobj
= t_output_helper(resultobj
,o
);
14857 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14858 PyObject
*resultobj
;
14859 wxDC
*arg1
= (wxDC
*) 0 ;
14862 PyObject
* obj0
= 0 ;
14863 PyObject
* obj1
= 0 ;
14864 PyObject
* obj2
= 0 ;
14865 char *kwnames
[] = {
14866 (char *) "self",(char *) "x",(char *) "y", NULL
14869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14872 arg2
= (int) SWIG_AsInt(obj1
);
14873 if (PyErr_Occurred()) SWIG_fail
;
14874 arg3
= (int) SWIG_AsInt(obj2
);
14875 if (PyErr_Occurred()) SWIG_fail
;
14877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14878 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
14880 wxPyEndAllowThreads(__tstate
);
14881 if (PyErr_Occurred()) SWIG_fail
;
14883 Py_INCREF(Py_None
); resultobj
= Py_None
;
14890 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14891 PyObject
*resultobj
;
14892 wxDC
*arg1
= (wxDC
*) 0 ;
14895 PyObject
* obj0
= 0 ;
14896 PyObject
* obj1
= 0 ;
14897 PyObject
* obj2
= 0 ;
14898 char *kwnames
[] = {
14899 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14905 arg2
= (bool) SWIG_AsBool(obj1
);
14906 if (PyErr_Occurred()) SWIG_fail
;
14907 arg3
= (bool) SWIG_AsBool(obj2
);
14908 if (PyErr_Occurred()) SWIG_fail
;
14910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14911 (arg1
)->SetAxisOrientation(arg2
,arg3
);
14913 wxPyEndAllowThreads(__tstate
);
14914 if (PyErr_Occurred()) SWIG_fail
;
14916 Py_INCREF(Py_None
); resultobj
= Py_None
;
14923 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14924 PyObject
*resultobj
;
14925 wxDC
*arg1
= (wxDC
*) 0 ;
14927 PyObject
* obj0
= 0 ;
14928 char *kwnames
[] = {
14929 (char *) "self", NULL
14932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",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 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
14939 wxPyEndAllowThreads(__tstate
);
14940 if (PyErr_Occurred()) SWIG_fail
;
14942 resultobj
= SWIG_FromInt((int)result
);
14949 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14950 PyObject
*resultobj
;
14951 wxDC
*arg1
= (wxDC
*) 0 ;
14953 PyObject
* obj0
= 0 ;
14954 PyObject
* obj1
= 0 ;
14955 char *kwnames
[] = {
14956 (char *) "self",(char *) "function", NULL
14959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
14960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14962 arg2
= (int) SWIG_AsInt(obj1
);
14963 if (PyErr_Occurred()) SWIG_fail
;
14965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14966 (arg1
)->SetLogicalFunction(arg2
);
14968 wxPyEndAllowThreads(__tstate
);
14969 if (PyErr_Occurred()) SWIG_fail
;
14971 Py_INCREF(Py_None
); resultobj
= Py_None
;
14978 static PyObject
*_wrap_DC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14979 PyObject
*resultobj
;
14980 wxDC
*arg1
= (wxDC
*) 0 ;
14982 PyObject
* obj0
= 0 ;
14983 PyObject
* obj1
= 0 ;
14984 char *kwnames
[] = {
14985 (char *) "self",(char *) "opt", NULL
14988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
14989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14991 arg2
= (bool) SWIG_AsBool(obj1
);
14992 if (PyErr_Occurred()) SWIG_fail
;
14994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14995 (arg1
)->SetOptimization(arg2
);
14997 wxPyEndAllowThreads(__tstate
);
14998 if (PyErr_Occurred()) SWIG_fail
;
15000 Py_INCREF(Py_None
); resultobj
= Py_None
;
15007 static PyObject
*_wrap_DC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15008 PyObject
*resultobj
;
15009 wxDC
*arg1
= (wxDC
*) 0 ;
15011 PyObject
* obj0
= 0 ;
15012 char *kwnames
[] = {
15013 (char *) "self", NULL
15016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
15017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15021 result
= (bool)(arg1
)->GetOptimization();
15023 wxPyEndAllowThreads(__tstate
);
15024 if (PyErr_Occurred()) SWIG_fail
;
15027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15035 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15036 PyObject
*resultobj
;
15037 wxDC
*arg1
= (wxDC
*) 0 ;
15040 PyObject
* obj0
= 0 ;
15041 PyObject
* obj1
= 0 ;
15042 PyObject
* obj2
= 0 ;
15043 char *kwnames
[] = {
15044 (char *) "self",(char *) "x",(char *) "y", NULL
15047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15050 arg2
= (int) SWIG_AsInt(obj1
);
15051 if (PyErr_Occurred()) SWIG_fail
;
15052 arg3
= (int) SWIG_AsInt(obj2
);
15053 if (PyErr_Occurred()) SWIG_fail
;
15055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15056 (arg1
)->CalcBoundingBox(arg2
,arg3
);
15058 wxPyEndAllowThreads(__tstate
);
15059 if (PyErr_Occurred()) SWIG_fail
;
15061 Py_INCREF(Py_None
); resultobj
= Py_None
;
15068 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15069 PyObject
*resultobj
;
15070 wxDC
*arg1
= (wxDC
*) 0 ;
15071 PyObject
* obj0
= 0 ;
15072 char *kwnames
[] = {
15073 (char *) "self", NULL
15076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
15077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15081 (arg1
)->ResetBoundingBox();
15083 wxPyEndAllowThreads(__tstate
);
15084 if (PyErr_Occurred()) SWIG_fail
;
15086 Py_INCREF(Py_None
); resultobj
= Py_None
;
15093 static PyObject
*_wrap_DC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15094 PyObject
*resultobj
;
15095 wxDC
*arg1
= (wxDC
*) 0 ;
15097 PyObject
* obj0
= 0 ;
15098 char *kwnames
[] = {
15099 (char *) "self", NULL
15102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
15103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15107 result
= (int)((wxDC
const *)arg1
)->MinX();
15109 wxPyEndAllowThreads(__tstate
);
15110 if (PyErr_Occurred()) SWIG_fail
;
15112 resultobj
= SWIG_FromInt((int)result
);
15119 static PyObject
*_wrap_DC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15120 PyObject
*resultobj
;
15121 wxDC
*arg1
= (wxDC
*) 0 ;
15123 PyObject
* obj0
= 0 ;
15124 char *kwnames
[] = {
15125 (char *) "self", NULL
15128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
15129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15133 result
= (int)((wxDC
const *)arg1
)->MaxX();
15135 wxPyEndAllowThreads(__tstate
);
15136 if (PyErr_Occurred()) SWIG_fail
;
15138 resultobj
= SWIG_FromInt((int)result
);
15145 static PyObject
*_wrap_DC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15146 PyObject
*resultobj
;
15147 wxDC
*arg1
= (wxDC
*) 0 ;
15149 PyObject
* obj0
= 0 ;
15150 char *kwnames
[] = {
15151 (char *) "self", NULL
15154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
15155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15159 result
= (int)((wxDC
const *)arg1
)->MinY();
15161 wxPyEndAllowThreads(__tstate
);
15162 if (PyErr_Occurred()) SWIG_fail
;
15164 resultobj
= SWIG_FromInt((int)result
);
15171 static PyObject
*_wrap_DC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15172 PyObject
*resultobj
;
15173 wxDC
*arg1
= (wxDC
*) 0 ;
15175 PyObject
* obj0
= 0 ;
15176 char *kwnames
[] = {
15177 (char *) "self", NULL
15180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
15181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15185 result
= (int)((wxDC
const *)arg1
)->MaxY();
15187 wxPyEndAllowThreads(__tstate
);
15188 if (PyErr_Occurred()) SWIG_fail
;
15190 resultobj
= SWIG_FromInt((int)result
);
15197 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15198 PyObject
*resultobj
;
15199 wxDC
*arg1
= (wxDC
*) 0 ;
15200 int *arg2
= (int *) 0 ;
15201 int *arg3
= (int *) 0 ;
15202 int *arg4
= (int *) 0 ;
15203 int *arg5
= (int *) 0 ;
15208 PyObject
* obj0
= 0 ;
15209 char *kwnames
[] = {
15210 (char *) "self", NULL
15217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
15218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15222 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
15224 wxPyEndAllowThreads(__tstate
);
15225 if (PyErr_Occurred()) SWIG_fail
;
15227 Py_INCREF(Py_None
); resultobj
= Py_None
;
15229 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15230 resultobj
= t_output_helper(resultobj
,o
);
15233 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15234 resultobj
= t_output_helper(resultobj
,o
);
15237 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
15238 resultobj
= t_output_helper(resultobj
,o
);
15241 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
15242 resultobj
= t_output_helper(resultobj
,o
);
15250 static PyObject
*_wrap_DC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15251 PyObject
*resultobj
;
15252 wxDC
*arg1
= (wxDC
*) 0 ;
15253 PyObject
*arg2
= (PyObject
*) 0 ;
15254 PyObject
*arg3
= (PyObject
*) 0 ;
15255 PyObject
*arg4
= (PyObject
*) 0 ;
15257 PyObject
* obj0
= 0 ;
15258 PyObject
* obj1
= 0 ;
15259 PyObject
* obj2
= 0 ;
15260 PyObject
* obj3
= 0 ;
15261 char *kwnames
[] = {
15262 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15273 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
15275 wxPyEndAllowThreads(__tstate
);
15276 if (PyErr_Occurred()) SWIG_fail
;
15278 resultobj
= result
;
15285 static PyObject
*_wrap_DC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15286 PyObject
*resultobj
;
15287 wxDC
*arg1
= (wxDC
*) 0 ;
15288 PyObject
*arg2
= (PyObject
*) 0 ;
15289 PyObject
*arg3
= (PyObject
*) 0 ;
15290 PyObject
*arg4
= (PyObject
*) 0 ;
15292 PyObject
* obj0
= 0 ;
15293 PyObject
* obj1
= 0 ;
15294 PyObject
* obj2
= 0 ;
15295 PyObject
* obj3
= 0 ;
15296 char *kwnames
[] = {
15297 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15308 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
15310 wxPyEndAllowThreads(__tstate
);
15311 if (PyErr_Occurred()) SWIG_fail
;
15313 resultobj
= result
;
15320 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15321 PyObject
*resultobj
;
15322 wxDC
*arg1
= (wxDC
*) 0 ;
15323 PyObject
*arg2
= (PyObject
*) 0 ;
15324 PyObject
*arg3
= (PyObject
*) 0 ;
15325 PyObject
*arg4
= (PyObject
*) 0 ;
15327 PyObject
* obj0
= 0 ;
15328 PyObject
* obj1
= 0 ;
15329 PyObject
* obj2
= 0 ;
15330 PyObject
* obj3
= 0 ;
15331 char *kwnames
[] = {
15332 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15343 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
15345 wxPyEndAllowThreads(__tstate
);
15346 if (PyErr_Occurred()) SWIG_fail
;
15348 resultobj
= result
;
15355 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15356 PyObject
*resultobj
;
15357 wxDC
*arg1
= (wxDC
*) 0 ;
15358 PyObject
*arg2
= (PyObject
*) 0 ;
15359 PyObject
*arg3
= (PyObject
*) 0 ;
15360 PyObject
*arg4
= (PyObject
*) 0 ;
15362 PyObject
* obj0
= 0 ;
15363 PyObject
* obj1
= 0 ;
15364 PyObject
* obj2
= 0 ;
15365 PyObject
* obj3
= 0 ;
15366 char *kwnames
[] = {
15367 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15378 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
15380 wxPyEndAllowThreads(__tstate
);
15381 if (PyErr_Occurred()) SWIG_fail
;
15383 resultobj
= result
;
15390 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15391 PyObject
*resultobj
;
15392 wxDC
*arg1
= (wxDC
*) 0 ;
15393 PyObject
*arg2
= (PyObject
*) 0 ;
15394 PyObject
*arg3
= (PyObject
*) 0 ;
15395 PyObject
*arg4
= (PyObject
*) 0 ;
15397 PyObject
* obj0
= 0 ;
15398 PyObject
* obj1
= 0 ;
15399 PyObject
* obj2
= 0 ;
15400 PyObject
* obj3
= 0 ;
15401 char *kwnames
[] = {
15402 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15413 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
15415 wxPyEndAllowThreads(__tstate
);
15416 if (PyErr_Occurred()) SWIG_fail
;
15418 resultobj
= result
;
15425 static PyObject
*_wrap_DC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15426 PyObject
*resultobj
;
15427 wxDC
*arg1
= (wxDC
*) 0 ;
15428 PyObject
*arg2
= (PyObject
*) 0 ;
15429 PyObject
*arg3
= (PyObject
*) 0 ;
15430 PyObject
*arg4
= (PyObject
*) 0 ;
15431 PyObject
*arg5
= (PyObject
*) 0 ;
15433 PyObject
* obj0
= 0 ;
15434 PyObject
* obj1
= 0 ;
15435 PyObject
* obj2
= 0 ;
15436 PyObject
* obj3
= 0 ;
15437 PyObject
* obj4
= 0 ;
15438 char *kwnames
[] = {
15439 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
15442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15451 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
15453 wxPyEndAllowThreads(__tstate
);
15454 if (PyErr_Occurred()) SWIG_fail
;
15456 resultobj
= result
;
15463 static PyObject
* DC_swigregister(PyObject
*self
, PyObject
*args
) {
15465 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15466 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
15468 return Py_BuildValue((char *)"");
15470 static PyObject
*_wrap_new_MemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15471 PyObject
*resultobj
;
15472 wxMemoryDC
*result
;
15473 char *kwnames
[] = {
15477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
15479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15480 result
= (wxMemoryDC
*)new wxMemoryDC();
15482 wxPyEndAllowThreads(__tstate
);
15483 if (PyErr_Occurred()) SWIG_fail
;
15485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15492 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15493 PyObject
*resultobj
;
15494 wxDC
*arg1
= (wxDC
*) 0 ;
15495 wxMemoryDC
*result
;
15496 PyObject
* obj0
= 0 ;
15497 char *kwnames
[] = {
15498 (char *) "oldDC", NULL
15501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
15502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15506 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
15508 wxPyEndAllowThreads(__tstate
);
15509 if (PyErr_Occurred()) SWIG_fail
;
15511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15518 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15519 PyObject
*resultobj
;
15520 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
15521 wxBitmap
*arg2
= 0 ;
15522 PyObject
* obj0
= 0 ;
15523 PyObject
* obj1
= 0 ;
15524 char *kwnames
[] = {
15525 (char *) "self",(char *) "bitmap", NULL
15528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
15530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15531 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15532 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15534 if (arg2
== NULL
) {
15535 PyErr_SetString(PyExc_TypeError
,"null reference");
15539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15540 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
15542 wxPyEndAllowThreads(__tstate
);
15543 if (PyErr_Occurred()) SWIG_fail
;
15545 Py_INCREF(Py_None
); resultobj
= Py_None
;
15552 static PyObject
* MemoryDC_swigregister(PyObject
*self
, PyObject
*args
) {
15554 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15555 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
15557 return Py_BuildValue((char *)"");
15559 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*self
, PyObject
*args
) {
15560 PyObject
*resultobj
;
15561 wxDC
*arg1
= (wxDC
*) 0 ;
15562 wxBitmap
*arg2
= 0 ;
15563 wxBufferedDC
*result
;
15564 PyObject
* obj0
= 0 ;
15565 PyObject
* obj1
= 0 ;
15567 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15570 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15571 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15573 if (arg2
== NULL
) {
15574 PyErr_SetString(PyExc_TypeError
,"null reference");
15578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15579 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
15581 wxPyEndAllowThreads(__tstate
);
15582 if (PyErr_Occurred()) SWIG_fail
;
15584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15591 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*self
, PyObject
*args
) {
15592 PyObject
*resultobj
;
15593 wxDC
*arg1
= (wxDC
*) 0 ;
15595 wxBufferedDC
*result
;
15597 PyObject
* obj0
= 0 ;
15598 PyObject
* obj1
= 0 ;
15600 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15605 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15609 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15611 wxPyEndAllowThreads(__tstate
);
15612 if (PyErr_Occurred()) SWIG_fail
;
15614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15621 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
15626 argc
= PyObject_Length(args
);
15627 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
15628 argv
[ii
] = PyTuple_GetItem(args
,ii
);
15634 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15644 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
15652 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
15660 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15669 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
15672 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
15677 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
15682 static PyObject
*_wrap_new_BufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
) {
15683 PyObject
*resultobj
;
15684 wxDC
*arg1
= (wxDC
*) 0 ;
15686 wxBufferedDC
*result
;
15688 PyObject
* obj0
= 0 ;
15689 PyObject
* obj1
= 0 ;
15691 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDCInternalBuffer",&obj0
,&obj1
)) goto fail
;
15692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15696 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15700 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15702 wxPyEndAllowThreads(__tstate
);
15703 if (PyErr_Occurred()) SWIG_fail
;
15705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15712 static PyObject
*_wrap_delete_BufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15713 PyObject
*resultobj
;
15714 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15715 PyObject
* obj0
= 0 ;
15716 char *kwnames
[] = {
15717 (char *) "self", NULL
15720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
15721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15727 wxPyEndAllowThreads(__tstate
);
15728 if (PyErr_Occurred()) SWIG_fail
;
15730 Py_INCREF(Py_None
); resultobj
= Py_None
;
15737 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15738 PyObject
*resultobj
;
15739 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15740 PyObject
* obj0
= 0 ;
15741 char *kwnames
[] = {
15742 (char *) "self", NULL
15745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
15746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15752 wxPyEndAllowThreads(__tstate
);
15753 if (PyErr_Occurred()) SWIG_fail
;
15755 Py_INCREF(Py_None
); resultobj
= Py_None
;
15762 static PyObject
* BufferedDC_swigregister(PyObject
*self
, PyObject
*args
) {
15764 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15765 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
15767 return Py_BuildValue((char *)"");
15769 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15770 PyObject
*resultobj
;
15771 wxWindow
*arg1
= (wxWindow
*) 0 ;
15772 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
15773 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
15774 wxBufferedPaintDC
*result
;
15775 PyObject
* obj0
= 0 ;
15776 PyObject
* obj1
= 0 ;
15777 char *kwnames
[] = {
15778 (char *) "window",(char *) "buffer", NULL
15781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15785 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15786 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15788 if (arg2
== NULL
) {
15789 PyErr_SetString(PyExc_TypeError
,"null reference");
15794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15795 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
15797 wxPyEndAllowThreads(__tstate
);
15798 if (PyErr_Occurred()) SWIG_fail
;
15800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
15807 static PyObject
* BufferedPaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15809 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15810 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
15812 return Py_BuildValue((char *)"");
15814 static PyObject
*_wrap_new_ScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15815 PyObject
*resultobj
;
15816 wxScreenDC
*result
;
15817 char *kwnames
[] = {
15821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
15823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15824 result
= (wxScreenDC
*)new wxScreenDC();
15826 wxPyEndAllowThreads(__tstate
);
15827 if (PyErr_Occurred()) SWIG_fail
;
15829 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
15836 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15837 PyObject
*resultobj
;
15838 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15839 wxWindow
*arg2
= (wxWindow
*) 0 ;
15841 PyObject
* obj0
= 0 ;
15842 PyObject
* obj1
= 0 ;
15843 char *kwnames
[] = {
15844 (char *) "self",(char *) "window", NULL
15847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
15848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15850 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15854 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15856 wxPyEndAllowThreads(__tstate
);
15857 if (PyErr_Occurred()) SWIG_fail
;
15860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15868 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15869 PyObject
*resultobj
;
15870 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15871 wxRect
*arg2
= (wxRect
*) NULL
;
15873 PyObject
* obj0
= 0 ;
15874 PyObject
* obj1
= 0 ;
15875 char *kwnames
[] = {
15876 (char *) "self",(char *) "rect", NULL
15879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
15880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15883 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
15884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15888 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15890 wxPyEndAllowThreads(__tstate
);
15891 if (PyErr_Occurred()) SWIG_fail
;
15894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15902 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15903 PyObject
*resultobj
;
15904 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15906 PyObject
* obj0
= 0 ;
15907 char *kwnames
[] = {
15908 (char *) "self", NULL
15911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
15912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15916 result
= (bool)(arg1
)->EndDrawingOnTop();
15918 wxPyEndAllowThreads(__tstate
);
15919 if (PyErr_Occurred()) SWIG_fail
;
15922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15930 static PyObject
* ScreenDC_swigregister(PyObject
*self
, PyObject
*args
) {
15932 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15933 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
15935 return Py_BuildValue((char *)"");
15937 static PyObject
*_wrap_new_ClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15938 PyObject
*resultobj
;
15939 wxWindow
*arg1
= (wxWindow
*) 0 ;
15940 wxClientDC
*result
;
15941 PyObject
* obj0
= 0 ;
15942 char *kwnames
[] = {
15943 (char *) "win", NULL
15946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
15947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15951 result
= (wxClientDC
*)new wxClientDC(arg1
);
15953 wxPyEndAllowThreads(__tstate
);
15954 if (PyErr_Occurred()) SWIG_fail
;
15956 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
15963 static PyObject
* ClientDC_swigregister(PyObject
*self
, PyObject
*args
) {
15965 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15966 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
15968 return Py_BuildValue((char *)"");
15970 static PyObject
*_wrap_new_PaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15971 PyObject
*resultobj
;
15972 wxWindow
*arg1
= (wxWindow
*) 0 ;
15974 PyObject
* obj0
= 0 ;
15975 char *kwnames
[] = {
15976 (char *) "win", NULL
15979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
15980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15984 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
15986 wxPyEndAllowThreads(__tstate
);
15987 if (PyErr_Occurred()) SWIG_fail
;
15989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
15996 static PyObject
* PaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15998 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15999 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
16001 return Py_BuildValue((char *)"");
16003 static PyObject
*_wrap_new_WindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16004 PyObject
*resultobj
;
16005 wxWindow
*arg1
= (wxWindow
*) 0 ;
16006 wxWindowDC
*result
;
16007 PyObject
* obj0
= 0 ;
16008 char *kwnames
[] = {
16009 (char *) "win", NULL
16012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
16013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16017 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
16019 wxPyEndAllowThreads(__tstate
);
16020 if (PyErr_Occurred()) SWIG_fail
;
16022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
16029 static PyObject
* WindowDC_swigregister(PyObject
*self
, PyObject
*args
) {
16031 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16032 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
16034 return Py_BuildValue((char *)"");
16036 static PyObject
*_wrap_new_MirrorDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16037 PyObject
*resultobj
;
16040 wxMirrorDC
*result
;
16041 PyObject
* obj0
= 0 ;
16042 PyObject
* obj1
= 0 ;
16043 char *kwnames
[] = {
16044 (char *) "dc",(char *) "mirror", NULL
16047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
16048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
16049 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16051 if (arg1
== NULL
) {
16052 PyErr_SetString(PyExc_TypeError
,"null reference");
16055 arg2
= (bool) SWIG_AsBool(obj1
);
16056 if (PyErr_Occurred()) SWIG_fail
;
16058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16059 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
16061 wxPyEndAllowThreads(__tstate
);
16062 if (PyErr_Occurred()) SWIG_fail
;
16064 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
16071 static PyObject
* MirrorDC_swigregister(PyObject
*self
, PyObject
*args
) {
16073 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16074 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
16076 return Py_BuildValue((char *)"");
16078 static PyObject
*_wrap_new_PostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16079 PyObject
*resultobj
;
16080 wxPrintData
*arg1
= 0 ;
16081 wxPostScriptDC
*result
;
16082 PyObject
* obj0
= 0 ;
16083 char *kwnames
[] = {
16084 (char *) "printData", NULL
16087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
16088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16089 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16091 if (arg1
== NULL
) {
16092 PyErr_SetString(PyExc_TypeError
,"null reference");
16096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16097 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
16099 wxPyEndAllowThreads(__tstate
);
16100 if (PyErr_Occurred()) SWIG_fail
;
16102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
16109 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16110 PyObject
*resultobj
;
16111 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
16112 wxPrintData
*result
;
16113 PyObject
* obj0
= 0 ;
16114 char *kwnames
[] = {
16115 (char *) "self", NULL
16118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
16119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
16120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16124 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
16125 result
= (wxPrintData
*) &_result_ref
;
16128 wxPyEndAllowThreads(__tstate
);
16129 if (PyErr_Occurred()) SWIG_fail
;
16131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
16138 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16139 PyObject
*resultobj
;
16140 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
16141 wxPrintData
*arg2
= 0 ;
16142 PyObject
* obj0
= 0 ;
16143 PyObject
* obj1
= 0 ;
16144 char *kwnames
[] = {
16145 (char *) "self",(char *) "data", NULL
16148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
16149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
16150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16151 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
16152 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16154 if (arg2
== NULL
) {
16155 PyErr_SetString(PyExc_TypeError
,"null reference");
16159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16160 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
16162 wxPyEndAllowThreads(__tstate
);
16163 if (PyErr_Occurred()) SWIG_fail
;
16165 Py_INCREF(Py_None
); resultobj
= Py_None
;
16172 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16173 PyObject
*resultobj
;
16175 PyObject
* obj0
= 0 ;
16176 char *kwnames
[] = {
16177 (char *) "ppi", NULL
16180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
16181 arg1
= (int) SWIG_AsInt(obj0
);
16182 if (PyErr_Occurred()) SWIG_fail
;
16184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16185 wxPostScriptDC::SetResolution(arg1
);
16187 wxPyEndAllowThreads(__tstate
);
16188 if (PyErr_Occurred()) SWIG_fail
;
16190 Py_INCREF(Py_None
); resultobj
= Py_None
;
16197 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16198 PyObject
*resultobj
;
16200 char *kwnames
[] = {
16204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
16206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16207 result
= (int)wxPostScriptDC::GetResolution();
16209 wxPyEndAllowThreads(__tstate
);
16210 if (PyErr_Occurred()) SWIG_fail
;
16212 resultobj
= SWIG_FromInt((int)result
);
16219 static PyObject
* PostScriptDC_swigregister(PyObject
*self
, PyObject
*args
) {
16221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16222 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
16224 return Py_BuildValue((char *)"");
16226 static PyObject
*_wrap_new_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16227 PyObject
*resultobj
;
16228 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16229 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16230 wxMetaFile
*result
;
16231 bool temp1
= False
;
16232 PyObject
* obj0
= 0 ;
16233 char *kwnames
[] = {
16234 (char *) "filename", NULL
16237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
16240 arg1
= wxString_in_helper(obj0
);
16241 if (arg1
== NULL
) SWIG_fail
;
16246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16247 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
16249 wxPyEndAllowThreads(__tstate
);
16250 if (PyErr_Occurred()) SWIG_fail
;
16252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
16267 static PyObject
*_wrap_delete_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16268 PyObject
*resultobj
;
16269 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16270 PyObject
* obj0
= 0 ;
16271 char *kwnames
[] = {
16272 (char *) "self", NULL
16275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
;
16276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16282 wxPyEndAllowThreads(__tstate
);
16283 if (PyErr_Occurred()) SWIG_fail
;
16285 Py_INCREF(Py_None
); resultobj
= Py_None
;
16292 static PyObject
*_wrap_MetaFile_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16293 PyObject
*resultobj
;
16294 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16296 PyObject
* obj0
= 0 ;
16297 char *kwnames
[] = {
16298 (char *) "self", NULL
16301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
;
16302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16306 result
= (bool)(arg1
)->Ok();
16308 wxPyEndAllowThreads(__tstate
);
16309 if (PyErr_Occurred()) SWIG_fail
;
16312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16320 static PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16321 PyObject
*resultobj
;
16322 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16323 int arg2
= (int) 0 ;
16324 int arg3
= (int) 0 ;
16326 PyObject
* obj0
= 0 ;
16327 PyObject
* obj1
= 0 ;
16328 PyObject
* obj2
= 0 ;
16329 char *kwnames
[] = {
16330 (char *) "self",(char *) "width",(char *) "height", NULL
16333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16337 arg2
= (int) SWIG_AsInt(obj1
);
16338 if (PyErr_Occurred()) SWIG_fail
;
16341 arg3
= (int) SWIG_AsInt(obj2
);
16342 if (PyErr_Occurred()) SWIG_fail
;
16345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16346 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
16348 wxPyEndAllowThreads(__tstate
);
16349 if (PyErr_Occurred()) SWIG_fail
;
16352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16360 static PyObject
*_wrap_MetaFile_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16361 PyObject
*resultobj
;
16362 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16364 PyObject
* obj0
= 0 ;
16365 char *kwnames
[] = {
16366 (char *) "self", NULL
16369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
;
16370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16374 result
= (arg1
)->GetSize();
16376 wxPyEndAllowThreads(__tstate
);
16377 if (PyErr_Occurred()) SWIG_fail
;
16380 wxSize
* resultptr
;
16381 resultptr
= new wxSize((wxSize
&) result
);
16382 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16390 static PyObject
*_wrap_MetaFile_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16391 PyObject
*resultobj
;
16392 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16394 PyObject
* obj0
= 0 ;
16395 char *kwnames
[] = {
16396 (char *) "self", NULL
16399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
;
16400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16404 result
= (int)(arg1
)->GetWidth();
16406 wxPyEndAllowThreads(__tstate
);
16407 if (PyErr_Occurred()) SWIG_fail
;
16409 resultobj
= SWIG_FromInt((int)result
);
16416 static PyObject
*_wrap_MetaFile_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16417 PyObject
*resultobj
;
16418 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16420 PyObject
* obj0
= 0 ;
16421 char *kwnames
[] = {
16422 (char *) "self", NULL
16425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
;
16426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16430 result
= (int)(arg1
)->GetHeight();
16432 wxPyEndAllowThreads(__tstate
);
16433 if (PyErr_Occurred()) SWIG_fail
;
16435 resultobj
= SWIG_FromInt((int)result
);
16442 static PyObject
*_wrap_MetaFile_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16443 PyObject
*resultobj
;
16444 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16446 PyObject
* obj0
= 0 ;
16447 char *kwnames
[] = {
16448 (char *) "self", NULL
16451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetFileName",kwnames
,&obj0
)) goto fail
;
16452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16457 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
16458 result
= (wxString
*) &_result_ref
;
16461 wxPyEndAllowThreads(__tstate
);
16462 if (PyErr_Occurred()) SWIG_fail
;
16466 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16468 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16477 static PyObject
* MetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
16479 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16480 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
16482 return Py_BuildValue((char *)"");
16484 static PyObject
*_wrap_new_MetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16485 PyObject
*resultobj
;
16486 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16487 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16488 int arg2
= (int) 0 ;
16489 int arg3
= (int) 0 ;
16490 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16491 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16492 wxMetaFileDC
*result
;
16493 bool temp1
= False
;
16494 bool temp4
= False
;
16495 PyObject
* obj0
= 0 ;
16496 PyObject
* obj1
= 0 ;
16497 PyObject
* obj2
= 0 ;
16498 PyObject
* obj3
= 0 ;
16499 char *kwnames
[] = {
16500 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
16503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16506 arg1
= wxString_in_helper(obj0
);
16507 if (arg1
== NULL
) SWIG_fail
;
16512 arg2
= (int) SWIG_AsInt(obj1
);
16513 if (PyErr_Occurred()) SWIG_fail
;
16516 arg3
= (int) SWIG_AsInt(obj2
);
16517 if (PyErr_Occurred()) SWIG_fail
;
16521 arg4
= wxString_in_helper(obj3
);
16522 if (arg4
== NULL
) SWIG_fail
;
16527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16528 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
16530 wxPyEndAllowThreads(__tstate
);
16531 if (PyErr_Occurred()) SWIG_fail
;
16533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
16556 static PyObject
*_wrap_MetaFileDC_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16557 PyObject
*resultobj
;
16558 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
16559 wxMetaFile
*result
;
16560 PyObject
* obj0
= 0 ;
16561 char *kwnames
[] = {
16562 (char *) "self", NULL
16565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
;
16566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFileDC
,
16567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16570 result
= (wxMetaFile
*)(arg1
)->Close();
16572 wxPyEndAllowThreads(__tstate
);
16573 if (PyErr_Occurred()) SWIG_fail
;
16575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 0);
16582 static PyObject
* MetaFileDC_swigregister(PyObject
*self
, PyObject
*args
) {
16584 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16585 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
16587 return Py_BuildValue((char *)"");
16589 static PyObject
*_wrap_new_PrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16590 PyObject
*resultobj
;
16591 wxPrintData
*arg1
= 0 ;
16592 wxPrinterDC
*result
;
16593 PyObject
* obj0
= 0 ;
16594 char *kwnames
[] = {
16595 (char *) "printData", NULL
16598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
16599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16600 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16602 if (arg1
== NULL
) {
16603 PyErr_SetString(PyExc_TypeError
,"null reference");
16607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16608 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
16610 wxPyEndAllowThreads(__tstate
);
16611 if (PyErr_Occurred()) SWIG_fail
;
16613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
16620 static PyObject
* PrinterDC_swigregister(PyObject
*self
, PyObject
*args
) {
16622 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16623 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
16625 return Py_BuildValue((char *)"");
16627 static PyObject
*_wrap_new_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16628 PyObject
*resultobj
;
16631 int arg3
= (int) True
;
16632 int arg4
= (int) 1 ;
16633 wxImageList
*result
;
16634 PyObject
* obj0
= 0 ;
16635 PyObject
* obj1
= 0 ;
16636 PyObject
* obj2
= 0 ;
16637 PyObject
* obj3
= 0 ;
16638 char *kwnames
[] = {
16639 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
16642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16643 arg1
= (int) SWIG_AsInt(obj0
);
16644 if (PyErr_Occurred()) SWIG_fail
;
16645 arg2
= (int) SWIG_AsInt(obj1
);
16646 if (PyErr_Occurred()) SWIG_fail
;
16648 arg3
= (int) SWIG_AsInt(obj2
);
16649 if (PyErr_Occurred()) SWIG_fail
;
16652 arg4
= (int) SWIG_AsInt(obj3
);
16653 if (PyErr_Occurred()) SWIG_fail
;
16656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16657 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
16659 wxPyEndAllowThreads(__tstate
);
16660 if (PyErr_Occurred()) SWIG_fail
;
16663 resultobj
= wxPyMake_wxObject(result
);
16671 static PyObject
*_wrap_delete_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16672 PyObject
*resultobj
;
16673 wxImageList
*arg1
= (wxImageList
*) 0 ;
16674 PyObject
* obj0
= 0 ;
16675 char *kwnames
[] = {
16676 (char *) "self", NULL
16679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
16680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16686 wxPyEndAllowThreads(__tstate
);
16687 if (PyErr_Occurred()) SWIG_fail
;
16689 Py_INCREF(Py_None
); resultobj
= Py_None
;
16696 static PyObject
*_wrap_ImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16697 PyObject
*resultobj
;
16698 wxImageList
*arg1
= (wxImageList
*) 0 ;
16699 wxBitmap
*arg2
= 0 ;
16700 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
16701 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
16703 PyObject
* obj0
= 0 ;
16704 PyObject
* obj1
= 0 ;
16705 PyObject
* obj2
= 0 ;
16706 char *kwnames
[] = {
16707 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
16710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16713 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16714 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16716 if (arg2
== NULL
) {
16717 PyErr_SetString(PyExc_TypeError
,"null reference");
16721 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16722 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16724 if (arg3
== NULL
) {
16725 PyErr_SetString(PyExc_TypeError
,"null reference");
16730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16731 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
16733 wxPyEndAllowThreads(__tstate
);
16734 if (PyErr_Occurred()) SWIG_fail
;
16736 resultobj
= SWIG_FromInt((int)result
);
16743 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16744 PyObject
*resultobj
;
16745 wxImageList
*arg1
= (wxImageList
*) 0 ;
16746 wxBitmap
*arg2
= 0 ;
16747 wxColour
*arg3
= 0 ;
16750 PyObject
* obj0
= 0 ;
16751 PyObject
* obj1
= 0 ;
16752 PyObject
* obj2
= 0 ;
16753 char *kwnames
[] = {
16754 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
16757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16760 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16761 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16763 if (arg2
== NULL
) {
16764 PyErr_SetString(PyExc_TypeError
,"null reference");
16769 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16773 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
16775 wxPyEndAllowThreads(__tstate
);
16776 if (PyErr_Occurred()) SWIG_fail
;
16778 resultobj
= SWIG_FromInt((int)result
);
16785 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16786 PyObject
*resultobj
;
16787 wxImageList
*arg1
= (wxImageList
*) 0 ;
16790 PyObject
* obj0
= 0 ;
16791 PyObject
* obj1
= 0 ;
16792 char *kwnames
[] = {
16793 (char *) "self",(char *) "icon", NULL
16796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
16797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16799 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
16800 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16802 if (arg2
== NULL
) {
16803 PyErr_SetString(PyExc_TypeError
,"null reference");
16807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16808 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
16810 wxPyEndAllowThreads(__tstate
);
16811 if (PyErr_Occurred()) SWIG_fail
;
16813 resultobj
= SWIG_FromInt((int)result
);
16820 static PyObject
*_wrap_ImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16821 PyObject
*resultobj
;
16822 wxImageList
*arg1
= (wxImageList
*) 0 ;
16824 wxBitmap
*arg3
= 0 ;
16825 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
16826 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
16828 PyObject
* obj0
= 0 ;
16829 PyObject
* obj1
= 0 ;
16830 PyObject
* obj2
= 0 ;
16831 PyObject
* obj3
= 0 ;
16832 char *kwnames
[] = {
16833 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
16836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16839 arg2
= (int) SWIG_AsInt(obj1
);
16840 if (PyErr_Occurred()) SWIG_fail
;
16841 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16842 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16844 if (arg3
== NULL
) {
16845 PyErr_SetString(PyExc_TypeError
,"null reference");
16849 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
16850 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16852 if (arg4
== NULL
) {
16853 PyErr_SetString(PyExc_TypeError
,"null reference");
16858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16859 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
16861 wxPyEndAllowThreads(__tstate
);
16862 if (PyErr_Occurred()) SWIG_fail
;
16865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16873 static PyObject
*_wrap_ImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16874 PyObject
*resultobj
;
16875 wxImageList
*arg1
= (wxImageList
*) 0 ;
16880 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
16881 bool arg7
= (bool) (bool)False
;
16883 PyObject
* obj0
= 0 ;
16884 PyObject
* obj1
= 0 ;
16885 PyObject
* obj2
= 0 ;
16886 PyObject
* obj3
= 0 ;
16887 PyObject
* obj4
= 0 ;
16888 PyObject
* obj5
= 0 ;
16889 PyObject
* obj6
= 0 ;
16890 char *kwnames
[] = {
16891 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
16894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16897 arg2
= (int) SWIG_AsInt(obj1
);
16898 if (PyErr_Occurred()) SWIG_fail
;
16899 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
16900 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16902 if (arg3
== NULL
) {
16903 PyErr_SetString(PyExc_TypeError
,"null reference");
16906 arg4
= (int) SWIG_AsInt(obj3
);
16907 if (PyErr_Occurred()) SWIG_fail
;
16908 arg5
= (int) SWIG_AsInt(obj4
);
16909 if (PyErr_Occurred()) SWIG_fail
;
16911 arg6
= (int) SWIG_AsInt(obj5
);
16912 if (PyErr_Occurred()) SWIG_fail
;
16915 arg7
= (bool const) SWIG_AsBool(obj6
);
16916 if (PyErr_Occurred()) SWIG_fail
;
16919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16920 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
16922 wxPyEndAllowThreads(__tstate
);
16923 if (PyErr_Occurred()) SWIG_fail
;
16926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16934 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16935 PyObject
*resultobj
;
16936 wxImageList
*arg1
= (wxImageList
*) 0 ;
16938 PyObject
* obj0
= 0 ;
16939 char *kwnames
[] = {
16940 (char *) "self", NULL
16943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
16944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16948 result
= (int)(arg1
)->GetImageCount();
16950 wxPyEndAllowThreads(__tstate
);
16951 if (PyErr_Occurred()) SWIG_fail
;
16953 resultobj
= SWIG_FromInt((int)result
);
16960 static PyObject
*_wrap_ImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16961 PyObject
*resultobj
;
16962 wxImageList
*arg1
= (wxImageList
*) 0 ;
16965 PyObject
* obj0
= 0 ;
16966 PyObject
* obj1
= 0 ;
16967 char *kwnames
[] = {
16968 (char *) "self",(char *) "index", NULL
16971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
16972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16974 arg2
= (int) SWIG_AsInt(obj1
);
16975 if (PyErr_Occurred()) SWIG_fail
;
16977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16978 result
= (bool)(arg1
)->Remove(arg2
);
16980 wxPyEndAllowThreads(__tstate
);
16981 if (PyErr_Occurred()) SWIG_fail
;
16984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16992 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16993 PyObject
*resultobj
;
16994 wxImageList
*arg1
= (wxImageList
*) 0 ;
16996 PyObject
* obj0
= 0 ;
16997 char *kwnames
[] = {
16998 (char *) "self", NULL
17001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
17002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17006 result
= (bool)(arg1
)->RemoveAll();
17008 wxPyEndAllowThreads(__tstate
);
17009 if (PyErr_Occurred()) SWIG_fail
;
17012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17020 static PyObject
*_wrap_ImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17021 PyObject
*resultobj
;
17022 wxImageList
*arg1
= (wxImageList
*) 0 ;
17028 PyObject
* obj0
= 0 ;
17029 PyObject
* obj1
= 0 ;
17030 char *kwnames
[] = {
17031 (char *) "self",(char *) "index", NULL
17036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17039 arg2
= (int) SWIG_AsInt(obj1
);
17040 if (PyErr_Occurred()) SWIG_fail
;
17042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17043 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
17045 wxPyEndAllowThreads(__tstate
);
17046 if (PyErr_Occurred()) SWIG_fail
;
17048 Py_INCREF(Py_None
); resultobj
= Py_None
;
17050 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17051 resultobj
= t_output_helper(resultobj
,o
);
17054 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
17055 resultobj
= t_output_helper(resultobj
,o
);
17063 static PyObject
* ImageList_swigregister(PyObject
*self
, PyObject
*args
) {
17065 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17066 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
17068 return Py_BuildValue((char *)"");
17070 static int _wrap_NORMAL_FONT_set(PyObject
*_val
) {
17071 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
17076 static PyObject
*_wrap_NORMAL_FONT_get() {
17079 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
17084 static int _wrap_SMALL_FONT_set(PyObject
*_val
) {
17085 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
17090 static PyObject
*_wrap_SMALL_FONT_get() {
17093 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
17098 static int _wrap_ITALIC_FONT_set(PyObject
*_val
) {
17099 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
17104 static PyObject
*_wrap_ITALIC_FONT_get() {
17107 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
17112 static int _wrap_SWISS_FONT_set(PyObject
*_val
) {
17113 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
17118 static PyObject
*_wrap_SWISS_FONT_get() {
17121 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
17126 static int _wrap_RED_PEN_set(PyObject
*_val
) {
17127 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
17132 static PyObject
*_wrap_RED_PEN_get() {
17135 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
17140 static int _wrap_CYAN_PEN_set(PyObject
*_val
) {
17141 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
17146 static PyObject
*_wrap_CYAN_PEN_get() {
17149 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
17154 static int _wrap_GREEN_PEN_set(PyObject
*_val
) {
17155 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
17160 static PyObject
*_wrap_GREEN_PEN_get() {
17163 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
17168 static int _wrap_BLACK_PEN_set(PyObject
*_val
) {
17169 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
17174 static PyObject
*_wrap_BLACK_PEN_get() {
17177 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
17182 static int _wrap_WHITE_PEN_set(PyObject
*_val
) {
17183 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
17188 static PyObject
*_wrap_WHITE_PEN_get() {
17191 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
17196 static int _wrap_TRANSPARENT_PEN_set(PyObject
*_val
) {
17197 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
17202 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
17205 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
17210 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*_val
) {
17211 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
17216 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
17219 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
17224 static int _wrap_GREY_PEN_set(PyObject
*_val
) {
17225 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
17230 static PyObject
*_wrap_GREY_PEN_get() {
17233 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17238 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*_val
) {
17239 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
17244 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
17247 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17252 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*_val
) {
17253 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
17258 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
17261 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17266 static int _wrap_BLUE_BRUSH_set(PyObject
*_val
) {
17267 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
17272 static PyObject
*_wrap_BLUE_BRUSH_get() {
17275 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17280 static int _wrap_GREEN_BRUSH_set(PyObject
*_val
) {
17281 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
17286 static PyObject
*_wrap_GREEN_BRUSH_get() {
17289 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17294 static int _wrap_WHITE_BRUSH_set(PyObject
*_val
) {
17295 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
17300 static PyObject
*_wrap_WHITE_BRUSH_get() {
17303 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17308 static int _wrap_BLACK_BRUSH_set(PyObject
*_val
) {
17309 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
17314 static PyObject
*_wrap_BLACK_BRUSH_get() {
17317 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17322 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*_val
) {
17323 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
17328 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
17331 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17336 static int _wrap_CYAN_BRUSH_set(PyObject
*_val
) {
17337 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
17342 static PyObject
*_wrap_CYAN_BRUSH_get() {
17345 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17350 static int _wrap_RED_BRUSH_set(PyObject
*_val
) {
17351 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
17356 static PyObject
*_wrap_RED_BRUSH_get() {
17359 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17364 static int _wrap_GREY_BRUSH_set(PyObject
*_val
) {
17365 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
17370 static PyObject
*_wrap_GREY_BRUSH_get() {
17373 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17378 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*_val
) {
17379 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
17384 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
17387 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17392 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*_val
) {
17393 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
17398 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
17401 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17406 static int _wrap_BLACK_set(PyObject
*_val
) {
17407 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
17412 static PyObject
*_wrap_BLACK_get() {
17415 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
17420 static int _wrap_WHITE_set(PyObject
*_val
) {
17421 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
17426 static PyObject
*_wrap_WHITE_get() {
17429 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
17434 static int _wrap_RED_set(PyObject
*_val
) {
17435 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
17440 static PyObject
*_wrap_RED_get() {
17443 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
17448 static int _wrap_BLUE_set(PyObject
*_val
) {
17449 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
17454 static PyObject
*_wrap_BLUE_get() {
17457 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
17462 static int _wrap_GREEN_set(PyObject
*_val
) {
17463 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
17468 static PyObject
*_wrap_GREEN_get() {
17471 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
17476 static int _wrap_CYAN_set(PyObject
*_val
) {
17477 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
17482 static PyObject
*_wrap_CYAN_get() {
17485 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
17490 static int _wrap_LIGHT_GREY_set(PyObject
*_val
) {
17491 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
17496 static PyObject
*_wrap_LIGHT_GREY_get() {
17499 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
17504 static int _wrap_STANDARD_CURSOR_set(PyObject
*_val
) {
17505 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
17510 static PyObject
*_wrap_STANDARD_CURSOR_get() {
17513 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17518 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*_val
) {
17519 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
17524 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
17527 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17532 static int _wrap_CROSS_CURSOR_set(PyObject
*_val
) {
17533 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
17538 static PyObject
*_wrap_CROSS_CURSOR_get() {
17541 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17546 static int _wrap_NullBitmap_set(PyObject
*_val
) {
17547 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
17552 static PyObject
*_wrap_NullBitmap_get() {
17555 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
17560 static int _wrap_NullIcon_set(PyObject
*_val
) {
17561 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
17566 static PyObject
*_wrap_NullIcon_get() {
17569 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
17574 static int _wrap_NullCursor_set(PyObject
*_val
) {
17575 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
17580 static PyObject
*_wrap_NullCursor_get() {
17583 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
17588 static int _wrap_NullPen_set(PyObject
*_val
) {
17589 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
17594 static PyObject
*_wrap_NullPen_get() {
17597 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
17602 static int _wrap_NullBrush_set(PyObject
*_val
) {
17603 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
17608 static PyObject
*_wrap_NullBrush_get() {
17611 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
17616 static int _wrap_NullPalette_set(PyObject
*_val
) {
17617 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
17622 static PyObject
*_wrap_NullPalette_get() {
17625 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
17630 static int _wrap_NullFont_set(PyObject
*_val
) {
17631 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
17636 static PyObject
*_wrap_NullFont_get() {
17639 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
17644 static int _wrap_NullColour_set(PyObject
*_val
) {
17645 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
17650 static PyObject
*_wrap_NullColour_get() {
17653 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
17658 static PyObject
*_wrap_PenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17659 PyObject
*resultobj
;
17660 wxPenList
*arg1
= (wxPenList
*) 0 ;
17661 wxPen
*arg2
= (wxPen
*) 0 ;
17662 PyObject
* obj0
= 0 ;
17663 PyObject
* obj1
= 0 ;
17664 char *kwnames
[] = {
17665 (char *) "self",(char *) "pen", NULL
17668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
17669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17671 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17675 (arg1
)->AddPen(arg2
);
17677 wxPyEndAllowThreads(__tstate
);
17678 if (PyErr_Occurred()) SWIG_fail
;
17680 Py_INCREF(Py_None
); resultobj
= Py_None
;
17687 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17688 PyObject
*resultobj
;
17689 wxPenList
*arg1
= (wxPenList
*) 0 ;
17690 wxColour
*arg2
= 0 ;
17695 PyObject
* obj0
= 0 ;
17696 PyObject
* obj1
= 0 ;
17697 PyObject
* obj2
= 0 ;
17698 PyObject
* obj3
= 0 ;
17699 char *kwnames
[] = {
17700 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
17703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17708 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17710 arg3
= (int) SWIG_AsInt(obj2
);
17711 if (PyErr_Occurred()) SWIG_fail
;
17712 arg4
= (int) SWIG_AsInt(obj3
);
17713 if (PyErr_Occurred()) SWIG_fail
;
17715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17716 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
17718 wxPyEndAllowThreads(__tstate
);
17719 if (PyErr_Occurred()) SWIG_fail
;
17721 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
17728 static PyObject
*_wrap_PenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17729 PyObject
*resultobj
;
17730 wxPenList
*arg1
= (wxPenList
*) 0 ;
17731 wxPen
*arg2
= (wxPen
*) 0 ;
17732 PyObject
* obj0
= 0 ;
17733 PyObject
* obj1
= 0 ;
17734 char *kwnames
[] = {
17735 (char *) "self",(char *) "pen", NULL
17738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
17739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17741 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17745 (arg1
)->RemovePen(arg2
);
17747 wxPyEndAllowThreads(__tstate
);
17748 if (PyErr_Occurred()) SWIG_fail
;
17750 Py_INCREF(Py_None
); resultobj
= Py_None
;
17757 static PyObject
*_wrap_PenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17758 PyObject
*resultobj
;
17759 wxPenList
*arg1
= (wxPenList
*) 0 ;
17761 PyObject
* obj0
= 0 ;
17762 char *kwnames
[] = {
17763 (char *) "self", NULL
17766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
17767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17771 result
= (int)(arg1
)->GetCount();
17773 wxPyEndAllowThreads(__tstate
);
17774 if (PyErr_Occurred()) SWIG_fail
;
17776 resultobj
= SWIG_FromInt((int)result
);
17783 static PyObject
* PenList_swigregister(PyObject
*self
, PyObject
*args
) {
17785 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17786 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
17788 return Py_BuildValue((char *)"");
17790 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17791 PyObject
*resultobj
;
17792 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17793 wxBrush
*arg2
= (wxBrush
*) 0 ;
17794 PyObject
* obj0
= 0 ;
17795 PyObject
* obj1
= 0 ;
17796 char *kwnames
[] = {
17797 (char *) "self",(char *) "brush", NULL
17800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17803 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17807 (arg1
)->AddBrush(arg2
);
17809 wxPyEndAllowThreads(__tstate
);
17810 if (PyErr_Occurred()) SWIG_fail
;
17812 Py_INCREF(Py_None
); resultobj
= Py_None
;
17819 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17820 PyObject
*resultobj
;
17821 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17822 wxColour
*arg2
= 0 ;
17826 PyObject
* obj0
= 0 ;
17827 PyObject
* obj1
= 0 ;
17828 PyObject
* obj2
= 0 ;
17829 char *kwnames
[] = {
17830 (char *) "self",(char *) "colour",(char *) "style", NULL
17833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17838 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17840 arg3
= (int) SWIG_AsInt(obj2
);
17841 if (PyErr_Occurred()) SWIG_fail
;
17843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17844 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
17846 wxPyEndAllowThreads(__tstate
);
17847 if (PyErr_Occurred()) SWIG_fail
;
17849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
17856 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17857 PyObject
*resultobj
;
17858 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17859 wxBrush
*arg2
= (wxBrush
*) 0 ;
17860 PyObject
* obj0
= 0 ;
17861 PyObject
* obj1
= 0 ;
17862 char *kwnames
[] = {
17863 (char *) "self",(char *) "brush", NULL
17866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17869 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17873 (arg1
)->RemoveBrush(arg2
);
17875 wxPyEndAllowThreads(__tstate
);
17876 if (PyErr_Occurred()) SWIG_fail
;
17878 Py_INCREF(Py_None
); resultobj
= Py_None
;
17885 static PyObject
*_wrap_BrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17886 PyObject
*resultobj
;
17887 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17889 PyObject
* obj0
= 0 ;
17890 char *kwnames
[] = {
17891 (char *) "self", NULL
17894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
17895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17899 result
= (int)(arg1
)->GetCount();
17901 wxPyEndAllowThreads(__tstate
);
17902 if (PyErr_Occurred()) SWIG_fail
;
17904 resultobj
= SWIG_FromInt((int)result
);
17911 static PyObject
* BrushList_swigregister(PyObject
*self
, PyObject
*args
) {
17913 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17914 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
17916 return Py_BuildValue((char *)"");
17918 static PyObject
*_wrap_new_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17919 PyObject
*resultobj
;
17920 wxColourDatabase
*result
;
17921 char *kwnames
[] = {
17925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
17927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17928 result
= (wxColourDatabase
*)new wxColourDatabase();
17930 wxPyEndAllowThreads(__tstate
);
17931 if (PyErr_Occurred()) SWIG_fail
;
17933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
17940 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17941 PyObject
*resultobj
;
17942 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17943 PyObject
* obj0
= 0 ;
17944 char *kwnames
[] = {
17945 (char *) "self", NULL
17948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
17949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17955 wxPyEndAllowThreads(__tstate
);
17956 if (PyErr_Occurred()) SWIG_fail
;
17958 Py_INCREF(Py_None
); resultobj
= Py_None
;
17965 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17966 PyObject
*resultobj
;
17967 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17968 wxString
*arg2
= 0 ;
17970 bool temp2
= False
;
17971 PyObject
* obj0
= 0 ;
17972 PyObject
* obj1
= 0 ;
17973 char *kwnames
[] = {
17974 (char *) "self",(char *) "name", NULL
17977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
17978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17981 arg2
= wxString_in_helper(obj1
);
17982 if (arg2
== NULL
) SWIG_fail
;
17986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17987 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
17989 wxPyEndAllowThreads(__tstate
);
17990 if (PyErr_Occurred()) SWIG_fail
;
17993 wxColour
* resultptr
;
17994 resultptr
= new wxColour((wxColour
&) result
);
17995 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18011 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18012 PyObject
*resultobj
;
18013 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18014 wxColour
*arg2
= 0 ;
18017 PyObject
* obj0
= 0 ;
18018 PyObject
* obj1
= 0 ;
18019 char *kwnames
[] = {
18020 (char *) "self",(char *) "colour", NULL
18023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
18024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18028 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18032 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
18034 wxPyEndAllowThreads(__tstate
);
18035 if (PyErr_Occurred()) SWIG_fail
;
18039 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18041 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18050 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18051 PyObject
*resultobj
;
18052 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18053 wxString
*arg2
= 0 ;
18054 wxColour
*arg3
= 0 ;
18055 bool temp2
= False
;
18057 PyObject
* obj0
= 0 ;
18058 PyObject
* obj1
= 0 ;
18059 PyObject
* obj2
= 0 ;
18060 char *kwnames
[] = {
18061 (char *) "self",(char *) "name",(char *) "colour", NULL
18064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18068 arg2
= wxString_in_helper(obj1
);
18069 if (arg2
== NULL
) SWIG_fail
;
18074 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18078 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
18080 wxPyEndAllowThreads(__tstate
);
18081 if (PyErr_Occurred()) SWIG_fail
;
18083 Py_INCREF(Py_None
); resultobj
= Py_None
;
18098 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18099 PyObject
*resultobj
;
18100 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18101 wxString
*arg2
= 0 ;
18105 bool temp2
= False
;
18106 PyObject
* obj0
= 0 ;
18107 PyObject
* obj1
= 0 ;
18108 PyObject
* obj2
= 0 ;
18109 PyObject
* obj3
= 0 ;
18110 PyObject
* obj4
= 0 ;
18111 char *kwnames
[] = {
18112 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
18115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18119 arg2
= wxString_in_helper(obj1
);
18120 if (arg2
== NULL
) SWIG_fail
;
18123 arg3
= (int) SWIG_AsInt(obj2
);
18124 if (PyErr_Occurred()) SWIG_fail
;
18125 arg4
= (int) SWIG_AsInt(obj3
);
18126 if (PyErr_Occurred()) SWIG_fail
;
18127 arg5
= (int) SWIG_AsInt(obj4
);
18128 if (PyErr_Occurred()) SWIG_fail
;
18130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18131 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
18133 wxPyEndAllowThreads(__tstate
);
18134 if (PyErr_Occurred()) SWIG_fail
;
18136 Py_INCREF(Py_None
); resultobj
= Py_None
;
18151 static PyObject
* ColourDatabase_swigregister(PyObject
*self
, PyObject
*args
) {
18153 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18154 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
18156 return Py_BuildValue((char *)"");
18158 static PyObject
*_wrap_FontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18159 PyObject
*resultobj
;
18160 wxFontList
*arg1
= (wxFontList
*) 0 ;
18161 wxFont
*arg2
= (wxFont
*) 0 ;
18162 PyObject
* obj0
= 0 ;
18163 PyObject
* obj1
= 0 ;
18164 char *kwnames
[] = {
18165 (char *) "self",(char *) "font", NULL
18168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18171 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18175 (arg1
)->AddFont(arg2
);
18177 wxPyEndAllowThreads(__tstate
);
18178 if (PyErr_Occurred()) SWIG_fail
;
18180 Py_INCREF(Py_None
); resultobj
= Py_None
;
18187 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18188 PyObject
*resultobj
;
18189 wxFontList
*arg1
= (wxFontList
*) 0 ;
18194 bool arg6
= (bool) False
;
18195 wxString
const &arg7_defvalue
= wxPyEmptyString
;
18196 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18197 int arg8
= (int) wxFONTENCODING_DEFAULT
;
18199 bool temp7
= False
;
18200 PyObject
* obj0
= 0 ;
18201 PyObject
* obj1
= 0 ;
18202 PyObject
* obj2
= 0 ;
18203 PyObject
* obj3
= 0 ;
18204 PyObject
* obj4
= 0 ;
18205 PyObject
* obj5
= 0 ;
18206 PyObject
* obj6
= 0 ;
18207 PyObject
* obj7
= 0 ;
18208 char *kwnames
[] = {
18209 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
18212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
18213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18215 arg2
= (int) SWIG_AsInt(obj1
);
18216 if (PyErr_Occurred()) SWIG_fail
;
18217 arg3
= (int) SWIG_AsInt(obj2
);
18218 if (PyErr_Occurred()) SWIG_fail
;
18219 arg4
= (int) SWIG_AsInt(obj3
);
18220 if (PyErr_Occurred()) SWIG_fail
;
18221 arg5
= (int) SWIG_AsInt(obj4
);
18222 if (PyErr_Occurred()) SWIG_fail
;
18224 arg6
= (bool) SWIG_AsBool(obj5
);
18225 if (PyErr_Occurred()) SWIG_fail
;
18229 arg7
= wxString_in_helper(obj6
);
18230 if (arg7
== NULL
) SWIG_fail
;
18235 arg8
= (wxFontEncoding
) SWIG_AsInt(obj7
);
18236 if (PyErr_Occurred()) SWIG_fail
;
18239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18240 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
18242 wxPyEndAllowThreads(__tstate
);
18243 if (PyErr_Occurred()) SWIG_fail
;
18245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
18260 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18261 PyObject
*resultobj
;
18262 wxFontList
*arg1
= (wxFontList
*) 0 ;
18263 wxFont
*arg2
= (wxFont
*) 0 ;
18264 PyObject
* obj0
= 0 ;
18265 PyObject
* obj1
= 0 ;
18266 char *kwnames
[] = {
18267 (char *) "self",(char *) "font", NULL
18270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18273 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18277 (arg1
)->RemoveFont(arg2
);
18279 wxPyEndAllowThreads(__tstate
);
18280 if (PyErr_Occurred()) SWIG_fail
;
18282 Py_INCREF(Py_None
); resultobj
= Py_None
;
18289 static PyObject
*_wrap_FontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18290 PyObject
*resultobj
;
18291 wxFontList
*arg1
= (wxFontList
*) 0 ;
18293 PyObject
* obj0
= 0 ;
18294 char *kwnames
[] = {
18295 (char *) "self", NULL
18298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
18299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18303 result
= (int)(arg1
)->GetCount();
18305 wxPyEndAllowThreads(__tstate
);
18306 if (PyErr_Occurred()) SWIG_fail
;
18308 resultobj
= SWIG_FromInt((int)result
);
18315 static PyObject
* FontList_swigregister(PyObject
*self
, PyObject
*args
) {
18317 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18318 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
18320 return Py_BuildValue((char *)"");
18322 static int _wrap_TheFontList_set(PyObject
*_val
) {
18323 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
18328 static PyObject
*_wrap_TheFontList_get() {
18331 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
18336 static int _wrap_ThePenList_set(PyObject
*_val
) {
18337 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
18342 static PyObject
*_wrap_ThePenList_get() {
18345 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
18350 static int _wrap_TheBrushList_set(PyObject
*_val
) {
18351 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
18356 static PyObject
*_wrap_TheBrushList_get() {
18359 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
18364 static int _wrap_TheColourDatabase_set(PyObject
*_val
) {
18365 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
18370 static PyObject
*_wrap_TheColourDatabase_get() {
18373 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
18378 static PyObject
*_wrap_new_Effects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18379 PyObject
*resultobj
;
18381 char *kwnames
[] = {
18385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
18387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18388 result
= (wxEffects
*)new wxEffects();
18390 wxPyEndAllowThreads(__tstate
);
18391 if (PyErr_Occurred()) SWIG_fail
;
18393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
18400 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18401 PyObject
*resultobj
;
18402 wxEffects
*arg1
= (wxEffects
*) 0 ;
18404 PyObject
* obj0
= 0 ;
18405 char *kwnames
[] = {
18406 (char *) "self", NULL
18409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
18410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18414 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
18416 wxPyEndAllowThreads(__tstate
);
18417 if (PyErr_Occurred()) SWIG_fail
;
18420 wxColour
* resultptr
;
18421 resultptr
= new wxColour((wxColour
&) result
);
18422 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18430 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18431 PyObject
*resultobj
;
18432 wxEffects
*arg1
= (wxEffects
*) 0 ;
18434 PyObject
* obj0
= 0 ;
18435 char *kwnames
[] = {
18436 (char *) "self", NULL
18439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
18440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18444 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
18446 wxPyEndAllowThreads(__tstate
);
18447 if (PyErr_Occurred()) SWIG_fail
;
18450 wxColour
* resultptr
;
18451 resultptr
= new wxColour((wxColour
&) result
);
18452 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18460 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18461 PyObject
*resultobj
;
18462 wxEffects
*arg1
= (wxEffects
*) 0 ;
18464 PyObject
* obj0
= 0 ;
18465 char *kwnames
[] = {
18466 (char *) "self", NULL
18469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
18470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18474 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
18476 wxPyEndAllowThreads(__tstate
);
18477 if (PyErr_Occurred()) SWIG_fail
;
18480 wxColour
* resultptr
;
18481 resultptr
= new wxColour((wxColour
&) result
);
18482 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18490 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18491 PyObject
*resultobj
;
18492 wxEffects
*arg1
= (wxEffects
*) 0 ;
18494 PyObject
* obj0
= 0 ;
18495 char *kwnames
[] = {
18496 (char *) "self", NULL
18499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
18500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18504 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
18506 wxPyEndAllowThreads(__tstate
);
18507 if (PyErr_Occurred()) SWIG_fail
;
18510 wxColour
* resultptr
;
18511 resultptr
= new wxColour((wxColour
&) result
);
18512 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18520 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18521 PyObject
*resultobj
;
18522 wxEffects
*arg1
= (wxEffects
*) 0 ;
18524 PyObject
* obj0
= 0 ;
18525 char *kwnames
[] = {
18526 (char *) "self", NULL
18529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
18530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18534 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
18536 wxPyEndAllowThreads(__tstate
);
18537 if (PyErr_Occurred()) SWIG_fail
;
18540 wxColour
* resultptr
;
18541 resultptr
= new wxColour((wxColour
&) result
);
18542 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18550 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18551 PyObject
*resultobj
;
18552 wxEffects
*arg1
= (wxEffects
*) 0 ;
18553 wxColour
*arg2
= 0 ;
18555 PyObject
* obj0
= 0 ;
18556 PyObject
* obj1
= 0 ;
18557 char *kwnames
[] = {
18558 (char *) "self",(char *) "c", NULL
18561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18566 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18570 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
18572 wxPyEndAllowThreads(__tstate
);
18573 if (PyErr_Occurred()) SWIG_fail
;
18575 Py_INCREF(Py_None
); resultobj
= Py_None
;
18582 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18583 PyObject
*resultobj
;
18584 wxEffects
*arg1
= (wxEffects
*) 0 ;
18585 wxColour
*arg2
= 0 ;
18587 PyObject
* obj0
= 0 ;
18588 PyObject
* obj1
= 0 ;
18589 char *kwnames
[] = {
18590 (char *) "self",(char *) "c", NULL
18593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18598 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18602 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
18604 wxPyEndAllowThreads(__tstate
);
18605 if (PyErr_Occurred()) SWIG_fail
;
18607 Py_INCREF(Py_None
); resultobj
= Py_None
;
18614 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18615 PyObject
*resultobj
;
18616 wxEffects
*arg1
= (wxEffects
*) 0 ;
18617 wxColour
*arg2
= 0 ;
18619 PyObject
* obj0
= 0 ;
18620 PyObject
* obj1
= 0 ;
18621 char *kwnames
[] = {
18622 (char *) "self",(char *) "c", NULL
18625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18630 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18634 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
18636 wxPyEndAllowThreads(__tstate
);
18637 if (PyErr_Occurred()) SWIG_fail
;
18639 Py_INCREF(Py_None
); resultobj
= Py_None
;
18646 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18647 PyObject
*resultobj
;
18648 wxEffects
*arg1
= (wxEffects
*) 0 ;
18649 wxColour
*arg2
= 0 ;
18651 PyObject
* obj0
= 0 ;
18652 PyObject
* obj1
= 0 ;
18653 char *kwnames
[] = {
18654 (char *) "self",(char *) "c", NULL
18657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18662 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18666 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
18668 wxPyEndAllowThreads(__tstate
);
18669 if (PyErr_Occurred()) SWIG_fail
;
18671 Py_INCREF(Py_None
); resultobj
= Py_None
;
18678 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18679 PyObject
*resultobj
;
18680 wxEffects
*arg1
= (wxEffects
*) 0 ;
18681 wxColour
*arg2
= 0 ;
18683 PyObject
* obj0
= 0 ;
18684 PyObject
* obj1
= 0 ;
18685 char *kwnames
[] = {
18686 (char *) "self",(char *) "c", NULL
18689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18694 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18698 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
18700 wxPyEndAllowThreads(__tstate
);
18701 if (PyErr_Occurred()) SWIG_fail
;
18703 Py_INCREF(Py_None
); resultobj
= Py_None
;
18710 static PyObject
*_wrap_Effects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18711 PyObject
*resultobj
;
18712 wxEffects
*arg1
= (wxEffects
*) 0 ;
18713 wxColour
*arg2
= 0 ;
18714 wxColour
*arg3
= 0 ;
18715 wxColour
*arg4
= 0 ;
18716 wxColour
*arg5
= 0 ;
18717 wxColour
*arg6
= 0 ;
18723 PyObject
* obj0
= 0 ;
18724 PyObject
* obj1
= 0 ;
18725 PyObject
* obj2
= 0 ;
18726 PyObject
* obj3
= 0 ;
18727 PyObject
* obj4
= 0 ;
18728 PyObject
* obj5
= 0 ;
18729 char *kwnames
[] = {
18730 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
18733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18738 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18742 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18746 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18750 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
18754 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
18757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18758 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
18760 wxPyEndAllowThreads(__tstate
);
18761 if (PyErr_Occurred()) SWIG_fail
;
18763 Py_INCREF(Py_None
); resultobj
= Py_None
;
18770 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18771 PyObject
*resultobj
;
18772 wxEffects
*arg1
= (wxEffects
*) 0 ;
18775 int arg4
= (int) 1 ;
18777 PyObject
* obj0
= 0 ;
18778 PyObject
* obj1
= 0 ;
18779 PyObject
* obj2
= 0 ;
18780 PyObject
* obj3
= 0 ;
18781 char *kwnames
[] = {
18782 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
18785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18788 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18789 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18791 if (arg2
== NULL
) {
18792 PyErr_SetString(PyExc_TypeError
,"null reference");
18797 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
18800 arg4
= (int) SWIG_AsInt(obj3
);
18801 if (PyErr_Occurred()) SWIG_fail
;
18804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18805 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
18807 wxPyEndAllowThreads(__tstate
);
18808 if (PyErr_Occurred()) SWIG_fail
;
18810 Py_INCREF(Py_None
); resultobj
= Py_None
;
18817 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18818 PyObject
*resultobj
;
18819 wxEffects
*arg1
= (wxEffects
*) 0 ;
18822 wxBitmap
*arg4
= 0 ;
18825 PyObject
* obj0
= 0 ;
18826 PyObject
* obj1
= 0 ;
18827 PyObject
* obj2
= 0 ;
18828 PyObject
* obj3
= 0 ;
18829 char *kwnames
[] = {
18830 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
18833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18838 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18840 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
18841 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18843 if (arg3
== NULL
) {
18844 PyErr_SetString(PyExc_TypeError
,"null reference");
18847 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
18848 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18850 if (arg4
== NULL
) {
18851 PyErr_SetString(PyExc_TypeError
,"null reference");
18855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18856 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
18858 wxPyEndAllowThreads(__tstate
);
18859 if (PyErr_Occurred()) SWIG_fail
;
18862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18870 static PyObject
* Effects_swigregister(PyObject
*self
, PyObject
*args
) {
18872 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18873 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
18875 return Py_BuildValue((char *)"");
18877 static PyMethodDef SwigMethods
[] = {
18878 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18879 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18880 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18881 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18882 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
18883 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
},
18884 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18885 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
},
18886 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
},
18887 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18888 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
},
18889 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
},
18890 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
18891 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18892 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
},
18893 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18894 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
},
18895 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18896 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18897 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18898 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
},
18899 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18900 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
},
18901 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18902 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18903 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18904 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18905 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18906 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
},
18907 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18908 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18909 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
18910 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18911 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18912 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18913 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18914 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18915 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
18916 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18917 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18918 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18919 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18920 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18921 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18922 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18923 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18924 { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS
| METH_KEYWORDS
},
18925 { (char *)"Pen_GetStipple", (PyCFunction
) _wrap_Pen_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18926 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18927 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
},
18928 { (char *)"new_PyPen", (PyCFunction
) _wrap_new_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
18929 { (char *)"delete_PyPen", (PyCFunction
) _wrap_delete_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
18930 { (char *)"PyPen_SetDashes", (PyCFunction
) _wrap_PyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18931 { (char *)"PyPen_swigregister", PyPen_swigregister
, METH_VARARGS
},
18932 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18933 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18934 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18935 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18936 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18937 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18938 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18939 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18940 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18941 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
},
18942 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18943 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18944 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18945 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18946 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18947 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18948 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
18949 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
18950 { (char *)"Bitmap_GetHandle", (PyCFunction
) _wrap_Bitmap_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
18951 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
18952 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18953 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18954 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18955 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18956 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
},
18957 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
18958 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
18959 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
18960 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18961 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
18962 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
18963 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18964 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18965 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18966 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18967 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
},
18968 { (char *)"Bitmap_GetQuality", (PyCFunction
) _wrap_Bitmap_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
18969 { (char *)"Bitmap_SetQuality", (PyCFunction
) _wrap_Bitmap_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
18970 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18971 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18972 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
},
18973 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
},
18974 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
},
18975 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18976 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18977 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
18978 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
18979 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18980 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18981 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
18982 { (char *)"Icon_GetHandle", (PyCFunction
) _wrap_Icon_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
18983 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
18984 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18985 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18986 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18987 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18988 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18989 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18990 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18991 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
18992 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18993 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
},
18994 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18995 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18996 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18997 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18998 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18999 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
},
19000 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
19001 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
},
19002 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
19003 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
19004 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
19005 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
19006 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
19007 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
19008 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
19009 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
},
19010 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
19011 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
19012 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
},
19013 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
19014 { (char *)"Cursor_GetHandle", (PyCFunction
) _wrap_Cursor_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
19015 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
19016 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19017 { (char *)"Cursor_GetWidth", (PyCFunction
) _wrap_Cursor_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19018 { (char *)"Cursor_GetHeight", (PyCFunction
) _wrap_Cursor_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
19019 { (char *)"Cursor_GetDepth", (PyCFunction
) _wrap_Cursor_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
19020 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19021 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
19022 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
19023 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
19024 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
},
19025 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
},
19026 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19027 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
},
19028 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
},
19029 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
},
19030 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
},
19031 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
},
19032 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
19033 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
19034 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
19035 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
19036 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
19037 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
19038 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
19039 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
19040 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
},
19041 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
19042 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
19043 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
19044 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
19045 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
19046 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
},
19047 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
19048 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
19049 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19050 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19051 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
},
19052 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
19053 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
19054 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
19055 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
19056 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
19057 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19058 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
19059 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
19060 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
19061 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
19062 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
19063 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
19064 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
19065 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
},
19066 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
19067 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
19068 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
19069 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
},
19070 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
19071 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
19072 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
19073 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
19074 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
19075 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
19076 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19077 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
19078 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
19079 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
19080 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
19081 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
19082 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
19083 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19084 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
19085 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
19086 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
19087 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
19088 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
19089 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
},
19090 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
},
19091 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
},
19092 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
},
19093 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
},
19094 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
19095 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
19096 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
19097 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
19098 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
},
19099 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19100 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19101 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
19102 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
19103 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
19104 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
19105 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19106 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
},
19107 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19108 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
19109 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
19110 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
19111 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
19112 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
19113 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19114 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
19115 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
19116 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
19117 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
},
19118 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
},
19119 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
},
19120 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
19121 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
},
19122 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
},
19123 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19124 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
},
19125 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
},
19126 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
19127 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
19128 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
19129 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
19130 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
19131 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
19132 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19133 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
19134 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
19135 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
19136 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
19137 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
19138 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
19139 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
19140 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
19141 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
19142 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
19143 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19144 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
19145 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
},
19146 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
19147 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
19148 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
19149 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
19150 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
19151 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
19152 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19153 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19154 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
},
19155 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
19156 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
19157 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
19158 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
19159 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
19160 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
19161 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
19162 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
},
19163 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
19164 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
19165 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
19166 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
19167 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
19168 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
19169 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
},
19170 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
},
19171 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
},
19172 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
},
19173 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
},
19174 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
19175 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19176 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
19177 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
19178 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
19179 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
19180 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
19181 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
19182 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
19183 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
19184 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
19185 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
19186 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
},
19187 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
19188 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
19189 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
19190 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
19191 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
},
19192 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
19193 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
},
19194 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
19195 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
19196 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
19197 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
19198 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
19199 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
19200 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
},
19201 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
},
19202 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
},
19203 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
19204 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
19205 { (char *)"DC_FloodFillXY", (PyCFunction
) _wrap_DC_FloodFillXY
, METH_VARARGS
| METH_KEYWORDS
},
19206 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
19207 { (char *)"DC_GetPixelXY", (PyCFunction
) _wrap_DC_GetPixelXY
, METH_VARARGS
| METH_KEYWORDS
},
19208 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
19209 { (char *)"DC_DrawLineXY", (PyCFunction
) _wrap_DC_DrawLineXY
, METH_VARARGS
| METH_KEYWORDS
},
19210 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
19211 { (char *)"DC_CrossHairXY", (PyCFunction
) _wrap_DC_CrossHairXY
, METH_VARARGS
| METH_KEYWORDS
},
19212 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
19213 { (char *)"DC_DrawArcXY", (PyCFunction
) _wrap_DC_DrawArcXY
, METH_VARARGS
| METH_KEYWORDS
},
19214 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
19215 { (char *)"DC_DrawCheckMarkXY", (PyCFunction
) _wrap_DC_DrawCheckMarkXY
, METH_VARARGS
| METH_KEYWORDS
},
19216 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
},
19217 { (char *)"DC_DrawEllipticArcXY", (PyCFunction
) _wrap_DC_DrawEllipticArcXY
, METH_VARARGS
| METH_KEYWORDS
},
19218 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
19219 { (char *)"DC_DrawPointXY", (PyCFunction
) _wrap_DC_DrawPointXY
, METH_VARARGS
| METH_KEYWORDS
},
19220 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
19221 { (char *)"DC_DrawRectangleXY", (PyCFunction
) _wrap_DC_DrawRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
19222 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
19223 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
19224 { (char *)"DC_DrawRoundedRectangleXY", (PyCFunction
) _wrap_DC_DrawRoundedRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
19225 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
19226 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
19227 { (char *)"DC_DrawCircleXY", (PyCFunction
) _wrap_DC_DrawCircleXY
, METH_VARARGS
| METH_KEYWORDS
},
19228 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
19229 { (char *)"DC_DrawEllipseXY", (PyCFunction
) _wrap_DC_DrawEllipseXY
, METH_VARARGS
| METH_KEYWORDS
},
19230 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
19231 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
},
19232 { (char *)"DC_DrawIconXY", (PyCFunction
) _wrap_DC_DrawIconXY
, METH_VARARGS
| METH_KEYWORDS
},
19233 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
19234 { (char *)"DC_DrawBitmapXY", (PyCFunction
) _wrap_DC_DrawBitmapXY
, METH_VARARGS
| METH_KEYWORDS
},
19235 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19236 { (char *)"DC_DrawTextXY", (PyCFunction
) _wrap_DC_DrawTextXY
, METH_VARARGS
| METH_KEYWORDS
},
19237 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
19238 { (char *)"DC_DrawRotatedTextXY", (PyCFunction
) _wrap_DC_DrawRotatedTextXY
, METH_VARARGS
| METH_KEYWORDS
},
19239 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
19240 { (char *)"DC_BlitXY", (PyCFunction
) _wrap_DC_BlitXY
, METH_VARARGS
| METH_KEYWORDS
},
19241 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
19242 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
19243 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
19244 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
19245 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
19246 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
19247 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
19248 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
19249 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
19250 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
19251 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
19252 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
19253 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
19254 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
19255 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
19256 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
19257 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
19258 { (char *)"DC_SetClippingRegionXY", (PyCFunction
) _wrap_DC_SetClippingRegionXY
, METH_VARARGS
| METH_KEYWORDS
},
19259 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
19260 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
19261 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
19262 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
19263 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
19264 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
19265 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
19266 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
19267 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
19268 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
19269 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
19270 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
},
19271 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
19272 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
19273 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
19274 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
},
19275 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
19276 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
19277 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
19278 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
19279 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
19280 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
19281 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
19282 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
19283 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19284 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
19285 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
19286 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
19287 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19288 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
19289 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
19290 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
19291 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
19292 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
19293 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
19294 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
19295 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
19296 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
19297 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
19298 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
19299 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
19300 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
19301 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
19302 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
19303 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
19304 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
19305 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
19306 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
19307 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
19308 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
19309 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
19310 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
19311 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
19312 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
19313 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
19314 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
19315 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
19316 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
19317 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
19318 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
19319 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
19320 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
19321 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
19322 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
19323 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
19324 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
19325 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
19326 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
19327 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
},
19328 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
19329 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
19330 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
19331 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
},
19332 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
},
19333 { (char *)"new_BufferedDCInternalBuffer", _wrap_new_BufferedDCInternalBuffer
, METH_VARARGS
},
19334 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
19335 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
19336 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
},
19337 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
19338 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
},
19339 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
19340 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
19341 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
19342 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
19343 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
},
19344 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
},
19345 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
},
19346 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
},
19347 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
},
19348 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
},
19349 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
},
19350 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
19351 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
},
19352 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
19353 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
19354 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
19355 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
19356 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
19357 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
},
19358 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
19359 { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
19360 { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19361 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
},
19362 { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
19363 { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19364 { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
19365 { (char *)"MetaFile_GetFileName", (PyCFunction
) _wrap_MetaFile_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
19366 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
},
19367 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
19368 { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
},
19369 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
},
19370 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
19371 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
},
19372 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
19373 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
19374 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
19375 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
19376 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
19377 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
19378 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
19379 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
19380 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
19381 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
19382 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
19383 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
},
19384 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
19385 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
19386 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
19387 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
19388 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
},
19389 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
19390 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
19391 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
19392 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
19393 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
},
19394 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
19395 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
19396 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
},
19397 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
19398 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
19399 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
19400 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
},
19401 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
19402 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
19403 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
19404 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
19405 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
},
19406 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
},
19407 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
19408 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
19409 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
19410 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
19411 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
19412 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
19413 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
19414 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
19415 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
19416 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
19417 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
},
19418 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
19419 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19420 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
},
19425 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
19427 static void *_p_wxControlTo_p_wxWindow(void *x
) {
19428 return (void *)((wxWindow
*) ((wxControl
*) x
));
19430 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
19431 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
19433 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
19434 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
19436 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
19437 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
19439 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
19440 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19442 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
19443 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
19445 static void *_p_wxPenTo_p_wxObject(void *x
) {
19446 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
19448 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
19449 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
19451 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
19452 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
19454 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
19455 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
19457 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
19458 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
19460 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
19461 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
19463 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
19464 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
19466 static void *_p_wxIconTo_p_wxObject(void *x
) {
19467 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
19469 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
19470 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
19472 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
19473 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
19475 static void *_p_wxSizerTo_p_wxObject(void *x
) {
19476 return (void *)((wxObject
*) ((wxSizer
*) x
));
19478 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
19479 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
19481 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
19482 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
19484 static void *_p_wxPenListTo_p_wxObject(void *x
) {
19485 return (void *)((wxObject
*) ((wxPenList
*) x
));
19487 static void *_p_wxEventTo_p_wxObject(void *x
) {
19488 return (void *)((wxObject
*) ((wxEvent
*) x
));
19490 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
19491 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
19493 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
19494 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
19496 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
19497 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
19499 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
19500 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
19502 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
19503 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
19505 static void *_p_wxDCTo_p_wxObject(void *x
) {
19506 return (void *)((wxObject
*) ((wxDC
*) x
));
19508 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
19509 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
19511 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
19512 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
19514 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
19515 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
19517 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
19518 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
19520 static void *_p_wxControlTo_p_wxObject(void *x
) {
19521 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
19523 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
19524 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
19526 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
19527 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
19529 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
19530 return (void *)((wxObject
*) ((wxFSFile
*) x
));
19532 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
19533 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
19535 static void *_p_wxRegionTo_p_wxObject(void *x
) {
19536 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
19538 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
19539 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
19541 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
19542 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
19544 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
19545 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
19547 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
19548 return (void *)((wxObject
*) ((wxEffects
*) x
));
19550 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
19551 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
19553 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
19554 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
19556 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
19557 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
19559 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
19560 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
19562 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
19563 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
19565 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
19566 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
19568 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
19569 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
19571 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
19572 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
19574 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
19575 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
19577 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
19578 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
19580 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
19581 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
19583 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
19584 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
19586 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
19587 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
19589 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
19590 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
19592 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
19593 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
19595 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
19596 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
19598 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
19599 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
19601 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
19602 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
19604 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
19605 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
19607 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
19608 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
19610 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
19611 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
19613 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
19614 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
19616 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
19617 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
19619 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
19620 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
19622 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
19623 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
19625 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
19626 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
19628 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
19629 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19631 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
19632 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
19634 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
19635 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
19637 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
19638 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
19640 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
19641 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
19643 static void *_p_wxImageTo_p_wxObject(void *x
) {
19644 return (void *)((wxObject
*) ((wxImage
*) x
));
19646 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
19647 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
19649 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
19650 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
19652 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
19653 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
19655 static void *_p_wxImageListTo_p_wxObject(void *x
) {
19656 return (void *)((wxObject
*) ((wxImageList
*) x
));
19658 static void *_p_wxCursorTo_p_wxObject(void *x
) {
19659 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
19661 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
19662 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
19664 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
19665 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
19667 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
19668 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19670 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
19671 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
19673 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
19674 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
19676 static void *_p_wxWindowTo_p_wxObject(void *x
) {
19677 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
19679 static void *_p_wxMenuTo_p_wxObject(void *x
) {
19680 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
19682 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
19683 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
19685 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
19686 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
19688 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
19689 return (void *)((wxObject
*) ((wxBrushList
*) x
));
19691 static void *_p_wxPyPenTo_p_wxObject(void *x
) {
19692 return (void *)((wxObject
*) (wxGDIObject
*)(wxPen
*) ((wxPyPen
*) x
));
19694 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
19695 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
19697 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
19698 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
19700 static void *_p_wxMaskTo_p_wxObject(void *x
) {
19701 return (void *)((wxObject
*) ((wxMask
*) x
));
19703 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
19704 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19706 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
19707 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
19709 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
19710 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
19712 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
19713 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
19715 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
19716 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
19718 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
19719 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
19721 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
19722 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19724 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
19725 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
19727 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
19728 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
19730 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
19731 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
19733 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
19734 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19736 static void *_p_wxFontTo_p_wxObject(void *x
) {
19737 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
19739 static void *_p_wxBrushTo_p_wxObject(void *x
) {
19740 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
19742 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
19743 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
19745 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
19746 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19748 static void *_p_wxColourTo_p_wxObject(void *x
) {
19749 return (void *)((wxObject
*) ((wxColour
*) x
));
19751 static void *_p_wxFontListTo_p_wxObject(void *x
) {
19752 return (void *)((wxObject
*) ((wxFontList
*) x
));
19754 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
19755 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
19757 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
19758 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
19760 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
19761 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19763 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
19764 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
19766 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
19767 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
19769 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
19770 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
19772 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
19773 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
19775 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
19776 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
19778 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
19779 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
19781 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
19782 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19784 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
19785 return (void *)((wxDC
*) ((wxClientDC
*) x
));
19787 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
19788 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
19790 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
19791 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
19793 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
19794 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
19796 static void *_p_wxPyPenTo_p_wxGDIObject(void *x
) {
19797 return (void *)((wxGDIObject
*) (wxPen
*) ((wxPyPen
*) x
));
19799 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
19800 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
19802 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
19803 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
19805 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
19806 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
19808 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
19809 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
19811 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
19812 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
19814 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
19815 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
19817 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
19818 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
19820 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
19821 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
19823 static void *_p_wxPyPenTo_p_wxPen(void *x
) {
19824 return (void *)((wxPen
*) ((wxPyPen
*) x
));
19826 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}};
19827 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}};
19828 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}};
19829 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}};
19830 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}};
19831 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}};
19832 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}};
19833 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}};
19834 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}};
19835 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}};
19836 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}};
19837 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}};
19838 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}};
19839 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}};
19840 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}};
19841 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}};
19842 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}};
19843 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}};
19844 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}};
19845 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}};
19846 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}};
19847 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}};
19848 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}};
19849 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}};
19850 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}};
19851 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}};
19852 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}};
19853 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}};
19854 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}};
19855 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}};
19856 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}};
19857 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}};
19858 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}};
19859 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}};
19860 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}};
19861 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}};
19862 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}};
19863 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}};
19864 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}};
19865 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}};
19866 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}};
19867 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}};
19868 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}};
19869 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}};
19870 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}};
19871 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}};
19872 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}};
19873 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}};
19874 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}};
19875 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}};
19876 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}};
19877 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}};
19878 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}};
19879 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}};
19880 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}};
19881 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}};
19883 static swig_type_info
*swig_types_initial
[] = {
19884 _swigt__p_wxPostScriptDC
,
19886 _swigt__p_wxColour
,
19888 _swigt__p_wxMirrorDC
,
19890 _swigt__p_wxPyFontEnumerator
,
19892 _swigt__p_wxIconLocation
,
19894 _swigt__p_wxMetaFileDC
,
19897 _swigt__p_wxWindow
,
19900 _swigt__p_wxMemoryDC
,
19901 _swigt__p_wxFontMapper
,
19902 _swigt__p_wxEffects
,
19903 _swigt__p_wxNativeEncodingInfo
,
19904 _swigt__p_wxPalette
,
19905 _swigt__p_wxBitmap
,
19906 _swigt__p_wxObject
,
19907 _swigt__p_wxRegionIterator
,
19909 _swigt__p_wxString
,
19910 _swigt__p_wxPrinterDC
,
19911 _swigt__p_wxIconBundle
,
19914 _swigt__p_wxScreenDC
,
19915 _swigt__p_wxCursor
,
19916 _swigt__p_wxClientDC
,
19917 _swigt__p_wxBufferedDC
,
19918 _swigt__p_wxImageList
,
19919 _swigt__p_unsigned_char
,
19920 _swigt__p_wxGDIObject
,
19922 _swigt__p_wxLocale
,
19923 _swigt__p_wxRegion
,
19924 _swigt__p_wxLanguageInfo
,
19925 _swigt__p_wxConfigBase
,
19926 _swigt__p_wxWindowDC
,
19927 _swigt__p_wxPrintData
,
19928 _swigt__p_wxBrushList
,
19929 _swigt__p_wxFontList
,
19931 _swigt__p_wxBufferedPaintDC
,
19932 _swigt__p_wxPaintDC
,
19933 _swigt__p_wxPenList
,
19936 _swigt__p_wxMetaFile
,
19937 _swigt__p_wxNativeFontInfo
,
19938 _swigt__p_wxEncodingConverter
,
19939 _swigt__p_wxColourDatabase
,
19944 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19946 static swig_const_info swig_const_table
[] = {
19956 SWIGEXPORT(void) SWIG_init(void) {
19957 static PyObject
*SWIG_globals
= 0;
19958 static int typeinit
= 0;
19961 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
19962 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
19963 d
= PyModule_GetDict(m
);
19966 for (i
= 0; swig_types_initial
[i
]; i
++) {
19967 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
19971 SWIG_InstallConstants(d
,swig_const_table
);
19973 PyDict_SetItemString(d
,"OutRegion", SWIG_FromInt((int)wxOutRegion
));
19974 PyDict_SetItemString(d
,"PartRegion", SWIG_FromInt((int)wxPartRegion
));
19975 PyDict_SetItemString(d
,"InRegion", SWIG_FromInt((int)wxInRegion
));
19976 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_FromInt((int)wxFONTFAMILY_DEFAULT
));
19977 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_FromInt((int)wxFONTFAMILY_DECORATIVE
));
19978 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_FromInt((int)wxFONTFAMILY_ROMAN
));
19979 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_FromInt((int)wxFONTFAMILY_SCRIPT
));
19980 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_FromInt((int)wxFONTFAMILY_SWISS
));
19981 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_FromInt((int)wxFONTFAMILY_MODERN
));
19982 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_FromInt((int)wxFONTFAMILY_TELETYPE
));
19983 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_FromInt((int)wxFONTFAMILY_MAX
));
19984 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_FromInt((int)wxFONTFAMILY_UNKNOWN
));
19985 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_FromInt((int)wxFONTSTYLE_NORMAL
));
19986 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_FromInt((int)wxFONTSTYLE_ITALIC
));
19987 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_FromInt((int)wxFONTSTYLE_SLANT
));
19988 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_FromInt((int)wxFONTSTYLE_MAX
));
19989 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_FromInt((int)wxFONTWEIGHT_NORMAL
));
19990 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_FromInt((int)wxFONTWEIGHT_LIGHT
));
19991 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_FromInt((int)wxFONTWEIGHT_BOLD
));
19992 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_FromInt((int)wxFONTWEIGHT_MAX
));
19993 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_FromInt((int)wxFONTFLAG_DEFAULT
));
19994 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_FromInt((int)wxFONTFLAG_ITALIC
));
19995 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_FromInt((int)wxFONTFLAG_SLANT
));
19996 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_FromInt((int)wxFONTFLAG_LIGHT
));
19997 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_FromInt((int)wxFONTFLAG_BOLD
));
19998 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_ANTIALIASED
));
19999 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_NOT_ANTIALIASED
));
20000 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_FromInt((int)wxFONTFLAG_UNDERLINED
));
20001 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_FromInt((int)wxFONTFLAG_STRIKETHROUGH
));
20002 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_FromInt((int)wxFONTFLAG_MASK
));
20003 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_FromInt((int)wxFONTENCODING_SYSTEM
));
20004 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_FromInt((int)wxFONTENCODING_DEFAULT
));
20005 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_FromInt((int)wxFONTENCODING_ISO8859_1
));
20006 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_FromInt((int)wxFONTENCODING_ISO8859_2
));
20007 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_FromInt((int)wxFONTENCODING_ISO8859_3
));
20008 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_FromInt((int)wxFONTENCODING_ISO8859_4
));
20009 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_FromInt((int)wxFONTENCODING_ISO8859_5
));
20010 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_FromInt((int)wxFONTENCODING_ISO8859_6
));
20011 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_FromInt((int)wxFONTENCODING_ISO8859_7
));
20012 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_FromInt((int)wxFONTENCODING_ISO8859_8
));
20013 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_FromInt((int)wxFONTENCODING_ISO8859_9
));
20014 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_FromInt((int)wxFONTENCODING_ISO8859_10
));
20015 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_FromInt((int)wxFONTENCODING_ISO8859_11
));
20016 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_FromInt((int)wxFONTENCODING_ISO8859_12
));
20017 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_FromInt((int)wxFONTENCODING_ISO8859_13
));
20018 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_FromInt((int)wxFONTENCODING_ISO8859_14
));
20019 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_FromInt((int)wxFONTENCODING_ISO8859_15
));
20020 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_FromInt((int)wxFONTENCODING_ISO8859_MAX
));
20021 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_FromInt((int)wxFONTENCODING_KOI8
));
20022 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_FromInt((int)wxFONTENCODING_ALTERNATIVE
));
20023 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_FromInt((int)wxFONTENCODING_BULGARIAN
));
20024 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_FromInt((int)wxFONTENCODING_CP437
));
20025 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_FromInt((int)wxFONTENCODING_CP850
));
20026 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_FromInt((int)wxFONTENCODING_CP852
));
20027 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_FromInt((int)wxFONTENCODING_CP855
));
20028 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_FromInt((int)wxFONTENCODING_CP866
));
20029 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_FromInt((int)wxFONTENCODING_CP874
));
20030 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_FromInt((int)wxFONTENCODING_CP932
));
20031 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_FromInt((int)wxFONTENCODING_CP936
));
20032 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_FromInt((int)wxFONTENCODING_CP949
));
20033 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_FromInt((int)wxFONTENCODING_CP950
));
20034 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_FromInt((int)wxFONTENCODING_CP1250
));
20035 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_FromInt((int)wxFONTENCODING_CP1251
));
20036 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_FromInt((int)wxFONTENCODING_CP1252
));
20037 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_FromInt((int)wxFONTENCODING_CP1253
));
20038 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_FromInt((int)wxFONTENCODING_CP1254
));
20039 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_FromInt((int)wxFONTENCODING_CP1255
));
20040 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_FromInt((int)wxFONTENCODING_CP1256
));
20041 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_FromInt((int)wxFONTENCODING_CP1257
));
20042 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_FromInt((int)wxFONTENCODING_CP12_MAX
));
20043 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_FromInt((int)wxFONTENCODING_UTF7
));
20044 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_FromInt((int)wxFONTENCODING_UTF8
));
20045 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_FromInt((int)wxFONTENCODING_EUC_JP
));
20046 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_FromInt((int)wxFONTENCODING_UTF16BE
));
20047 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_FromInt((int)wxFONTENCODING_UTF16LE
));
20048 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_FromInt((int)wxFONTENCODING_UTF32BE
));
20049 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_FromInt((int)wxFONTENCODING_UTF32LE
));
20050 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_FromInt((int)wxFONTENCODING_MACROMAN
));
20051 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_FromInt((int)wxFONTENCODING_MACJAPANESE
));
20052 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_FromInt((int)wxFONTENCODING_MACCHINESETRAD
));
20053 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_FromInt((int)wxFONTENCODING_MACKOREAN
));
20054 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_FromInt((int)wxFONTENCODING_MACARABIC
));
20055 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_FromInt((int)wxFONTENCODING_MACHEBREW
));
20056 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_FromInt((int)wxFONTENCODING_MACGREEK
));
20057 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_FromInt((int)wxFONTENCODING_MACCYRILLIC
));
20058 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_FromInt((int)wxFONTENCODING_MACDEVANAGARI
));
20059 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_FromInt((int)wxFONTENCODING_MACGURMUKHI
));
20060 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_FromInt((int)wxFONTENCODING_MACGUJARATI
));
20061 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_FromInt((int)wxFONTENCODING_MACORIYA
));
20062 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_FromInt((int)wxFONTENCODING_MACBENGALI
));
20063 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_FromInt((int)wxFONTENCODING_MACTAMIL
));
20064 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_FromInt((int)wxFONTENCODING_MACTELUGU
));
20065 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_FromInt((int)wxFONTENCODING_MACKANNADA
));
20066 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_FromInt((int)wxFONTENCODING_MACMALAJALAM
));
20067 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_FromInt((int)wxFONTENCODING_MACSINHALESE
));
20068 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_FromInt((int)wxFONTENCODING_MACBURMESE
));
20069 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_FromInt((int)wxFONTENCODING_MACKHMER
));
20070 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_FromInt((int)wxFONTENCODING_MACTHAI
));
20071 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_FromInt((int)wxFONTENCODING_MACLAOTIAN
));
20072 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_FromInt((int)wxFONTENCODING_MACGEORGIAN
));
20073 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_FromInt((int)wxFONTENCODING_MACARMENIAN
));
20074 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_FromInt((int)wxFONTENCODING_MACCHINESESIMP
));
20075 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_FromInt((int)wxFONTENCODING_MACTIBETAN
));
20076 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_FromInt((int)wxFONTENCODING_MACMONGOLIAN
));
20077 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_FromInt((int)wxFONTENCODING_MACETHIOPIC
));
20078 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_FromInt((int)wxFONTENCODING_MACCENTRALEUR
));
20079 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_FromInt((int)wxFONTENCODING_MACVIATNAMESE
));
20080 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_FromInt((int)wxFONTENCODING_MACARABICEXT
));
20081 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_FromInt((int)wxFONTENCODING_MACSYMBOL
));
20082 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_FromInt((int)wxFONTENCODING_MACDINGBATS
));
20083 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_FromInt((int)wxFONTENCODING_MACTURKISH
));
20084 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_FromInt((int)wxFONTENCODING_MACCROATIAN
));
20085 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_FromInt((int)wxFONTENCODING_MACICELANDIC
));
20086 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_FromInt((int)wxFONTENCODING_MACROMANIAN
));
20087 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_FromInt((int)wxFONTENCODING_MACCELTIC
));
20088 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_FromInt((int)wxFONTENCODING_MACGAELIC
));
20089 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_FromInt((int)wxFONTENCODING_MACKEYBOARD
));
20090 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_FromInt((int)wxFONTENCODING_MACMIN
));
20091 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_FromInt((int)wxFONTENCODING_MACMAX
));
20092 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_FromInt((int)wxFONTENCODING_MAX
));
20093 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_FromInt((int)wxFONTENCODING_UTF16
));
20094 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_FromInt((int)wxFONTENCODING_UTF32
));
20095 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_FromInt((int)wxFONTENCODING_UNICODE
));
20096 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_FromInt((int)wxFONTENCODING_GB2312
));
20097 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_FromInt((int)wxFONTENCODING_BIG5
));
20098 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_FromInt((int)wxFONTENCODING_SHIFT_JIS
));
20100 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
20102 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_FromInt((int)wxLANGUAGE_DEFAULT
));
20103 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_FromInt((int)wxLANGUAGE_UNKNOWN
));
20104 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_FromInt((int)wxLANGUAGE_ABKHAZIAN
));
20105 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_FromInt((int)wxLANGUAGE_AFAR
));
20106 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_FromInt((int)wxLANGUAGE_AFRIKAANS
));
20107 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_FromInt((int)wxLANGUAGE_ALBANIAN
));
20108 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_FromInt((int)wxLANGUAGE_AMHARIC
));
20109 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_FromInt((int)wxLANGUAGE_ARABIC
));
20110 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_ALGERIA
));
20111 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_BAHRAIN
));
20112 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_EGYPT
));
20113 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_FromInt((int)wxLANGUAGE_ARABIC_IRAQ
));
20114 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_JORDAN
));
20115 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_KUWAIT
));
20116 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LEBANON
));
20117 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LIBYA
));
20118 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_FromInt((int)wxLANGUAGE_ARABIC_MOROCCO
));
20119 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_OMAN
));
20120 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_FromInt((int)wxLANGUAGE_ARABIC_QATAR
));
20121 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
20122 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SUDAN
));
20123 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SYRIA
));
20124 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_TUNISIA
));
20125 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_FromInt((int)wxLANGUAGE_ARABIC_UAE
));
20126 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_YEMEN
));
20127 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_FromInt((int)wxLANGUAGE_ARMENIAN
));
20128 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_FromInt((int)wxLANGUAGE_ASSAMESE
));
20129 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_FromInt((int)wxLANGUAGE_AYMARA
));
20130 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_FromInt((int)wxLANGUAGE_AZERI
));
20131 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_AZERI_CYRILLIC
));
20132 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_FromInt((int)wxLANGUAGE_AZERI_LATIN
));
20133 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_FromInt((int)wxLANGUAGE_BASHKIR
));
20134 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_FromInt((int)wxLANGUAGE_BASQUE
));
20135 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_FromInt((int)wxLANGUAGE_BELARUSIAN
));
20136 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_FromInt((int)wxLANGUAGE_BENGALI
));
20137 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_FromInt((int)wxLANGUAGE_BHUTANI
));
20138 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_FromInt((int)wxLANGUAGE_BIHARI
));
20139 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_FromInt((int)wxLANGUAGE_BISLAMA
));
20140 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_FromInt((int)wxLANGUAGE_BRETON
));
20141 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_FromInt((int)wxLANGUAGE_BULGARIAN
));
20142 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_FromInt((int)wxLANGUAGE_BURMESE
));
20143 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_FromInt((int)wxLANGUAGE_CAMBODIAN
));
20144 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_FromInt((int)wxLANGUAGE_CATALAN
));
20145 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_FromInt((int)wxLANGUAGE_CHINESE
));
20146 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
20147 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
20148 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_FromInt((int)wxLANGUAGE_CHINESE_HONGKONG
));
20149 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_FromInt((int)wxLANGUAGE_CHINESE_MACAU
));
20150 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SINGAPORE
));
20151 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TAIWAN
));
20152 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_FromInt((int)wxLANGUAGE_CORSICAN
));
20153 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_CROATIAN
));
20154 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_FromInt((int)wxLANGUAGE_CZECH
));
20155 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_FromInt((int)wxLANGUAGE_DANISH
));
20156 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_FromInt((int)wxLANGUAGE_DUTCH
));
20157 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_DUTCH_BELGIAN
));
20158 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_FromInt((int)wxLANGUAGE_ENGLISH
));
20159 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_UK
));
20160 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_US
));
20161 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
20162 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BELIZE
));
20163 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
20164 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CANADA
));
20165 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
20166 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_DENMARK
));
20167 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_EIRE
));
20168 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_JAMAICA
));
20169 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
20170 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
20171 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
20172 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
20173 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
20174 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_FromInt((int)wxLANGUAGE_ESPERANTO
));
20175 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_FromInt((int)wxLANGUAGE_ESTONIAN
));
20176 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_FromInt((int)wxLANGUAGE_FAEROESE
));
20177 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_FromInt((int)wxLANGUAGE_FARSI
));
20178 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_FromInt((int)wxLANGUAGE_FIJI
));
20179 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_FromInt((int)wxLANGUAGE_FINNISH
));
20180 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_FromInt((int)wxLANGUAGE_FRENCH
));
20181 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_BELGIAN
));
20182 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_CANADIAN
));
20183 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
20184 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_FromInt((int)wxLANGUAGE_FRENCH_MONACO
));
20185 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_FromInt((int)wxLANGUAGE_FRENCH_SWISS
));
20186 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_FromInt((int)wxLANGUAGE_FRISIAN
));
20187 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_FromInt((int)wxLANGUAGE_GALICIAN
));
20188 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_FromInt((int)wxLANGUAGE_GEORGIAN
));
20189 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN
));
20190 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
20191 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_FromInt((int)wxLANGUAGE_GERMAN_BELGIUM
));
20192 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
20193 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
20194 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_GERMAN_SWISS
));
20195 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_FromInt((int)wxLANGUAGE_GREEK
));
20196 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_FromInt((int)wxLANGUAGE_GREENLANDIC
));
20197 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_FromInt((int)wxLANGUAGE_GUARANI
));
20198 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_FromInt((int)wxLANGUAGE_GUJARATI
));
20199 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_FromInt((int)wxLANGUAGE_HAUSA
));
20200 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_FromInt((int)wxLANGUAGE_HEBREW
));
20201 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_FromInt((int)wxLANGUAGE_HINDI
));
20202 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_FromInt((int)wxLANGUAGE_HUNGARIAN
));
20203 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_FromInt((int)wxLANGUAGE_ICELANDIC
));
20204 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_FromInt((int)wxLANGUAGE_INDONESIAN
));
20205 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUA
));
20206 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUE
));
20207 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_FromInt((int)wxLANGUAGE_INUKTITUT
));
20208 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_FromInt((int)wxLANGUAGE_INUPIAK
));
20209 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_FromInt((int)wxLANGUAGE_IRISH
));
20210 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_FromInt((int)wxLANGUAGE_ITALIAN
));
20211 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_ITALIAN_SWISS
));
20212 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_FromInt((int)wxLANGUAGE_JAPANESE
));
20213 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_FromInt((int)wxLANGUAGE_JAVANESE
));
20214 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_FromInt((int)wxLANGUAGE_KANNADA
));
20215 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI
));
20216 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI_INDIA
));
20217 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_FromInt((int)wxLANGUAGE_KAZAKH
));
20218 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_FromInt((int)wxLANGUAGE_KERNEWEK
));
20219 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_FromInt((int)wxLANGUAGE_KINYARWANDA
));
20220 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_FromInt((int)wxLANGUAGE_KIRGHIZ
));
20221 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_FromInt((int)wxLANGUAGE_KIRUNDI
));
20222 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_FromInt((int)wxLANGUAGE_KONKANI
));
20223 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_FromInt((int)wxLANGUAGE_KOREAN
));
20224 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_FromInt((int)wxLANGUAGE_KURDISH
));
20225 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_FromInt((int)wxLANGUAGE_LAOTHIAN
));
20226 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_FromInt((int)wxLANGUAGE_LATIN
));
20227 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_FromInt((int)wxLANGUAGE_LATVIAN
));
20228 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_FromInt((int)wxLANGUAGE_LINGALA
));
20229 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_FromInt((int)wxLANGUAGE_LITHUANIAN
));
20230 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_FromInt((int)wxLANGUAGE_MACEDONIAN
));
20231 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_FromInt((int)wxLANGUAGE_MALAGASY
));
20232 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_FromInt((int)wxLANGUAGE_MALAY
));
20233 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_FromInt((int)wxLANGUAGE_MALAYALAM
));
20234 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_FromInt((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
20235 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_FromInt((int)wxLANGUAGE_MALAY_MALAYSIA
));
20236 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_FromInt((int)wxLANGUAGE_MALTESE
));
20237 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_FromInt((int)wxLANGUAGE_MANIPURI
));
20238 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_FromInt((int)wxLANGUAGE_MAORI
));
20239 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_FromInt((int)wxLANGUAGE_MARATHI
));
20240 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_FromInt((int)wxLANGUAGE_MOLDAVIAN
));
20241 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_FromInt((int)wxLANGUAGE_MONGOLIAN
));
20242 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_FromInt((int)wxLANGUAGE_NAURU
));
20243 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_FromInt((int)wxLANGUAGE_NEPALI
));
20244 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_FromInt((int)wxLANGUAGE_NEPALI_INDIA
));
20245 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
20246 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
20247 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_FromInt((int)wxLANGUAGE_OCCITAN
));
20248 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_FromInt((int)wxLANGUAGE_ORIYA
));
20249 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_FromInt((int)wxLANGUAGE_OROMO
));
20250 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_FromInt((int)wxLANGUAGE_PASHTO
));
20251 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_FromInt((int)wxLANGUAGE_POLISH
));
20252 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE
));
20253 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
20254 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_FromInt((int)wxLANGUAGE_PUNJABI
));
20255 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_FromInt((int)wxLANGUAGE_QUECHUA
));
20256 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_FromInt((int)wxLANGUAGE_RHAETO_ROMANCE
));
20257 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_FromInt((int)wxLANGUAGE_ROMANIAN
));
20258 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN
));
20259 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
20260 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_FromInt((int)wxLANGUAGE_SAMOAN
));
20261 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_FromInt((int)wxLANGUAGE_SANGHO
));
20262 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_FromInt((int)wxLANGUAGE_SANSKRIT
));
20263 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_FromInt((int)wxLANGUAGE_SCOTS_GAELIC
));
20264 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN
));
20265 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
20266 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_LATIN
));
20267 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_SERBO_CROATIAN
));
20268 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_FromInt((int)wxLANGUAGE_SESOTHO
));
20269 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_FromInt((int)wxLANGUAGE_SETSWANA
));
20270 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_FromInt((int)wxLANGUAGE_SHONA
));
20271 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_FromInt((int)wxLANGUAGE_SINDHI
));
20272 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_FromInt((int)wxLANGUAGE_SINHALESE
));
20273 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_FromInt((int)wxLANGUAGE_SISWATI
));
20274 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_FromInt((int)wxLANGUAGE_SLOVAK
));
20275 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_FromInt((int)wxLANGUAGE_SLOVENIAN
));
20276 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_FromInt((int)wxLANGUAGE_SOMALI
));
20277 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_FromInt((int)wxLANGUAGE_SPANISH
));
20278 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ARGENTINA
));
20279 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_BOLIVIA
));
20280 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_FromInt((int)wxLANGUAGE_SPANISH_CHILE
));
20281 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COLOMBIA
));
20282 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
20283 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_FromInt((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
20284 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ECUADOR
));
20285 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
20286 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_GUATEMALA
));
20287 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_FromInt((int)wxLANGUAGE_SPANISH_HONDURAS
));
20288 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MEXICAN
));
20289 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MODERN
));
20290 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_NICARAGUA
));
20291 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PANAMA
));
20292 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PARAGUAY
));
20293 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PERU
));
20294 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
20295 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_URUGUAY
));
20296 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_FromInt((int)wxLANGUAGE_SPANISH_US
));
20297 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_VENEZUELA
));
20298 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_FromInt((int)wxLANGUAGE_SUNDANESE
));
20299 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_FromInt((int)wxLANGUAGE_SWAHILI
));
20300 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_FromInt((int)wxLANGUAGE_SWEDISH
));
20301 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_FromInt((int)wxLANGUAGE_SWEDISH_FINLAND
));
20302 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_FromInt((int)wxLANGUAGE_TAGALOG
));
20303 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_FromInt((int)wxLANGUAGE_TAJIK
));
20304 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_FromInt((int)wxLANGUAGE_TAMIL
));
20305 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_FromInt((int)wxLANGUAGE_TATAR
));
20306 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_FromInt((int)wxLANGUAGE_TELUGU
));
20307 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_FromInt((int)wxLANGUAGE_THAI
));
20308 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_FromInt((int)wxLANGUAGE_TIBETAN
));
20309 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_FromInt((int)wxLANGUAGE_TIGRINYA
));
20310 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_FromInt((int)wxLANGUAGE_TONGA
));
20311 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_FromInt((int)wxLANGUAGE_TSONGA
));
20312 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_FromInt((int)wxLANGUAGE_TURKISH
));
20313 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_FromInt((int)wxLANGUAGE_TURKMEN
));
20314 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_FromInt((int)wxLANGUAGE_TWI
));
20315 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_FromInt((int)wxLANGUAGE_UIGHUR
));
20316 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_FromInt((int)wxLANGUAGE_UKRAINIAN
));
20317 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_FromInt((int)wxLANGUAGE_URDU
));
20318 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_FromInt((int)wxLANGUAGE_URDU_INDIA
));
20319 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_FromInt((int)wxLANGUAGE_URDU_PAKISTAN
));
20320 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_FromInt((int)wxLANGUAGE_UZBEK
));
20321 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_UZBEK_CYRILLIC
));
20322 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_FromInt((int)wxLANGUAGE_UZBEK_LATIN
));
20323 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_FromInt((int)wxLANGUAGE_VIETNAMESE
));
20324 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_FromInt((int)wxLANGUAGE_VOLAPUK
));
20325 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_FromInt((int)wxLANGUAGE_WELSH
));
20326 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_FromInt((int)wxLANGUAGE_WOLOF
));
20327 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_FromInt((int)wxLANGUAGE_XHOSA
));
20328 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_FromInt((int)wxLANGUAGE_YIDDISH
));
20329 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_FromInt((int)wxLANGUAGE_YORUBA
));
20330 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_FromInt((int)wxLANGUAGE_ZHUANG
));
20331 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_FromInt((int)wxLANGUAGE_ZULU
));
20332 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_FromInt((int)wxLANGUAGE_USER_DEFINED
));
20333 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_FromInt((int)wxLOCALE_CAT_NUMBER
));
20334 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_FromInt((int)wxLOCALE_CAT_DATE
));
20335 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_FromInt((int)wxLOCALE_CAT_MONEY
));
20336 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_FromInt((int)wxLOCALE_CAT_MAX
));
20337 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_FromInt((int)wxLOCALE_THOUSANDS_SEP
));
20338 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_FromInt((int)wxLOCALE_DECIMAL_POINT
));
20339 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_FromInt((int)wxLOCALE_LOAD_DEFAULT
));
20340 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_FromInt((int)wxLOCALE_CONV_ENCODING
));
20341 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_FromInt((int)wxCONVERT_STRICT
));
20342 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_FromInt((int)wxCONVERT_SUBSTITUTE
));
20343 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_FromInt((int)wxPLATFORM_CURRENT
));
20344 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_FromInt((int)wxPLATFORM_UNIX
));
20345 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_FromInt((int)wxPLATFORM_WINDOWS
));
20346 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_FromInt((int)wxPLATFORM_OS2
));
20347 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_FromInt((int)wxPLATFORM_MAC
));
20348 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_FromInt((int)wxIMAGELIST_DRAW_NORMAL
));
20349 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_FromInt((int)wxIMAGELIST_DRAW_TRANSPARENT
));
20350 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_FromInt((int)wxIMAGELIST_DRAW_SELECTED
));
20351 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_FromInt((int)wxIMAGELIST_DRAW_FOCUSED
));
20352 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_FromInt((int)wxIMAGE_LIST_NORMAL
));
20353 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_FromInt((int)wxIMAGE_LIST_SMALL
));
20354 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_FromInt((int)wxIMAGE_LIST_STATE
));
20355 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
20356 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
20357 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
20358 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
20359 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
20360 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
20361 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
20362 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
20363 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
20364 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
20365 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
20366 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
20367 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
20368 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
20369 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
20370 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
20371 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
20372 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
20373 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
20374 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
20375 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
20376 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
20377 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
20378 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
20379 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
20380 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
20381 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
20382 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
20383 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
20384 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
20385 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
20386 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
20387 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
20388 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
20389 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
20390 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
20391 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
20392 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
20393 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
20394 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
20395 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
20396 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
20397 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
20398 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
20399 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
20400 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
20401 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
20403 // Work around a chicken/egg problem in drawlist.cpp
20404 wxPyDrawList_SetAPIPtr();