1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxPostScriptDC swig_types[0]
210 #define SWIGTYPE_p_wxBrush swig_types[1]
211 #define SWIGTYPE_p_wxColour swig_types[2]
212 #define SWIGTYPE_p_wxDC swig_types[3]
213 #define SWIGTYPE_p_wxMirrorDC swig_types[4]
214 #define SWIGTYPE_p_byte swig_types[5]
215 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[6]
216 #define SWIGTYPE_p_char swig_types[7]
217 #define SWIGTYPE_p_wxIconLocation swig_types[8]
218 #define SWIGTYPE_p_wxImage swig_types[9]
219 #define SWIGTYPE_p_wxMetaFileDC swig_types[10]
220 #define SWIGTYPE_p_wxMask swig_types[11]
221 #define SWIGTYPE_p_wxFont swig_types[12]
222 #define SWIGTYPE_p_wxWindow swig_types[13]
223 #define SWIGTYPE_p_wxSize swig_types[14]
224 #define SWIGTYPE_p_double swig_types[15]
225 #define SWIGTYPE_p_wxMemoryDC swig_types[16]
226 #define SWIGTYPE_p_wxFontMapper swig_types[17]
227 #define SWIGTYPE_p_wxEffects swig_types[18]
228 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[19]
229 #define SWIGTYPE_p_wxPalette swig_types[20]
230 #define SWIGTYPE_p_wxBitmap swig_types[21]
231 #define SWIGTYPE_p_wxObject swig_types[22]
232 #define SWIGTYPE_p_wxRegionIterator swig_types[23]
233 #define SWIGTYPE_p_wxRect swig_types[24]
234 #define SWIGTYPE_p_wxString swig_types[25]
235 #define SWIGTYPE_p_wxPrinterDC swig_types[26]
236 #define SWIGTYPE_p_wxIconBundle swig_types[27]
237 #define SWIGTYPE_p_wxPoint swig_types[28]
238 #define SWIGTYPE_p_wxDash swig_types[29]
239 #define SWIGTYPE_p_wxScreenDC swig_types[30]
240 #define SWIGTYPE_p_wxCursor swig_types[31]
241 #define SWIGTYPE_p_wxClientDC swig_types[32]
242 #define SWIGTYPE_p_wxBufferedDC swig_types[33]
243 #define SWIGTYPE_p_wxImageList swig_types[34]
244 #define SWIGTYPE_p_unsigned_char swig_types[35]
245 #define SWIGTYPE_p_wxGDIObject swig_types[36]
246 #define SWIGTYPE_p_wxIcon swig_types[37]
247 #define SWIGTYPE_p_wxLocale swig_types[38]
248 #define SWIGTYPE_p_wxRegion swig_types[39]
249 #define SWIGTYPE_p_wxLanguageInfo swig_types[40]
250 #define SWIGTYPE_p_wxConfigBase swig_types[41]
251 #define SWIGTYPE_p_wxWindowDC swig_types[42]
252 #define SWIGTYPE_p_wxPrintData swig_types[43]
253 #define SWIGTYPE_p_wxBrushList swig_types[44]
254 #define SWIGTYPE_p_wxFontList swig_types[45]
255 #define SWIGTYPE_p_wxPen swig_types[46]
256 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[47]
257 #define SWIGTYPE_p_wxPaintDC swig_types[48]
258 #define SWIGTYPE_p_wxPenList swig_types[49]
259 #define SWIGTYPE_p_wxPyPen swig_types[50]
260 #define SWIGTYPE_p_int swig_types[51]
261 #define SWIGTYPE_p_wxMetaFile swig_types[52]
262 #define SWIGTYPE_p_wxNativeFontInfo swig_types[53]
263 #define SWIGTYPE_p_wxEncodingConverter swig_types[54]
264 #define SWIGTYPE_p_wxColourDatabase swig_types[55]
265 static swig_type_info
*swig_types
[57];
267 /* -------- TYPES TABLE (END) -------- */
270 /*-----------------------------------------------
272 ------------------------------------------------*/
273 #define SWIG_init init_gdi
275 #define SWIG_name "_gdi"
277 /* Auxiliar swig macros */
280 #define SWIGSTATICINLINE(a) static inline a
281 #define SWIGSTATIC(a) static a
282 #define swig_new_array(type, size) (new type[(size)])
283 #define swig_delete_array(cptr) delete[] cptr
284 #define swig_const_cast(type,a) const_cast<type>(a)
285 #define swig_static_cast(type,a) static_cast<type>(a)
286 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
288 #ifdef HAVE_NUMERIC_CAST
289 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
291 #define swig_numeric_cast(type,a) static_cast<type>(a)
296 #define SWIGSTATICINLINE(a) static a
297 #define SWIGSTATIC(a) static a
298 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
299 #define swig_delete_array(cptr) free((char*)cptr)
300 #define swig_const_cast(type,a) (type)(a)
301 #define swig_static_cast(type,a) (type)(a)
302 #define swig_reinterpret_cast(type,a) (type)(a)
303 #define swig_numeric_cast(type,a) (type)(a)
305 #endif /* __cplusplus */
308 #define SWIG_FromSignedChar PyInt_FromLong
309 #define SWIG_FromUnsignedChar PyInt_FromLong
310 #define SWIG_FromShort PyInt_FromLong
311 #define SWIG_FromUnsignedShort PyInt_FromLong
312 #define SWIG_FromInt PyInt_FromLong
313 #define SWIG_FromLong PyInt_FromLong
314 #define SWIG_FromFloat PyFloat_FromDouble
315 #define SWIG_FromDouble PyFloat_FromDouble
316 #define SWIG_FromFloat PyFloat_FromDouble
317 #define SWIG_FromDouble PyFloat_FromDouble
320 #include "wx/wxPython/wxPython.h"
321 #include "wx/wxPython/pyclasses.h"
324 static const wxString
wxPyEmptyString(wxEmptyString
);
326 SWIGSTATICINLINE(bool)
327 SWIG_AsBool(PyObject
*obj
)
329 return PyObject_IsTrue(obj
) ? true : false;
333 SWIGSTATICINLINE(int)
334 SWIG_CheckBool(PyObject
* obj
)
337 if (PyErr_Occurred()) {
349 SWIGSTATICINLINE(unsigned long)
350 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
351 unsigned long max_value
)
353 if (!PyErr_Occurred()) {
354 if (value
> max_value
) {
356 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
357 value
, type
, max_value
);
358 PyErr_SetObject(PyExc_OverflowError
, err
);
366 SWIGSTATICINLINE(unsigned long)
367 SWIG_AsUnsignedLong(PyObject
* obj
)
369 if (PyLong_Check(obj
)) {
370 return PyLong_AsUnsignedLong(obj
);
372 long i
= PyInt_AsLong(obj
);
373 if ( !PyErr_Occurred() && (i
< 0)) {
374 PyErr_SetString(PyExc_TypeError
, "negative value for unsigned type");
381 SWIGSTATICINLINE(unsigned char)
382 SWIG_AsUnsignedChar(PyObject
*obj
)
384 return swig_numeric_cast(unsigned char,
385 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
386 "unsigned char", UCHAR_MAX
));
390 SWIGSTATICINLINE(int)
391 SWIG_CheckUnsignedChar(PyObject
* obj
)
393 SWIG_AsUnsignedChar(obj
);
394 if (PyErr_Occurred()) {
403 SWIGSTATICINLINE(int)
404 SWIG_CheckUnsignedLong(PyObject
* obj
)
406 SWIG_AsUnsignedLong(obj
);
407 if (PyErr_Occurred()) {
415 PyObject
*wxColour_Get(wxColour
*self
){
416 PyObject
* rv
= PyTuple_New(3);
422 green
= self
->Green();
425 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
426 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
427 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
430 unsigned long wxColour_GetRGB(wxColour
*self
){
431 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
434 SWIGSTATICINLINE(PyObject
* )
435 SWIG_FromUnsignedLong(unsigned long value
)
437 return (value
> LONG_MAX
) ?
438 PyLong_FromUnsignedLong(value
)
439 : PyInt_FromLong(swig_numeric_cast(long,value
));
443 SWIGSTATICINLINE(long)
444 SWIG_CheckLongInRange(long value
, const char* type
,
445 long min_value
, long max_value
)
447 if (!PyErr_Occurred()) {
448 if (value
< min_value
) {
450 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
451 value
, type
, min_value
);
453 PyErr_SetObject(PyExc_OverflowError
, err
);
455 } else if (value
> max_value
) {
457 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
458 value
, type
, max_value
);
459 PyErr_SetObject(PyExc_OverflowError
, err
);
467 SWIGSTATICINLINE(long)
468 SWIG_AsLong(PyObject
* obj
)
470 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
474 #if INT_MAX != LONG_MAX
475 SWIGSTATICINLINE(int)
476 SWIG_AsInt(PyObject
*obj
)
478 return swig_numeric_cast(int,
479 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
480 "int", INT_MIN
, INT_MAX
));
483 #define SWIG_AsInt SWIG_AsLong
487 SWIGSTATICINLINE(int)
488 SWIG_CheckInt(PyObject
* obj
)
491 if (PyErr_Occurred()) {
500 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
506 } else if (target
== Py_None
) {
510 if (!PyTuple_Check(target
)) {
512 target
= PyTuple_New(1);
513 PyTuple_SetItem(target
, 0, o2
);
516 PyTuple_SetItem(o3
, 0, o
);
519 target
= PySequence_Concat(o2
, o3
);
526 PyObject
*wxPen_GetDashes(wxPen
*self
){
528 int count
= self
->GetDashes(&dashes
);
529 bool blocked
= wxPyBeginBlockThreads();
530 PyObject
* retval
= PyList_New(0);
531 for (int x
=0; x
<count
; x
++)
532 PyList_Append(retval
, PyInt_FromLong(dashes
[x
]));
533 wxPyEndBlockThreads(blocked
);
536 bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : False
; }
537 bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : True
; }
545 void wxPyPen::SetDashes(int nb_dashes
, const wxDash
*dash
)
549 m_dash
= new wxDash
[nb_dashes
];
550 for (int i
=0; i
<nb_dashes
; i
++) {
553 wxPen::SetDashes(nb_dashes
, m_dash
);
557 #include <wx/image.h>
559 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
560 char** cArray
= NULL
;
563 if (!PyList_Check(listOfStrings
)) {
564 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
567 count
= PyList_Size(listOfStrings
);
568 cArray
= new char*[count
];
570 for(int x
=0; x
<count
; x
++) {
571 // TODO: Need some validation and error checking here
572 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
578 wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
579 char** cArray
= NULL
;
582 cArray
= ConvertListOfStrings(listOfStrings
);
585 bmp
= new wxBitmap(cArray
);
589 wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
){
592 PyString_AsStringAndSize(bits
, &buf
, &length
);
593 return new wxBitmap(buf
, width
, height
, depth
);
596 SWIGSTATICINLINE(int)
597 SWIG_CheckLong(PyObject
* obj
)
600 if (PyErr_Occurred()) {
608 void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
609 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
610 wxMask
*mask
= new wxMask(*self
, colour
);
613 bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : False
; }
614 bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : True
; }
615 wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
){
617 return new wxMask(bitmap
, *wxBLACK
);
619 return new wxMask(bitmap
, colour
);
622 #include <wx/iconbndl.h>
624 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
625 wxIcon
* icon
= new wxIcon();
626 icon
->CopyFromBitmap(bmp
);
629 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
630 char** cArray
= NULL
;
633 cArray
= ConvertListOfStrings(listOfStrings
);
636 icon
= new wxIcon(cArray
);
640 void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
641 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
643 return new wxIconLocation(*filename
, num
);
648 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
655 int wxIconLocation_GetIndex(wxIconLocation
*self
){
657 return self
->GetIndex();
662 wxCursor
*new_wxCursor(wxString
const *cursorName
,long type
,int hotSpotX
,int hotSpotY
){
664 wxCHECK_MSG(False
, NULL
,
665 wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
667 return new wxCursor(*cursorName
, type
, hotSpotX
, hotSpotY
);
670 void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
673 void wxRegionIterator_Next(wxRegionIterator
*self
){
676 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
677 return self
->operator bool();
680 #include <wx/fontutil.h>
681 #include <wx/fontmap.h>
682 #include <wx/fontenum.h>
684 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
685 return self
->ToString();
688 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
689 { wxPyRaiseNotImplemented(); return NULL
; }
691 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
692 { wxPyRaiseNotImplemented(); return False
; }
694 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
695 wxFontEncoding alt_enc
;
696 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
697 return PyInt_FromLong(alt_enc
);
703 wxFont
*new_wxFont(wxString
const &info
){
704 wxNativeFontInfo nfi
;
705 nfi
.FromString(info
);
706 return new wxFont(nfi
);
708 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
709 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
711 bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : False
; }
712 bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : True
; }
714 class wxPyFontEnumerator
: public wxFontEnumerator
{
716 wxPyFontEnumerator() {}
717 ~wxPyFontEnumerator() {}
719 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
720 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
725 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
726 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
729 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
730 wxArrayString
* arr
= self
->GetEncodings();
731 return wxArrayString2PyList_helper(*arr
);
733 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
734 wxArrayString
* arr
= self
->GetFacenames();
735 return wxArrayString2PyList_helper(*arr
);
740 #include "wx/wxPython/pydrawxxx.h"
742 wxColour
wxDC_GetPixelXY(wxDC
*self
,int x
,int y
){
744 self
->GetPixel(x
, y
, &col
);
747 wxColour
wxDC_GetPixel(wxDC
*self
,wxPoint
const &pt
){
749 self
->GetPixel(pt
, &col
);
753 SWIGSTATICINLINE(double)
754 SWIG_AsDouble(PyObject
*obj
)
756 double val
= (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
758 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
760 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
762 if (PyErr_Occurred()) {
764 PyErr_SetString(PyExc_TypeError
, "a double is expected");
770 SWIGSTATICINLINE(int)
771 SWIG_CheckDouble(PyObject
* obj
)
774 if (PyErr_Occurred()) {
782 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
784 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
787 wxRect
wxDC_GetClippingRect(wxDC
*self
){
789 self
->GetClippingBox(rect
);
792 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
794 self
->GetPartialTextExtents(text
, widths
);
797 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
798 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
800 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
801 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
803 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
804 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
806 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
807 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
809 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
810 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
812 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
813 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
816 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
824 //-=-=-=-=-=-=-=-=-=-=-
827 // Use the standard wxBufferedDC
828 #include <wx/dcbuffer.h>
832 // Or, temporarily put a set of classes here similar to the old buffered DC
833 // classes until the real ones can be fixed to work "correctly" again.
835 class wxBufferedDC
: public wxMemoryDC
843 wxBufferedDC() : m_dc( 0 ) {}
845 wxBufferedDC( wxDC
*dc
, const wxBitmap
&buffer
)
846 : m_dc( dc
), m_buffer( buffer
)
848 SelectObject( m_buffer
);
851 wxBufferedDC( wxDC
*dc
, const wxSize
&area
)
852 : m_dc( dc
), m_buffer( area
.GetWidth(), area
.GetHeight() )
854 SelectObject( m_buffer
);
863 void Init( wxDC
*dc
, const wxBitmap
&buffer
) {
864 wxASSERT_MSG( m_dc
== 0 && m_buffer
== wxNullBitmap
,
865 _T("wxBufferedDC already initialised") );
868 SelectObject( m_buffer
);
871 void Init( wxDC
*dc
, const wxSize
&area
) {
872 wxASSERT_MSG( m_dc
== 0 && m_buffer
== wxNullBitmap
,
873 _T("wxBufferedDC already initialised") );
875 m_buffer
= wxBitmap( area
.GetWidth(), area
.GetHeight() );
876 SelectObject( m_buffer
);
880 wxASSERT_MSG( m_dc
!= 0, _T("No low level DC associated with buffer (anymore)") );
881 m_dc
->Blit( 0, 0, m_buffer
.GetWidth(), m_buffer
.GetHeight(), this, 0, 0 );
887 class wxBufferedPaintDC
: public wxBufferedDC
893 wxBufferedPaintDC( wxWindow
*window
, const wxBitmap
&buffer
= wxNullBitmap
)
894 : m_paintdc( window
)
896 window
->PrepareDC( m_paintdc
);
898 if( buffer
!= wxNullBitmap
)
899 Init( &m_paintdc
, buffer
);
901 Init( &m_paintdc
, window
->GetClientSize() );
904 ~wxBufferedPaintDC() {
910 //-=-=-=-=-=-=-=-=-=-=-
916 #include <wx/metafile.h>
920 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
921 self
->AddColour(name
, wxColour(red
, green
, blue
));
924 #include <wx/effects.h>
929 static PyObject
*_wrap_new_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
939 result
= (wxGDIObject
*)new wxGDIObject();
941 wxPyEndAllowThreads(__tstate
);
942 if (PyErr_Occurred()) SWIG_fail
;
944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
951 static PyObject
*_wrap_delete_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
953 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
954 PyObject
* obj0
= 0 ;
956 (char *) "self", NULL
959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
966 wxPyEndAllowThreads(__tstate
);
967 if (PyErr_Occurred()) SWIG_fail
;
969 Py_INCREF(Py_None
); resultobj
= Py_None
;
976 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
978 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
980 PyObject
* obj0
= 0 ;
982 (char *) "self", NULL
985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
990 result
= (bool)(arg1
)->GetVisible();
992 wxPyEndAllowThreads(__tstate
);
993 if (PyErr_Occurred()) SWIG_fail
;
996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1004 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1005 PyObject
*resultobj
;
1006 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1008 PyObject
* obj0
= 0 ;
1009 PyObject
* obj1
= 0 ;
1011 (char *) "self",(char *) "visible", NULL
1014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
1015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1017 arg2
= (bool) SWIG_AsBool(obj1
);
1018 if (PyErr_Occurred()) SWIG_fail
;
1020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1021 (arg1
)->SetVisible(arg2
);
1023 wxPyEndAllowThreads(__tstate
);
1024 if (PyErr_Occurred()) SWIG_fail
;
1026 Py_INCREF(Py_None
); resultobj
= Py_None
;
1033 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1034 PyObject
*resultobj
;
1035 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1037 PyObject
* obj0
= 0 ;
1039 (char *) "self", NULL
1042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
1043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1047 result
= (bool)(arg1
)->IsNull();
1049 wxPyEndAllowThreads(__tstate
);
1050 if (PyErr_Occurred()) SWIG_fail
;
1053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1061 static PyObject
* GDIObject_swigregister(PyObject
*self
, PyObject
*args
) {
1063 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1064 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
1066 return Py_BuildValue((char *)"");
1068 static PyObject
*_wrap_new_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1069 PyObject
*resultobj
;
1070 unsigned char arg1
= (unsigned char) 0 ;
1071 unsigned char arg2
= (unsigned char) 0 ;
1072 unsigned char arg3
= (unsigned char) 0 ;
1074 PyObject
* obj0
= 0 ;
1075 PyObject
* obj1
= 0 ;
1076 PyObject
* obj2
= 0 ;
1078 (char *) "red",(char *) "green",(char *) "blue", NULL
1081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1083 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
1084 if (PyErr_Occurred()) SWIG_fail
;
1087 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
1088 if (PyErr_Occurred()) SWIG_fail
;
1091 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
1092 if (PyErr_Occurred()) SWIG_fail
;
1095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1096 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
1098 wxPyEndAllowThreads(__tstate
);
1099 if (PyErr_Occurred()) SWIG_fail
;
1101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1108 static PyObject
*_wrap_new_NamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1109 PyObject
*resultobj
;
1110 wxString
*arg1
= 0 ;
1112 bool temp1
= False
;
1113 PyObject
* obj0
= 0 ;
1115 (char *) "colorName", NULL
1118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
1120 arg1
= wxString_in_helper(obj0
);
1121 if (arg1
== NULL
) SWIG_fail
;
1125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1126 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1128 wxPyEndAllowThreads(__tstate
);
1129 if (PyErr_Occurred()) SWIG_fail
;
1131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1146 static PyObject
*_wrap_new_ColourRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1147 PyObject
*resultobj
;
1148 unsigned long arg1
;
1150 PyObject
* obj0
= 0 ;
1152 (char *) "colRGB", NULL
1155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1156 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
1157 if (PyErr_Occurred()) SWIG_fail
;
1159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1160 result
= (wxColour
*)new wxColour(arg1
);
1162 wxPyEndAllowThreads(__tstate
);
1163 if (PyErr_Occurred()) SWIG_fail
;
1165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1172 static PyObject
*_wrap_delete_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1173 PyObject
*resultobj
;
1174 wxColour
*arg1
= (wxColour
*) 0 ;
1175 PyObject
* obj0
= 0 ;
1177 (char *) "self", NULL
1180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
1181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1187 wxPyEndAllowThreads(__tstate
);
1188 if (PyErr_Occurred()) SWIG_fail
;
1190 Py_INCREF(Py_None
); resultobj
= Py_None
;
1197 static PyObject
*_wrap_Colour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1198 PyObject
*resultobj
;
1199 wxColour
*arg1
= (wxColour
*) 0 ;
1200 unsigned char result
;
1201 PyObject
* obj0
= 0 ;
1203 (char *) "self", NULL
1206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1211 result
= (unsigned char)(arg1
)->Red();
1213 wxPyEndAllowThreads(__tstate
);
1214 if (PyErr_Occurred()) SWIG_fail
;
1216 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1223 static PyObject
*_wrap_Colour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1224 PyObject
*resultobj
;
1225 wxColour
*arg1
= (wxColour
*) 0 ;
1226 unsigned char result
;
1227 PyObject
* obj0
= 0 ;
1229 (char *) "self", NULL
1232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1237 result
= (unsigned char)(arg1
)->Green();
1239 wxPyEndAllowThreads(__tstate
);
1240 if (PyErr_Occurred()) SWIG_fail
;
1242 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1249 static PyObject
*_wrap_Colour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1250 PyObject
*resultobj
;
1251 wxColour
*arg1
= (wxColour
*) 0 ;
1252 unsigned char result
;
1253 PyObject
* obj0
= 0 ;
1255 (char *) "self", NULL
1258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1263 result
= (unsigned char)(arg1
)->Blue();
1265 wxPyEndAllowThreads(__tstate
);
1266 if (PyErr_Occurred()) SWIG_fail
;
1268 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1275 static PyObject
*_wrap_Colour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1276 PyObject
*resultobj
;
1277 wxColour
*arg1
= (wxColour
*) 0 ;
1279 PyObject
* obj0
= 0 ;
1281 (char *) "self", NULL
1284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1289 result
= (bool)(arg1
)->Ok();
1291 wxPyEndAllowThreads(__tstate
);
1292 if (PyErr_Occurred()) SWIG_fail
;
1295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1303 static PyObject
*_wrap_Colour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1304 PyObject
*resultobj
;
1305 wxColour
*arg1
= (wxColour
*) 0 ;
1306 unsigned char arg2
;
1307 unsigned char arg3
;
1308 unsigned char arg4
;
1309 PyObject
* obj0
= 0 ;
1310 PyObject
* obj1
= 0 ;
1311 PyObject
* obj2
= 0 ;
1312 PyObject
* obj3
= 0 ;
1314 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1320 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
1321 if (PyErr_Occurred()) SWIG_fail
;
1322 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
1323 if (PyErr_Occurred()) SWIG_fail
;
1324 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
1325 if (PyErr_Occurred()) SWIG_fail
;
1327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1328 (arg1
)->Set(arg2
,arg3
,arg4
);
1330 wxPyEndAllowThreads(__tstate
);
1331 if (PyErr_Occurred()) SWIG_fail
;
1333 Py_INCREF(Py_None
); resultobj
= Py_None
;
1340 static PyObject
*_wrap_Colour_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1341 PyObject
*resultobj
;
1342 wxColour
*arg1
= (wxColour
*) 0 ;
1343 unsigned long arg2
;
1344 PyObject
* obj0
= 0 ;
1345 PyObject
* obj1
= 0 ;
1347 (char *) "self",(char *) "colRGB", NULL
1350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1353 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
1354 if (PyErr_Occurred()) SWIG_fail
;
1356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1359 wxPyEndAllowThreads(__tstate
);
1360 if (PyErr_Occurred()) SWIG_fail
;
1362 Py_INCREF(Py_None
); resultobj
= Py_None
;
1369 static PyObject
*_wrap_Colour_SetFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1370 PyObject
*resultobj
;
1371 wxColour
*arg1
= (wxColour
*) 0 ;
1372 wxString
*arg2
= 0 ;
1373 bool temp2
= False
;
1374 PyObject
* obj0
= 0 ;
1375 PyObject
* obj1
= 0 ;
1377 (char *) "self",(char *) "colourName", NULL
1380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1384 arg2
= wxString_in_helper(obj1
);
1385 if (arg2
== NULL
) SWIG_fail
;
1389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1390 (arg1
)->InitFromName((wxString
const &)*arg2
);
1392 wxPyEndAllowThreads(__tstate
);
1393 if (PyErr_Occurred()) SWIG_fail
;
1395 Py_INCREF(Py_None
); resultobj
= Py_None
;
1410 static PyObject
*_wrap_Colour_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1411 PyObject
*resultobj
;
1412 wxColour
*arg1
= (wxColour
*) 0 ;
1414 PyObject
* obj0
= 0 ;
1416 (char *) "self", NULL
1419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1424 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1426 wxPyEndAllowThreads(__tstate
);
1427 if (PyErr_Occurred()) SWIG_fail
;
1429 resultobj
= SWIG_FromLong((long)result
);
1436 static PyObject
*_wrap_Colour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1437 PyObject
*resultobj
;
1438 wxColour
*arg1
= (wxColour
*) 0 ;
1439 wxColour
*arg2
= 0 ;
1442 PyObject
* obj0
= 0 ;
1443 PyObject
* obj1
= 0 ;
1445 (char *) "self",(char *) "colour", NULL
1448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1453 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1457 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1459 wxPyEndAllowThreads(__tstate
);
1460 if (PyErr_Occurred()) SWIG_fail
;
1463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1471 static PyObject
*_wrap_Colour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1472 PyObject
*resultobj
;
1473 wxColour
*arg1
= (wxColour
*) 0 ;
1474 wxColour
*arg2
= 0 ;
1477 PyObject
* obj0
= 0 ;
1478 PyObject
* obj1
= 0 ;
1480 (char *) "self",(char *) "colour", NULL
1483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1488 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1492 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1494 wxPyEndAllowThreads(__tstate
);
1495 if (PyErr_Occurred()) SWIG_fail
;
1498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1506 static PyObject
*_wrap_Colour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1507 PyObject
*resultobj
;
1508 wxColour
*arg1
= (wxColour
*) 0 ;
1510 PyObject
* obj0
= 0 ;
1512 (char *) "self", NULL
1515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1520 result
= (PyObject
*)wxColour_Get(arg1
);
1522 wxPyEndAllowThreads(__tstate
);
1523 if (PyErr_Occurred()) SWIG_fail
;
1532 static PyObject
*_wrap_Colour_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1533 PyObject
*resultobj
;
1534 wxColour
*arg1
= (wxColour
*) 0 ;
1535 unsigned long result
;
1536 PyObject
* obj0
= 0 ;
1538 (char *) "self", NULL
1541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
1542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1546 result
= (unsigned long)wxColour_GetRGB(arg1
);
1548 wxPyEndAllowThreads(__tstate
);
1549 if (PyErr_Occurred()) SWIG_fail
;
1551 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
1558 static PyObject
* Colour_swigregister(PyObject
*self
, PyObject
*args
) {
1560 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1561 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1563 return Py_BuildValue((char *)"");
1565 static PyObject
*_wrap_new_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1566 PyObject
*resultobj
;
1568 unsigned char *arg2
= (unsigned char *) 0 ;
1569 unsigned char *arg3
= (unsigned char *) 0 ;
1570 unsigned char *arg4
= (unsigned char *) 0 ;
1572 PyObject
* obj0
= 0 ;
1573 PyObject
* obj1
= 0 ;
1574 PyObject
* obj2
= 0 ;
1575 PyObject
* obj3
= 0 ;
1577 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1581 arg1
= (int) SWIG_AsInt(obj0
);
1582 if (PyErr_Occurred()) SWIG_fail
;
1583 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
,
1584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1585 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
1586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1587 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
1588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1591 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1593 wxPyEndAllowThreads(__tstate
);
1594 if (PyErr_Occurred()) SWIG_fail
;
1596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
1603 static PyObject
*_wrap_delete_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1604 PyObject
*resultobj
;
1605 wxPalette
*arg1
= (wxPalette
*) 0 ;
1606 PyObject
* obj0
= 0 ;
1608 (char *) "self", NULL
1611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1618 wxPyEndAllowThreads(__tstate
);
1619 if (PyErr_Occurred()) SWIG_fail
;
1621 Py_INCREF(Py_None
); resultobj
= Py_None
;
1628 static PyObject
*_wrap_Palette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1629 PyObject
*resultobj
;
1630 wxPalette
*arg1
= (wxPalette
*) 0 ;
1635 PyObject
* obj0
= 0 ;
1636 PyObject
* obj1
= 0 ;
1637 PyObject
* obj2
= 0 ;
1638 PyObject
* obj3
= 0 ;
1640 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1646 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1647 if (PyErr_Occurred()) SWIG_fail
;
1648 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1649 if (PyErr_Occurred()) SWIG_fail
;
1650 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1651 if (PyErr_Occurred()) SWIG_fail
;
1653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1654 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1656 wxPyEndAllowThreads(__tstate
);
1657 if (PyErr_Occurred()) SWIG_fail
;
1659 resultobj
= SWIG_FromInt((int)result
);
1666 static PyObject
*_wrap_Palette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1667 PyObject
*resultobj
;
1668 wxPalette
*arg1
= (wxPalette
*) 0 ;
1670 byte
*arg3
= (byte
*) 0 ;
1671 byte
*arg4
= (byte
*) 0 ;
1672 byte
*arg5
= (byte
*) 0 ;
1677 PyObject
* obj0
= 0 ;
1678 PyObject
* obj1
= 0 ;
1680 (char *) "self",(char *) "pixel", NULL
1686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1689 arg2
= (int) SWIG_AsInt(obj1
);
1690 if (PyErr_Occurred()) SWIG_fail
;
1692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1693 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1695 wxPyEndAllowThreads(__tstate
);
1696 if (PyErr_Occurred()) SWIG_fail
;
1699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1702 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1703 resultobj
= t_output_helper(resultobj
,o
);
1706 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1707 resultobj
= t_output_helper(resultobj
,o
);
1710 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1711 resultobj
= t_output_helper(resultobj
,o
);
1719 static PyObject
*_wrap_Palette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1720 PyObject
*resultobj
;
1721 wxPalette
*arg1
= (wxPalette
*) 0 ;
1723 PyObject
* obj0
= 0 ;
1725 (char *) "self", NULL
1728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1733 result
= (bool)(arg1
)->Ok();
1735 wxPyEndAllowThreads(__tstate
);
1736 if (PyErr_Occurred()) SWIG_fail
;
1739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1747 static PyObject
* Palette_swigregister(PyObject
*self
, PyObject
*args
) {
1749 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1750 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1752 return Py_BuildValue((char *)"");
1754 static PyObject
*_wrap_new_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1755 PyObject
*resultobj
;
1756 wxColour
*arg1
= 0 ;
1757 int arg2
= (int) 1 ;
1758 int arg3
= (int) wxSOLID
;
1761 PyObject
* obj0
= 0 ;
1762 PyObject
* obj1
= 0 ;
1763 PyObject
* obj2
= 0 ;
1765 (char *) "colour",(char *) "width",(char *) "style", NULL
1768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1771 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1774 arg2
= (int) SWIG_AsInt(obj1
);
1775 if (PyErr_Occurred()) SWIG_fail
;
1778 arg3
= (int) SWIG_AsInt(obj2
);
1779 if (PyErr_Occurred()) SWIG_fail
;
1782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1783 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1785 wxPyEndAllowThreads(__tstate
);
1786 if (PyErr_Occurred()) SWIG_fail
;
1788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1795 static PyObject
*_wrap_delete_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1796 PyObject
*resultobj
;
1797 wxPen
*arg1
= (wxPen
*) 0 ;
1798 PyObject
* obj0
= 0 ;
1800 (char *) "self", NULL
1803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1810 wxPyEndAllowThreads(__tstate
);
1811 if (PyErr_Occurred()) SWIG_fail
;
1813 Py_INCREF(Py_None
); resultobj
= Py_None
;
1820 static PyObject
*_wrap_Pen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1821 PyObject
*resultobj
;
1822 wxPen
*arg1
= (wxPen
*) 0 ;
1824 PyObject
* obj0
= 0 ;
1826 (char *) "self", NULL
1829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1834 result
= (int)(arg1
)->GetCap();
1836 wxPyEndAllowThreads(__tstate
);
1837 if (PyErr_Occurred()) SWIG_fail
;
1839 resultobj
= SWIG_FromInt((int)result
);
1846 static PyObject
*_wrap_Pen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1847 PyObject
*resultobj
;
1848 wxPen
*arg1
= (wxPen
*) 0 ;
1850 PyObject
* obj0
= 0 ;
1852 (char *) "self", NULL
1855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1860 result
= (arg1
)->GetColour();
1862 wxPyEndAllowThreads(__tstate
);
1863 if (PyErr_Occurred()) SWIG_fail
;
1866 wxColour
* resultptr
;
1867 resultptr
= new wxColour((wxColour
&) result
);
1868 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1876 static PyObject
*_wrap_Pen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1877 PyObject
*resultobj
;
1878 wxPen
*arg1
= (wxPen
*) 0 ;
1880 PyObject
* obj0
= 0 ;
1882 (char *) "self", NULL
1885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1890 result
= (int)(arg1
)->GetJoin();
1892 wxPyEndAllowThreads(__tstate
);
1893 if (PyErr_Occurred()) SWIG_fail
;
1895 resultobj
= SWIG_FromInt((int)result
);
1902 static PyObject
*_wrap_Pen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1903 PyObject
*resultobj
;
1904 wxPen
*arg1
= (wxPen
*) 0 ;
1906 PyObject
* obj0
= 0 ;
1908 (char *) "self", NULL
1911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1916 result
= (int)(arg1
)->GetStyle();
1918 wxPyEndAllowThreads(__tstate
);
1919 if (PyErr_Occurred()) SWIG_fail
;
1921 resultobj
= SWIG_FromInt((int)result
);
1928 static PyObject
*_wrap_Pen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1929 PyObject
*resultobj
;
1930 wxPen
*arg1
= (wxPen
*) 0 ;
1932 PyObject
* obj0
= 0 ;
1934 (char *) "self", NULL
1937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
1938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1942 result
= (int)(arg1
)->GetWidth();
1944 wxPyEndAllowThreads(__tstate
);
1945 if (PyErr_Occurred()) SWIG_fail
;
1947 resultobj
= SWIG_FromInt((int)result
);
1954 static PyObject
*_wrap_Pen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1955 PyObject
*resultobj
;
1956 wxPen
*arg1
= (wxPen
*) 0 ;
1958 PyObject
* obj0
= 0 ;
1960 (char *) "self", NULL
1963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
1964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1968 result
= (bool)(arg1
)->Ok();
1970 wxPyEndAllowThreads(__tstate
);
1971 if (PyErr_Occurred()) SWIG_fail
;
1974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1982 static PyObject
*_wrap_Pen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1983 PyObject
*resultobj
;
1984 wxPen
*arg1
= (wxPen
*) 0 ;
1986 PyObject
* obj0
= 0 ;
1987 PyObject
* obj1
= 0 ;
1989 (char *) "self",(char *) "cap_style", NULL
1992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
1993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1995 arg2
= (int) SWIG_AsInt(obj1
);
1996 if (PyErr_Occurred()) SWIG_fail
;
1998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1999 (arg1
)->SetCap(arg2
);
2001 wxPyEndAllowThreads(__tstate
);
2002 if (PyErr_Occurred()) SWIG_fail
;
2004 Py_INCREF(Py_None
); resultobj
= Py_None
;
2011 static PyObject
*_wrap_Pen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2012 PyObject
*resultobj
;
2013 wxPen
*arg1
= (wxPen
*) 0 ;
2014 wxColour
*arg2
= 0 ;
2016 PyObject
* obj0
= 0 ;
2017 PyObject
* obj1
= 0 ;
2019 (char *) "self",(char *) "colour", NULL
2022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2027 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2031 (arg1
)->SetColour(*arg2
);
2033 wxPyEndAllowThreads(__tstate
);
2034 if (PyErr_Occurred()) SWIG_fail
;
2036 Py_INCREF(Py_None
); resultobj
= Py_None
;
2043 static PyObject
*_wrap_Pen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2044 PyObject
*resultobj
;
2045 wxPen
*arg1
= (wxPen
*) 0 ;
2047 PyObject
* obj0
= 0 ;
2048 PyObject
* obj1
= 0 ;
2050 (char *) "self",(char *) "join_style", NULL
2053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
2054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2056 arg2
= (int) SWIG_AsInt(obj1
);
2057 if (PyErr_Occurred()) SWIG_fail
;
2059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2060 (arg1
)->SetJoin(arg2
);
2062 wxPyEndAllowThreads(__tstate
);
2063 if (PyErr_Occurred()) SWIG_fail
;
2065 Py_INCREF(Py_None
); resultobj
= Py_None
;
2072 static PyObject
*_wrap_Pen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2073 PyObject
*resultobj
;
2074 wxPen
*arg1
= (wxPen
*) 0 ;
2076 PyObject
* obj0
= 0 ;
2077 PyObject
* obj1
= 0 ;
2079 (char *) "self",(char *) "style", NULL
2082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2085 arg2
= (int) SWIG_AsInt(obj1
);
2086 if (PyErr_Occurred()) SWIG_fail
;
2088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2089 (arg1
)->SetStyle(arg2
);
2091 wxPyEndAllowThreads(__tstate
);
2092 if (PyErr_Occurred()) SWIG_fail
;
2094 Py_INCREF(Py_None
); resultobj
= Py_None
;
2101 static PyObject
*_wrap_Pen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2102 PyObject
*resultobj
;
2103 wxPen
*arg1
= (wxPen
*) 0 ;
2105 PyObject
* obj0
= 0 ;
2106 PyObject
* obj1
= 0 ;
2108 (char *) "self",(char *) "width", NULL
2111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2114 arg2
= (int) SWIG_AsInt(obj1
);
2115 if (PyErr_Occurred()) SWIG_fail
;
2117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2118 (arg1
)->SetWidth(arg2
);
2120 wxPyEndAllowThreads(__tstate
);
2121 if (PyErr_Occurred()) SWIG_fail
;
2123 Py_INCREF(Py_None
); resultobj
= Py_None
;
2130 static PyObject
*_wrap_Pen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2131 PyObject
*resultobj
;
2132 wxPen
*arg1
= (wxPen
*) 0 ;
2134 wxDash
*arg3
= (wxDash
*) 0 ;
2135 PyObject
* obj0
= 0 ;
2136 PyObject
* obj1
= 0 ;
2138 (char *) "self",(char *) "dashes", NULL
2141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2145 arg2
= PyList_Size(obj1
);
2146 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2147 if (arg3
== NULL
) SWIG_fail
;
2150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2151 (arg1
)->SetDashes(arg2
,arg3
);
2153 wxPyEndAllowThreads(__tstate
);
2154 if (PyErr_Occurred()) SWIG_fail
;
2156 Py_INCREF(Py_None
); resultobj
= Py_None
;
2158 if (arg3
) delete [] arg3
;
2163 if (arg3
) delete [] arg3
;
2169 static PyObject
*_wrap_Pen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2170 PyObject
*resultobj
;
2171 wxPen
*arg1
= (wxPen
*) 0 ;
2173 PyObject
* obj0
= 0 ;
2175 (char *) "self", NULL
2178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2183 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2185 wxPyEndAllowThreads(__tstate
);
2186 if (PyErr_Occurred()) SWIG_fail
;
2195 static PyObject
*_wrap_Pen___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2196 PyObject
*resultobj
;
2197 wxPen
*arg1
= (wxPen
*) 0 ;
2198 wxPen
*arg2
= (wxPen
*) 0 ;
2200 PyObject
* obj0
= 0 ;
2201 PyObject
* obj1
= 0 ;
2203 (char *) "self",(char *) "other", NULL
2206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2209 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2213 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2215 wxPyEndAllowThreads(__tstate
);
2216 if (PyErr_Occurred()) SWIG_fail
;
2219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2227 static PyObject
*_wrap_Pen___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2228 PyObject
*resultobj
;
2229 wxPen
*arg1
= (wxPen
*) 0 ;
2230 wxPen
*arg2
= (wxPen
*) 0 ;
2232 PyObject
* obj0
= 0 ;
2233 PyObject
* obj1
= 0 ;
2235 (char *) "self",(char *) "other", NULL
2238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2241 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2245 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2247 wxPyEndAllowThreads(__tstate
);
2248 if (PyErr_Occurred()) SWIG_fail
;
2251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2259 static PyObject
*_wrap_Pen_GetDashCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2260 PyObject
*resultobj
;
2261 wxPen
*arg1
= (wxPen
*) 0 ;
2263 PyObject
* obj0
= 0 ;
2265 (char *) "self", NULL
2268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
;
2269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2273 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
2275 wxPyEndAllowThreads(__tstate
);
2276 if (PyErr_Occurred()) SWIG_fail
;
2278 resultobj
= SWIG_FromInt((int)result
);
2285 static PyObject
*_wrap_Pen_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2286 PyObject
*resultobj
;
2287 wxPen
*arg1
= (wxPen
*) 0 ;
2289 PyObject
* obj0
= 0 ;
2291 (char *) "self", NULL
2294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStipple",kwnames
,&obj0
)) goto fail
;
2295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2299 result
= (wxBitmap
*)(arg1
)->GetStipple();
2301 wxPyEndAllowThreads(__tstate
);
2302 if (PyErr_Occurred()) SWIG_fail
;
2304 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2311 static PyObject
*_wrap_Pen_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2312 PyObject
*resultobj
;
2313 wxPen
*arg1
= (wxPen
*) 0 ;
2314 wxBitmap
*arg2
= 0 ;
2315 PyObject
* obj0
= 0 ;
2316 PyObject
* obj1
= 0 ;
2318 (char *) "self",(char *) "stipple", NULL
2321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2324 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2325 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2328 PyErr_SetString(PyExc_TypeError
,"null reference");
2332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2333 (arg1
)->SetStipple(*arg2
);
2335 wxPyEndAllowThreads(__tstate
);
2336 if (PyErr_Occurred()) SWIG_fail
;
2338 Py_INCREF(Py_None
); resultobj
= Py_None
;
2345 static PyObject
* Pen_swigregister(PyObject
*self
, PyObject
*args
) {
2347 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2348 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2350 return Py_BuildValue((char *)"");
2352 static PyObject
*_wrap_new_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2353 PyObject
*resultobj
;
2354 wxColour
*arg1
= 0 ;
2355 int arg2
= (int) 1 ;
2356 int arg3
= (int) wxSOLID
;
2359 PyObject
* obj0
= 0 ;
2360 PyObject
* obj1
= 0 ;
2361 PyObject
* obj2
= 0 ;
2363 (char *) "colour",(char *) "width",(char *) "style", NULL
2366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_PyPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2369 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2372 arg2
= (int) SWIG_AsInt(obj1
);
2373 if (PyErr_Occurred()) SWIG_fail
;
2376 arg3
= (int) SWIG_AsInt(obj2
);
2377 if (PyErr_Occurred()) SWIG_fail
;
2380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2381 result
= (wxPyPen
*)new wxPyPen(*arg1
,arg2
,arg3
);
2383 wxPyEndAllowThreads(__tstate
);
2384 if (PyErr_Occurred()) SWIG_fail
;
2386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPen
, 1);
2393 static PyObject
*_wrap_delete_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2394 PyObject
*resultobj
;
2395 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
2396 PyObject
* obj0
= 0 ;
2398 (char *) "self", NULL
2401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyPen",kwnames
,&obj0
)) goto fail
;
2402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPen
,
2403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2408 wxPyEndAllowThreads(__tstate
);
2409 if (PyErr_Occurred()) SWIG_fail
;
2411 Py_INCREF(Py_None
); resultobj
= Py_None
;
2418 static PyObject
*_wrap_PyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2419 PyObject
*resultobj
;
2420 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
2422 wxDash
*arg3
= (wxDash
*) 0 ;
2423 PyObject
* obj0
= 0 ;
2424 PyObject
* obj1
= 0 ;
2426 (char *) "self",(char *) "dashes", NULL
2429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPen
,
2431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2433 arg2
= PyList_Size(obj1
);
2434 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2435 if (arg3
== NULL
) SWIG_fail
;
2438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2439 (arg1
)->SetDashes(arg2
,arg3
);
2441 wxPyEndAllowThreads(__tstate
);
2442 if (PyErr_Occurred()) SWIG_fail
;
2444 Py_INCREF(Py_None
); resultobj
= Py_None
;
2446 if (arg3
) delete [] arg3
;
2451 if (arg3
) delete [] arg3
;
2457 static PyObject
* PyPen_swigregister(PyObject
*self
, PyObject
*args
) {
2459 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2460 SWIG_TypeClientData(SWIGTYPE_p_wxPyPen
, obj
);
2462 return Py_BuildValue((char *)"");
2464 static PyObject
*_wrap_new_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2465 PyObject
*resultobj
;
2466 wxColour
*arg1
= 0 ;
2467 int arg2
= (int) wxSOLID
;
2470 PyObject
* obj0
= 0 ;
2471 PyObject
* obj1
= 0 ;
2473 (char *) "colour",(char *) "style", NULL
2476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2479 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2482 arg2
= (int) SWIG_AsInt(obj1
);
2483 if (PyErr_Occurred()) SWIG_fail
;
2486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2487 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2489 wxPyEndAllowThreads(__tstate
);
2490 if (PyErr_Occurred()) SWIG_fail
;
2492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2499 static PyObject
*_wrap_delete_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2500 PyObject
*resultobj
;
2501 wxBrush
*arg1
= (wxBrush
*) 0 ;
2502 PyObject
* obj0
= 0 ;
2504 (char *) "self", NULL
2507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2514 wxPyEndAllowThreads(__tstate
);
2515 if (PyErr_Occurred()) SWIG_fail
;
2517 Py_INCREF(Py_None
); resultobj
= Py_None
;
2524 static PyObject
*_wrap_Brush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2525 PyObject
*resultobj
;
2526 wxBrush
*arg1
= (wxBrush
*) 0 ;
2527 wxColour
*arg2
= 0 ;
2529 PyObject
* obj0
= 0 ;
2530 PyObject
* obj1
= 0 ;
2532 (char *) "self",(char *) "col", NULL
2535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2540 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2544 (arg1
)->SetColour((wxColour
const &)*arg2
);
2546 wxPyEndAllowThreads(__tstate
);
2547 if (PyErr_Occurred()) SWIG_fail
;
2549 Py_INCREF(Py_None
); resultobj
= Py_None
;
2556 static PyObject
*_wrap_Brush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2557 PyObject
*resultobj
;
2558 wxBrush
*arg1
= (wxBrush
*) 0 ;
2560 PyObject
* obj0
= 0 ;
2561 PyObject
* obj1
= 0 ;
2563 (char *) "self",(char *) "style", NULL
2566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2569 arg2
= (int) SWIG_AsInt(obj1
);
2570 if (PyErr_Occurred()) SWIG_fail
;
2572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2573 (arg1
)->SetStyle(arg2
);
2575 wxPyEndAllowThreads(__tstate
);
2576 if (PyErr_Occurred()) SWIG_fail
;
2578 Py_INCREF(Py_None
); resultobj
= Py_None
;
2585 static PyObject
*_wrap_Brush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2586 PyObject
*resultobj
;
2587 wxBrush
*arg1
= (wxBrush
*) 0 ;
2588 wxBitmap
*arg2
= 0 ;
2589 PyObject
* obj0
= 0 ;
2590 PyObject
* obj1
= 0 ;
2592 (char *) "self",(char *) "stipple", NULL
2595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2598 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2599 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2602 PyErr_SetString(PyExc_TypeError
,"null reference");
2606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2607 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2609 wxPyEndAllowThreads(__tstate
);
2610 if (PyErr_Occurred()) SWIG_fail
;
2612 Py_INCREF(Py_None
); resultobj
= Py_None
;
2619 static PyObject
*_wrap_Brush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2620 PyObject
*resultobj
;
2621 wxBrush
*arg1
= (wxBrush
*) 0 ;
2623 PyObject
* obj0
= 0 ;
2625 (char *) "self", NULL
2628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2633 result
= ((wxBrush
const *)arg1
)->GetColour();
2635 wxPyEndAllowThreads(__tstate
);
2636 if (PyErr_Occurred()) SWIG_fail
;
2639 wxColour
* resultptr
;
2640 resultptr
= new wxColour((wxColour
&) result
);
2641 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2649 static PyObject
*_wrap_Brush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2650 PyObject
*resultobj
;
2651 wxBrush
*arg1
= (wxBrush
*) 0 ;
2653 PyObject
* obj0
= 0 ;
2655 (char *) "self", NULL
2658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2663 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2665 wxPyEndAllowThreads(__tstate
);
2666 if (PyErr_Occurred()) SWIG_fail
;
2668 resultobj
= SWIG_FromInt((int)result
);
2675 static PyObject
*_wrap_Brush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2676 PyObject
*resultobj
;
2677 wxBrush
*arg1
= (wxBrush
*) 0 ;
2679 PyObject
* obj0
= 0 ;
2681 (char *) "self", NULL
2684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2689 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2691 wxPyEndAllowThreads(__tstate
);
2692 if (PyErr_Occurred()) SWIG_fail
;
2694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2701 static PyObject
*_wrap_Brush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2702 PyObject
*resultobj
;
2703 wxBrush
*arg1
= (wxBrush
*) 0 ;
2705 PyObject
* obj0
= 0 ;
2707 (char *) "self", NULL
2710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2715 result
= (bool)(arg1
)->Ok();
2717 wxPyEndAllowThreads(__tstate
);
2718 if (PyErr_Occurred()) SWIG_fail
;
2721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2729 static PyObject
* Brush_swigregister(PyObject
*self
, PyObject
*args
) {
2731 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2732 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2734 return Py_BuildValue((char *)"");
2736 static PyObject
*_wrap_new_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2737 PyObject
*resultobj
;
2738 wxString
*arg1
= 0 ;
2739 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2741 bool temp1
= False
;
2742 PyObject
* obj0
= 0 ;
2743 PyObject
* obj1
= 0 ;
2745 (char *) "name",(char *) "type", NULL
2748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2750 arg1
= wxString_in_helper(obj0
);
2751 if (arg1
== NULL
) SWIG_fail
;
2755 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
2756 if (PyErr_Occurred()) SWIG_fail
;
2759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2760 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2762 wxPyEndAllowThreads(__tstate
);
2763 if (PyErr_Occurred()) SWIG_fail
;
2765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2780 static PyObject
*_wrap_delete_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2781 PyObject
*resultobj
;
2782 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2783 PyObject
* obj0
= 0 ;
2785 (char *) "self", NULL
2788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2795 wxPyEndAllowThreads(__tstate
);
2796 if (PyErr_Occurred()) SWIG_fail
;
2798 Py_INCREF(Py_None
); resultobj
= Py_None
;
2805 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2806 PyObject
*resultobj
;
2809 int arg3
= (int) -1 ;
2811 PyObject
* obj0
= 0 ;
2812 PyObject
* obj1
= 0 ;
2813 PyObject
* obj2
= 0 ;
2815 (char *) "width",(char *) "height",(char *) "depth", NULL
2818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2819 arg1
= (int) SWIG_AsInt(obj0
);
2820 if (PyErr_Occurred()) SWIG_fail
;
2821 arg2
= (int) SWIG_AsInt(obj1
);
2822 if (PyErr_Occurred()) SWIG_fail
;
2824 arg3
= (int) SWIG_AsInt(obj2
);
2825 if (PyErr_Occurred()) SWIG_fail
;
2828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2829 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2831 wxPyEndAllowThreads(__tstate
);
2832 if (PyErr_Occurred()) SWIG_fail
;
2834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2841 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2842 PyObject
*resultobj
;
2845 PyObject
* obj0
= 0 ;
2847 (char *) "icon", NULL
2850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
2852 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2855 PyErr_SetString(PyExc_TypeError
,"null reference");
2859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2860 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2862 wxPyEndAllowThreads(__tstate
);
2863 if (PyErr_Occurred()) SWIG_fail
;
2865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2872 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2873 PyObject
*resultobj
;
2875 int arg2
= (int) -1 ;
2877 PyObject
* obj0
= 0 ;
2878 PyObject
* obj1
= 0 ;
2880 (char *) "image",(char *) "depth", NULL
2883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2885 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2888 PyErr_SetString(PyExc_TypeError
,"null reference");
2892 arg2
= (int) SWIG_AsInt(obj1
);
2893 if (PyErr_Occurred()) SWIG_fail
;
2896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2897 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2899 wxPyEndAllowThreads(__tstate
);
2900 if (PyErr_Occurred()) SWIG_fail
;
2902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2909 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2910 PyObject
*resultobj
;
2911 PyObject
*arg1
= (PyObject
*) 0 ;
2913 PyObject
* obj0
= 0 ;
2915 (char *) "listOfStrings", NULL
2918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2922 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2924 wxPyEndAllowThreads(__tstate
);
2925 if (PyErr_Occurred()) SWIG_fail
;
2927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2934 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2935 PyObject
*resultobj
;
2936 PyObject
*arg1
= (PyObject
*) 0 ;
2939 int arg4
= (int) 1 ;
2941 PyObject
* obj0
= 0 ;
2942 PyObject
* obj1
= 0 ;
2943 PyObject
* obj2
= 0 ;
2944 PyObject
* obj3
= 0 ;
2946 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2951 arg2
= (int) SWIG_AsInt(obj1
);
2952 if (PyErr_Occurred()) SWIG_fail
;
2953 arg3
= (int) SWIG_AsInt(obj2
);
2954 if (PyErr_Occurred()) SWIG_fail
;
2956 arg4
= (int) SWIG_AsInt(obj3
);
2957 if (PyErr_Occurred()) SWIG_fail
;
2960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2961 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2963 wxPyEndAllowThreads(__tstate
);
2964 if (PyErr_Occurred()) SWIG_fail
;
2966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2973 static PyObject
*_wrap_Bitmap_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2974 PyObject
*resultobj
;
2975 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2976 wxPalette
*arg2
= 0 ;
2977 PyObject
* obj0
= 0 ;
2978 PyObject
* obj1
= 0 ;
2980 (char *) "self",(char *) "palette", NULL
2983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
2984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2986 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
2987 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2990 PyErr_SetString(PyExc_TypeError
,"null reference");
2994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2995 (arg1
)->SetPalette(*arg2
);
2997 wxPyEndAllowThreads(__tstate
);
2998 if (PyErr_Occurred()) SWIG_fail
;
3000 Py_INCREF(Py_None
); resultobj
= Py_None
;
3007 static PyObject
*_wrap_Bitmap_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3008 PyObject
*resultobj
;
3009 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3011 PyObject
* obj0
= 0 ;
3013 (char *) "self", NULL
3016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHandle",kwnames
,&obj0
)) goto fail
;
3017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3021 result
= (long)(arg1
)->GetHandle();
3023 wxPyEndAllowThreads(__tstate
);
3024 if (PyErr_Occurred()) SWIG_fail
;
3026 resultobj
= SWIG_FromLong((long)result
);
3033 static PyObject
*_wrap_Bitmap_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3034 PyObject
*resultobj
;
3035 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3037 PyObject
* obj0
= 0 ;
3038 PyObject
* obj1
= 0 ;
3040 (char *) "self",(char *) "handle", NULL
3043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
3044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3046 arg2
= (long) SWIG_AsLong(obj1
);
3047 if (PyErr_Occurred()) SWIG_fail
;
3049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3050 wxBitmap_SetHandle(arg1
,arg2
);
3052 wxPyEndAllowThreads(__tstate
);
3053 if (PyErr_Occurred()) SWIG_fail
;
3055 Py_INCREF(Py_None
); resultobj
= Py_None
;
3062 static PyObject
*_wrap_Bitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3063 PyObject
*resultobj
;
3064 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3066 PyObject
* obj0
= 0 ;
3068 (char *) "self", NULL
3071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
3072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3076 result
= (bool)(arg1
)->Ok();
3078 wxPyEndAllowThreads(__tstate
);
3079 if (PyErr_Occurred()) SWIG_fail
;
3082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3090 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3091 PyObject
*resultobj
;
3092 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3094 PyObject
* obj0
= 0 ;
3096 (char *) "self", NULL
3099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
3100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3104 result
= (int)(arg1
)->GetWidth();
3106 wxPyEndAllowThreads(__tstate
);
3107 if (PyErr_Occurred()) SWIG_fail
;
3109 resultobj
= SWIG_FromInt((int)result
);
3116 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3117 PyObject
*resultobj
;
3118 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3120 PyObject
* obj0
= 0 ;
3122 (char *) "self", NULL
3125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
3126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3130 result
= (int)(arg1
)->GetHeight();
3132 wxPyEndAllowThreads(__tstate
);
3133 if (PyErr_Occurred()) SWIG_fail
;
3135 resultobj
= SWIG_FromInt((int)result
);
3142 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3143 PyObject
*resultobj
;
3144 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3146 PyObject
* obj0
= 0 ;
3148 (char *) "self", NULL
3151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
3152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3156 result
= (int)(arg1
)->GetDepth();
3158 wxPyEndAllowThreads(__tstate
);
3159 if (PyErr_Occurred()) SWIG_fail
;
3161 resultobj
= SWIG_FromInt((int)result
);
3168 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3169 PyObject
*resultobj
;
3170 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3171 SwigValueWrapper
< wxImage
> result
;
3172 PyObject
* obj0
= 0 ;
3174 (char *) "self", NULL
3177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
3178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3182 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
3184 wxPyEndAllowThreads(__tstate
);
3185 if (PyErr_Occurred()) SWIG_fail
;
3188 wxImage
* resultptr
;
3189 resultptr
= new wxImage((wxImage
&) result
);
3190 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
3198 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3199 PyObject
*resultobj
;
3200 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3202 PyObject
* obj0
= 0 ;
3204 (char *) "self", NULL
3207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
3208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3212 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
3214 wxPyEndAllowThreads(__tstate
);
3215 if (PyErr_Occurred()) SWIG_fail
;
3217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
3224 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3225 PyObject
*resultobj
;
3226 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3227 wxMask
*arg2
= (wxMask
*) 0 ;
3228 PyObject
* obj0
= 0 ;
3229 PyObject
* obj1
= 0 ;
3231 (char *) "self",(char *) "mask", NULL
3234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3237 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3241 (arg1
)->SetMask(arg2
);
3243 wxPyEndAllowThreads(__tstate
);
3244 if (PyErr_Occurred()) SWIG_fail
;
3246 Py_INCREF(Py_None
); resultobj
= Py_None
;
3253 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3254 PyObject
*resultobj
;
3255 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3256 wxColour
*arg2
= 0 ;
3258 PyObject
* obj0
= 0 ;
3259 PyObject
* obj1
= 0 ;
3261 (char *) "self",(char *) "colour", NULL
3264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3269 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3273 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3275 wxPyEndAllowThreads(__tstate
);
3276 if (PyErr_Occurred()) SWIG_fail
;
3278 Py_INCREF(Py_None
); resultobj
= Py_None
;
3285 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3286 PyObject
*resultobj
;
3287 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3289 SwigValueWrapper
< wxBitmap
> result
;
3291 PyObject
* obj0
= 0 ;
3292 PyObject
* obj1
= 0 ;
3294 (char *) "self",(char *) "rect", NULL
3297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3302 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3306 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3308 wxPyEndAllowThreads(__tstate
);
3309 if (PyErr_Occurred()) SWIG_fail
;
3312 wxBitmap
* resultptr
;
3313 resultptr
= new wxBitmap((wxBitmap
&) result
);
3314 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3322 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3323 PyObject
*resultobj
;
3324 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3325 wxString
*arg2
= 0 ;
3327 wxPalette
*arg4
= (wxPalette
*) (wxPalette
*) NULL
;
3329 bool temp2
= False
;
3330 PyObject
* obj0
= 0 ;
3331 PyObject
* obj1
= 0 ;
3332 PyObject
* obj2
= 0 ;
3333 PyObject
* obj3
= 0 ;
3335 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3342 arg2
= wxString_in_helper(obj1
);
3343 if (arg2
== NULL
) SWIG_fail
;
3346 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3347 if (PyErr_Occurred()) SWIG_fail
;
3349 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3354 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3356 wxPyEndAllowThreads(__tstate
);
3357 if (PyErr_Occurred()) SWIG_fail
;
3360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3376 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3377 PyObject
*resultobj
;
3378 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3379 wxString
*arg2
= 0 ;
3382 bool temp2
= False
;
3383 PyObject
* obj0
= 0 ;
3384 PyObject
* obj1
= 0 ;
3385 PyObject
* obj2
= 0 ;
3387 (char *) "self",(char *) "name",(char *) "type", NULL
3390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3394 arg2
= wxString_in_helper(obj1
);
3395 if (arg2
== NULL
) SWIG_fail
;
3398 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3399 if (PyErr_Occurred()) SWIG_fail
;
3401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3402 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3404 wxPyEndAllowThreads(__tstate
);
3405 if (PyErr_Occurred()) SWIG_fail
;
3408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3424 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3425 PyObject
*resultobj
;
3426 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3429 PyObject
* obj0
= 0 ;
3430 PyObject
* obj1
= 0 ;
3432 (char *) "self",(char *) "icon", NULL
3435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3438 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3439 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3442 PyErr_SetString(PyExc_TypeError
,"null reference");
3446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3447 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3449 wxPyEndAllowThreads(__tstate
);
3450 if (PyErr_Occurred()) SWIG_fail
;
3453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3461 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3462 PyObject
*resultobj
;
3463 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3465 PyObject
* obj0
= 0 ;
3466 PyObject
* obj1
= 0 ;
3468 (char *) "self",(char *) "height", NULL
3471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3474 arg2
= (int) SWIG_AsInt(obj1
);
3475 if (PyErr_Occurred()) SWIG_fail
;
3477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3478 (arg1
)->SetHeight(arg2
);
3480 wxPyEndAllowThreads(__tstate
);
3481 if (PyErr_Occurred()) SWIG_fail
;
3483 Py_INCREF(Py_None
); resultobj
= Py_None
;
3490 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3491 PyObject
*resultobj
;
3492 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3494 PyObject
* obj0
= 0 ;
3495 PyObject
* obj1
= 0 ;
3497 (char *) "self",(char *) "width", NULL
3500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3503 arg2
= (int) SWIG_AsInt(obj1
);
3504 if (PyErr_Occurred()) SWIG_fail
;
3506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3507 (arg1
)->SetWidth(arg2
);
3509 wxPyEndAllowThreads(__tstate
);
3510 if (PyErr_Occurred()) SWIG_fail
;
3512 Py_INCREF(Py_None
); resultobj
= Py_None
;
3519 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3520 PyObject
*resultobj
;
3521 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3523 PyObject
* obj0
= 0 ;
3524 PyObject
* obj1
= 0 ;
3526 (char *) "self",(char *) "depth", NULL
3529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3532 arg2
= (int) SWIG_AsInt(obj1
);
3533 if (PyErr_Occurred()) SWIG_fail
;
3535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3536 (arg1
)->SetDepth(arg2
);
3538 wxPyEndAllowThreads(__tstate
);
3539 if (PyErr_Occurred()) SWIG_fail
;
3541 Py_INCREF(Py_None
); resultobj
= Py_None
;
3548 static PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3549 PyObject
*resultobj
;
3550 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3551 wxCursor
*arg2
= 0 ;
3553 PyObject
* obj0
= 0 ;
3554 PyObject
* obj1
= 0 ;
3556 (char *) "self",(char *) "cursor", NULL
3559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
3560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3562 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
3563 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3566 PyErr_SetString(PyExc_TypeError
,"null reference");
3570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3571 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
3573 wxPyEndAllowThreads(__tstate
);
3574 if (PyErr_Occurred()) SWIG_fail
;
3577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3585 static PyObject
*_wrap_Bitmap_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3586 PyObject
*resultobj
;
3587 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3589 PyObject
* obj0
= 0 ;
3591 (char *) "self", NULL
3594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetQuality",kwnames
,&obj0
)) goto fail
;
3595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3599 result
= (int)(arg1
)->GetQuality();
3601 wxPyEndAllowThreads(__tstate
);
3602 if (PyErr_Occurred()) SWIG_fail
;
3604 resultobj
= SWIG_FromInt((int)result
);
3611 static PyObject
*_wrap_Bitmap_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3612 PyObject
*resultobj
;
3613 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3615 PyObject
* obj0
= 0 ;
3616 PyObject
* obj1
= 0 ;
3618 (char *) "self",(char *) "q", NULL
3621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
3622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3624 arg2
= (int) SWIG_AsInt(obj1
);
3625 if (PyErr_Occurred()) SWIG_fail
;
3627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3628 (arg1
)->SetQuality(arg2
);
3630 wxPyEndAllowThreads(__tstate
);
3631 if (PyErr_Occurred()) SWIG_fail
;
3633 Py_INCREF(Py_None
); resultobj
= Py_None
;
3640 static PyObject
*_wrap_Bitmap___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3641 PyObject
*resultobj
;
3642 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3643 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3645 PyObject
* obj0
= 0 ;
3646 PyObject
* obj1
= 0 ;
3648 (char *) "self",(char *) "other", NULL
3651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3654 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3658 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
3660 wxPyEndAllowThreads(__tstate
);
3661 if (PyErr_Occurred()) SWIG_fail
;
3664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3672 static PyObject
*_wrap_Bitmap___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3673 PyObject
*resultobj
;
3674 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3675 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3677 PyObject
* obj0
= 0 ;
3678 PyObject
* obj1
= 0 ;
3680 (char *) "self",(char *) "other", NULL
3683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3686 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3690 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
3692 wxPyEndAllowThreads(__tstate
);
3693 if (PyErr_Occurred()) SWIG_fail
;
3696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3704 static PyObject
* Bitmap_swigregister(PyObject
*self
, PyObject
*args
) {
3706 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3707 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3709 return Py_BuildValue((char *)"");
3711 static PyObject
*_wrap_new_Mask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3712 PyObject
*resultobj
;
3713 wxBitmap
*arg1
= 0 ;
3714 wxColour
const &arg2_defvalue
= wxNullColour
;
3715 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3718 PyObject
* obj0
= 0 ;
3719 PyObject
* obj1
= 0 ;
3721 (char *) "bitmap",(char *) "colour", NULL
3724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3726 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3729 PyErr_SetString(PyExc_TypeError
,"null reference");
3735 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3740 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3742 wxPyEndAllowThreads(__tstate
);
3743 if (PyErr_Occurred()) SWIG_fail
;
3745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3752 static PyObject
* Mask_swigregister(PyObject
*self
, PyObject
*args
) {
3754 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3755 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3757 return Py_BuildValue((char *)"");
3759 static PyObject
*_wrap_new_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3760 PyObject
*resultobj
;
3761 wxString
*arg1
= 0 ;
3763 int arg3
= (int) -1 ;
3764 int arg4
= (int) -1 ;
3766 bool temp1
= False
;
3767 PyObject
* obj0
= 0 ;
3768 PyObject
* obj1
= 0 ;
3769 PyObject
* obj2
= 0 ;
3770 PyObject
* obj3
= 0 ;
3772 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3777 arg1
= wxString_in_helper(obj0
);
3778 if (arg1
== NULL
) SWIG_fail
;
3781 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
3782 if (PyErr_Occurred()) SWIG_fail
;
3784 arg3
= (int) SWIG_AsInt(obj2
);
3785 if (PyErr_Occurred()) SWIG_fail
;
3788 arg4
= (int) SWIG_AsInt(obj3
);
3789 if (PyErr_Occurred()) SWIG_fail
;
3792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3793 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3795 wxPyEndAllowThreads(__tstate
);
3796 if (PyErr_Occurred()) SWIG_fail
;
3798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3813 static PyObject
*_wrap_delete_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3814 PyObject
*resultobj
;
3815 wxIcon
*arg1
= (wxIcon
*) 0 ;
3816 PyObject
* obj0
= 0 ;
3818 (char *) "self", NULL
3821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3828 wxPyEndAllowThreads(__tstate
);
3829 if (PyErr_Occurred()) SWIG_fail
;
3831 Py_INCREF(Py_None
); resultobj
= Py_None
;
3838 static PyObject
*_wrap_new_EmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3839 PyObject
*resultobj
;
3845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3848 result
= (wxIcon
*)new wxIcon();
3850 wxPyEndAllowThreads(__tstate
);
3851 if (PyErr_Occurred()) SWIG_fail
;
3853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3860 static PyObject
*_wrap_new_IconFromLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3861 PyObject
*resultobj
;
3862 wxIconLocation
*arg1
= 0 ;
3864 PyObject
* obj0
= 0 ;
3866 (char *) "loc", NULL
3869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3871 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3874 PyErr_SetString(PyExc_TypeError
,"null reference");
3878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3879 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3881 wxPyEndAllowThreads(__tstate
);
3882 if (PyErr_Occurred()) SWIG_fail
;
3884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3891 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3892 PyObject
*resultobj
;
3893 wxBitmap
*arg1
= 0 ;
3895 PyObject
* obj0
= 0 ;
3897 (char *) "bmp", NULL
3900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3902 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3905 PyErr_SetString(PyExc_TypeError
,"null reference");
3909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3910 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3912 wxPyEndAllowThreads(__tstate
);
3913 if (PyErr_Occurred()) SWIG_fail
;
3915 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3922 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3923 PyObject
*resultobj
;
3924 PyObject
*arg1
= (PyObject
*) 0 ;
3926 PyObject
* obj0
= 0 ;
3928 (char *) "listOfStrings", NULL
3931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3935 result
= (wxIcon
*)new_wxIcon(arg1
);
3937 wxPyEndAllowThreads(__tstate
);
3938 if (PyErr_Occurred()) SWIG_fail
;
3940 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3947 static PyObject
*_wrap_Icon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3948 PyObject
*resultobj
;
3949 wxIcon
*arg1
= (wxIcon
*) 0 ;
3950 wxString
*arg2
= 0 ;
3953 bool temp2
= False
;
3954 PyObject
* obj0
= 0 ;
3955 PyObject
* obj1
= 0 ;
3956 PyObject
* obj2
= 0 ;
3958 (char *) "self",(char *) "name",(char *) "type", NULL
3961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3965 arg2
= wxString_in_helper(obj1
);
3966 if (arg2
== NULL
) SWIG_fail
;
3969 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3970 if (PyErr_Occurred()) SWIG_fail
;
3972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3973 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3975 wxPyEndAllowThreads(__tstate
);
3976 if (PyErr_Occurred()) SWIG_fail
;
3979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3995 static PyObject
*_wrap_Icon_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3996 PyObject
*resultobj
;
3997 wxIcon
*arg1
= (wxIcon
*) 0 ;
3999 PyObject
* obj0
= 0 ;
4001 (char *) "self", NULL
4004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHandle",kwnames
,&obj0
)) goto fail
;
4005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4009 result
= (long)(arg1
)->GetHandle();
4011 wxPyEndAllowThreads(__tstate
);
4012 if (PyErr_Occurred()) SWIG_fail
;
4014 resultobj
= SWIG_FromLong((long)result
);
4021 static PyObject
*_wrap_Icon_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4022 PyObject
*resultobj
;
4023 wxIcon
*arg1
= (wxIcon
*) 0 ;
4025 PyObject
* obj0
= 0 ;
4026 PyObject
* obj1
= 0 ;
4028 (char *) "self",(char *) "handle", NULL
4031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
4032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4034 arg2
= (long) SWIG_AsLong(obj1
);
4035 if (PyErr_Occurred()) SWIG_fail
;
4037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4038 wxIcon_SetHandle(arg1
,arg2
);
4040 wxPyEndAllowThreads(__tstate
);
4041 if (PyErr_Occurred()) SWIG_fail
;
4043 Py_INCREF(Py_None
); resultobj
= Py_None
;
4050 static PyObject
*_wrap_Icon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
*resultobj
;
4052 wxIcon
*arg1
= (wxIcon
*) 0 ;
4054 PyObject
* obj0
= 0 ;
4056 (char *) "self", NULL
4059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
4060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4064 result
= (bool)(arg1
)->Ok();
4066 wxPyEndAllowThreads(__tstate
);
4067 if (PyErr_Occurred()) SWIG_fail
;
4070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4078 static PyObject
*_wrap_Icon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4079 PyObject
*resultobj
;
4080 wxIcon
*arg1
= (wxIcon
*) 0 ;
4082 PyObject
* obj0
= 0 ;
4084 (char *) "self", NULL
4087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
4088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4092 result
= (int)(arg1
)->GetWidth();
4094 wxPyEndAllowThreads(__tstate
);
4095 if (PyErr_Occurred()) SWIG_fail
;
4097 resultobj
= SWIG_FromInt((int)result
);
4104 static PyObject
*_wrap_Icon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4105 PyObject
*resultobj
;
4106 wxIcon
*arg1
= (wxIcon
*) 0 ;
4108 PyObject
* obj0
= 0 ;
4110 (char *) "self", NULL
4113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
4114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4118 result
= (int)(arg1
)->GetHeight();
4120 wxPyEndAllowThreads(__tstate
);
4121 if (PyErr_Occurred()) SWIG_fail
;
4123 resultobj
= SWIG_FromInt((int)result
);
4130 static PyObject
*_wrap_Icon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4131 PyObject
*resultobj
;
4132 wxIcon
*arg1
= (wxIcon
*) 0 ;
4134 PyObject
* obj0
= 0 ;
4136 (char *) "self", NULL
4139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
4140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4144 result
= (int)(arg1
)->GetDepth();
4146 wxPyEndAllowThreads(__tstate
);
4147 if (PyErr_Occurred()) SWIG_fail
;
4149 resultobj
= SWIG_FromInt((int)result
);
4156 static PyObject
*_wrap_Icon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4157 PyObject
*resultobj
;
4158 wxIcon
*arg1
= (wxIcon
*) 0 ;
4160 PyObject
* obj0
= 0 ;
4161 PyObject
* obj1
= 0 ;
4163 (char *) "self",(char *) "w", NULL
4166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4169 arg2
= (int) SWIG_AsInt(obj1
);
4170 if (PyErr_Occurred()) SWIG_fail
;
4172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4173 (arg1
)->SetWidth(arg2
);
4175 wxPyEndAllowThreads(__tstate
);
4176 if (PyErr_Occurred()) SWIG_fail
;
4178 Py_INCREF(Py_None
); resultobj
= Py_None
;
4185 static PyObject
*_wrap_Icon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4186 PyObject
*resultobj
;
4187 wxIcon
*arg1
= (wxIcon
*) 0 ;
4189 PyObject
* obj0
= 0 ;
4190 PyObject
* obj1
= 0 ;
4192 (char *) "self",(char *) "h", NULL
4195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
4196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4198 arg2
= (int) SWIG_AsInt(obj1
);
4199 if (PyErr_Occurred()) SWIG_fail
;
4201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4202 (arg1
)->SetHeight(arg2
);
4204 wxPyEndAllowThreads(__tstate
);
4205 if (PyErr_Occurred()) SWIG_fail
;
4207 Py_INCREF(Py_None
); resultobj
= Py_None
;
4214 static PyObject
*_wrap_Icon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4215 PyObject
*resultobj
;
4216 wxIcon
*arg1
= (wxIcon
*) 0 ;
4218 PyObject
* obj0
= 0 ;
4219 PyObject
* obj1
= 0 ;
4221 (char *) "self",(char *) "d", NULL
4224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
4225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4227 arg2
= (int) SWIG_AsInt(obj1
);
4228 if (PyErr_Occurred()) SWIG_fail
;
4230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4231 (arg1
)->SetDepth(arg2
);
4233 wxPyEndAllowThreads(__tstate
);
4234 if (PyErr_Occurred()) SWIG_fail
;
4236 Py_INCREF(Py_None
); resultobj
= Py_None
;
4243 static PyObject
*_wrap_Icon_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4244 PyObject
*resultobj
;
4245 wxIcon
*arg1
= (wxIcon
*) 0 ;
4248 PyObject
* obj0
= 0 ;
4249 PyObject
* obj1
= 0 ;
4251 (char *) "self",(char *) "size", NULL
4254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4259 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4263 (arg1
)->SetSize((wxSize
const &)*arg2
);
4265 wxPyEndAllowThreads(__tstate
);
4266 if (PyErr_Occurred()) SWIG_fail
;
4268 Py_INCREF(Py_None
); resultobj
= Py_None
;
4275 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4276 PyObject
*resultobj
;
4277 wxIcon
*arg1
= (wxIcon
*) 0 ;
4278 wxBitmap
*arg2
= 0 ;
4279 PyObject
* obj0
= 0 ;
4280 PyObject
* obj1
= 0 ;
4282 (char *) "self",(char *) "bmp", NULL
4285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4288 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4289 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4292 PyErr_SetString(PyExc_TypeError
,"null reference");
4296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4297 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
4299 wxPyEndAllowThreads(__tstate
);
4300 if (PyErr_Occurred()) SWIG_fail
;
4302 Py_INCREF(Py_None
); resultobj
= Py_None
;
4309 static PyObject
* Icon_swigregister(PyObject
*self
, PyObject
*args
) {
4311 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4312 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
4314 return Py_BuildValue((char *)"");
4316 static PyObject
*_wrap_new_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4317 PyObject
*resultobj
;
4318 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
4319 int arg2
= (int) 0 ;
4320 wxIconLocation
*result
;
4321 bool temp1
= False
;
4322 PyObject
* obj0
= 0 ;
4323 PyObject
* obj1
= 0 ;
4325 (char *) "filename",(char *) "num", NULL
4328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
4331 arg1
= wxString_in_helper(obj0
);
4332 if (arg1
== NULL
) SWIG_fail
;
4337 arg2
= (int) SWIG_AsInt(obj1
);
4338 if (PyErr_Occurred()) SWIG_fail
;
4341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4342 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
4344 wxPyEndAllowThreads(__tstate
);
4345 if (PyErr_Occurred()) SWIG_fail
;
4347 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
4362 static PyObject
*_wrap_delete_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4363 PyObject
*resultobj
;
4364 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4365 PyObject
* obj0
= 0 ;
4367 (char *) "self", NULL
4370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
4371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4377 wxPyEndAllowThreads(__tstate
);
4378 if (PyErr_Occurred()) SWIG_fail
;
4380 Py_INCREF(Py_None
); resultobj
= Py_None
;
4387 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4388 PyObject
*resultobj
;
4389 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4391 PyObject
* obj0
= 0 ;
4393 (char *) "self", NULL
4396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
4397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4401 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
4403 wxPyEndAllowThreads(__tstate
);
4404 if (PyErr_Occurred()) SWIG_fail
;
4407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4415 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4416 PyObject
*resultobj
;
4417 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4418 wxString
*arg2
= 0 ;
4419 bool temp2
= False
;
4420 PyObject
* obj0
= 0 ;
4421 PyObject
* obj1
= 0 ;
4423 (char *) "self",(char *) "filename", NULL
4426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4430 arg2
= wxString_in_helper(obj1
);
4431 if (arg2
== NULL
) SWIG_fail
;
4435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4436 (arg1
)->SetFileName((wxString
const &)*arg2
);
4438 wxPyEndAllowThreads(__tstate
);
4439 if (PyErr_Occurred()) SWIG_fail
;
4441 Py_INCREF(Py_None
); resultobj
= Py_None
;
4456 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4457 PyObject
*resultobj
;
4458 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4460 PyObject
* obj0
= 0 ;
4462 (char *) "self", NULL
4465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4471 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4472 result
= (wxString
*) &_result_ref
;
4475 wxPyEndAllowThreads(__tstate
);
4476 if (PyErr_Occurred()) SWIG_fail
;
4480 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4482 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4491 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4492 PyObject
*resultobj
;
4493 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4495 PyObject
* obj0
= 0 ;
4496 PyObject
* obj1
= 0 ;
4498 (char *) "self",(char *) "num", NULL
4501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4504 arg2
= (int) SWIG_AsInt(obj1
);
4505 if (PyErr_Occurred()) SWIG_fail
;
4507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4508 wxIconLocation_SetIndex(arg1
,arg2
);
4510 wxPyEndAllowThreads(__tstate
);
4511 if (PyErr_Occurred()) SWIG_fail
;
4513 Py_INCREF(Py_None
); resultobj
= Py_None
;
4520 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4521 PyObject
*resultobj
;
4522 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4524 PyObject
* obj0
= 0 ;
4526 (char *) "self", NULL
4529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4534 result
= (int)wxIconLocation_GetIndex(arg1
);
4536 wxPyEndAllowThreads(__tstate
);
4537 if (PyErr_Occurred()) SWIG_fail
;
4539 resultobj
= SWIG_FromInt((int)result
);
4546 static PyObject
* IconLocation_swigregister(PyObject
*self
, PyObject
*args
) {
4548 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4549 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4551 return Py_BuildValue((char *)"");
4553 static PyObject
*_wrap_new_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4554 PyObject
*resultobj
;
4555 wxIconBundle
*result
;
4560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4563 result
= (wxIconBundle
*)new wxIconBundle();
4565 wxPyEndAllowThreads(__tstate
);
4566 if (PyErr_Occurred()) SWIG_fail
;
4568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4575 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4576 PyObject
*resultobj
;
4577 wxString
*arg1
= 0 ;
4579 wxIconBundle
*result
;
4580 bool temp1
= False
;
4581 PyObject
* obj0
= 0 ;
4582 PyObject
* obj1
= 0 ;
4584 (char *) "file",(char *) "type", NULL
4587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4589 arg1
= wxString_in_helper(obj0
);
4590 if (arg1
== NULL
) SWIG_fail
;
4593 arg2
= (long) SWIG_AsLong(obj1
);
4594 if (PyErr_Occurred()) SWIG_fail
;
4596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4597 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4599 wxPyEndAllowThreads(__tstate
);
4600 if (PyErr_Occurred()) SWIG_fail
;
4602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4617 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4618 PyObject
*resultobj
;
4620 wxIconBundle
*result
;
4621 PyObject
* obj0
= 0 ;
4623 (char *) "icon", NULL
4626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4628 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4631 PyErr_SetString(PyExc_TypeError
,"null reference");
4635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4636 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4638 wxPyEndAllowThreads(__tstate
);
4639 if (PyErr_Occurred()) SWIG_fail
;
4641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4648 static PyObject
*_wrap_delete_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4649 PyObject
*resultobj
;
4650 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4651 PyObject
* obj0
= 0 ;
4653 (char *) "self", NULL
4656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4663 wxPyEndAllowThreads(__tstate
);
4664 if (PyErr_Occurred()) SWIG_fail
;
4666 Py_INCREF(Py_None
); resultobj
= Py_None
;
4673 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4674 PyObject
*resultobj
;
4675 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4677 PyObject
* obj0
= 0 ;
4678 PyObject
* obj1
= 0 ;
4680 (char *) "self",(char *) "icon", NULL
4683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4686 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4687 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4690 PyErr_SetString(PyExc_TypeError
,"null reference");
4694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4695 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4697 wxPyEndAllowThreads(__tstate
);
4698 if (PyErr_Occurred()) SWIG_fail
;
4700 Py_INCREF(Py_None
); resultobj
= Py_None
;
4707 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4708 PyObject
*resultobj
;
4709 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4710 wxString
*arg2
= 0 ;
4712 bool temp2
= False
;
4713 PyObject
* obj0
= 0 ;
4714 PyObject
* obj1
= 0 ;
4715 PyObject
* obj2
= 0 ;
4717 (char *) "self",(char *) "file",(char *) "type", NULL
4720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4724 arg2
= wxString_in_helper(obj1
);
4725 if (arg2
== NULL
) SWIG_fail
;
4728 arg3
= (long) SWIG_AsLong(obj2
);
4729 if (PyErr_Occurred()) SWIG_fail
;
4731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4732 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4734 wxPyEndAllowThreads(__tstate
);
4735 if (PyErr_Occurred()) SWIG_fail
;
4737 Py_INCREF(Py_None
); resultobj
= Py_None
;
4752 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4753 PyObject
*resultobj
;
4754 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4758 PyObject
* obj0
= 0 ;
4759 PyObject
* obj1
= 0 ;
4761 (char *) "self",(char *) "size", NULL
4764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4769 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4774 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4775 result
= (wxIcon
*) &_result_ref
;
4778 wxPyEndAllowThreads(__tstate
);
4779 if (PyErr_Occurred()) SWIG_fail
;
4782 wxIcon
* resultptr
= new wxIcon(*result
);
4783 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4791 static PyObject
* IconBundle_swigregister(PyObject
*self
, PyObject
*args
) {
4793 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4794 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4796 return Py_BuildValue((char *)"");
4798 static PyObject
*_wrap_new_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4799 PyObject
*resultobj
;
4800 wxString
*arg1
= (wxString
*) 0 ;
4802 int arg3
= (int) 0 ;
4803 int arg4
= (int) 0 ;
4805 bool temp1
= False
;
4806 PyObject
* obj0
= 0 ;
4807 PyObject
* obj1
= 0 ;
4808 PyObject
* obj2
= 0 ;
4809 PyObject
* obj3
= 0 ;
4811 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4816 arg1
= wxString_in_helper(obj0
);
4817 if (arg1
== NULL
) SWIG_fail
;
4820 arg2
= (long) SWIG_AsLong(obj1
);
4821 if (PyErr_Occurred()) SWIG_fail
;
4823 arg3
= (int) SWIG_AsInt(obj2
);
4824 if (PyErr_Occurred()) SWIG_fail
;
4827 arg4
= (int) SWIG_AsInt(obj3
);
4828 if (PyErr_Occurred()) SWIG_fail
;
4831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4832 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4834 wxPyEndAllowThreads(__tstate
);
4835 if (PyErr_Occurred()) SWIG_fail
;
4837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4852 static PyObject
*_wrap_delete_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4853 PyObject
*resultobj
;
4854 wxCursor
*arg1
= (wxCursor
*) 0 ;
4855 PyObject
* obj0
= 0 ;
4857 (char *) "self", NULL
4860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4867 wxPyEndAllowThreads(__tstate
);
4868 if (PyErr_Occurred()) SWIG_fail
;
4870 Py_INCREF(Py_None
); resultobj
= Py_None
;
4877 static PyObject
*_wrap_new_StockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4878 PyObject
*resultobj
;
4881 PyObject
* obj0
= 0 ;
4886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4887 arg1
= (int) SWIG_AsInt(obj0
);
4888 if (PyErr_Occurred()) SWIG_fail
;
4890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4891 result
= (wxCursor
*)new wxCursor(arg1
);
4893 wxPyEndAllowThreads(__tstate
);
4894 if (PyErr_Occurred()) SWIG_fail
;
4896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4903 static PyObject
*_wrap_new_CursorFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4904 PyObject
*resultobj
;
4907 PyObject
* obj0
= 0 ;
4909 (char *) "image", NULL
4912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
4914 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4917 PyErr_SetString(PyExc_TypeError
,"null reference");
4921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4922 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4924 wxPyEndAllowThreads(__tstate
);
4925 if (PyErr_Occurred()) SWIG_fail
;
4927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4934 static PyObject
*_wrap_Cursor_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4935 PyObject
*resultobj
;
4936 wxCursor
*arg1
= (wxCursor
*) 0 ;
4938 PyObject
* obj0
= 0 ;
4940 (char *) "self", NULL
4943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHandle",kwnames
,&obj0
)) goto fail
;
4944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4948 result
= (long)(arg1
)->GetHandle();
4950 wxPyEndAllowThreads(__tstate
);
4951 if (PyErr_Occurred()) SWIG_fail
;
4953 resultobj
= SWIG_FromLong((long)result
);
4960 static PyObject
*_wrap_Cursor_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4961 PyObject
*resultobj
;
4962 wxCursor
*arg1
= (wxCursor
*) 0 ;
4964 PyObject
* obj0
= 0 ;
4965 PyObject
* obj1
= 0 ;
4967 (char *) "self",(char *) "handle", NULL
4970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
4971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4973 arg2
= (long) SWIG_AsLong(obj1
);
4974 if (PyErr_Occurred()) SWIG_fail
;
4976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4977 wxCursor_SetHandle(arg1
,arg2
);
4979 wxPyEndAllowThreads(__tstate
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4982 Py_INCREF(Py_None
); resultobj
= Py_None
;
4989 static PyObject
*_wrap_Cursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4990 PyObject
*resultobj
;
4991 wxCursor
*arg1
= (wxCursor
*) 0 ;
4993 PyObject
* obj0
= 0 ;
4995 (char *) "self", NULL
4998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5003 result
= (bool)(arg1
)->Ok();
5005 wxPyEndAllowThreads(__tstate
);
5006 if (PyErr_Occurred()) SWIG_fail
;
5009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5017 static PyObject
*_wrap_Cursor_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5018 PyObject
*resultobj
;
5019 wxCursor
*arg1
= (wxCursor
*) 0 ;
5021 PyObject
* obj0
= 0 ;
5023 (char *) "self", NULL
5026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetWidth",kwnames
,&obj0
)) goto fail
;
5027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5031 result
= (int)(arg1
)->GetWidth();
5033 wxPyEndAllowThreads(__tstate
);
5034 if (PyErr_Occurred()) SWIG_fail
;
5036 resultobj
= SWIG_FromInt((int)result
);
5043 static PyObject
*_wrap_Cursor_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5044 PyObject
*resultobj
;
5045 wxCursor
*arg1
= (wxCursor
*) 0 ;
5047 PyObject
* obj0
= 0 ;
5049 (char *) "self", NULL
5052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHeight",kwnames
,&obj0
)) goto fail
;
5053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5057 result
= (int)(arg1
)->GetHeight();
5059 wxPyEndAllowThreads(__tstate
);
5060 if (PyErr_Occurred()) SWIG_fail
;
5062 resultobj
= SWIG_FromInt((int)result
);
5069 static PyObject
*_wrap_Cursor_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5070 PyObject
*resultobj
;
5071 wxCursor
*arg1
= (wxCursor
*) 0 ;
5073 PyObject
* obj0
= 0 ;
5075 (char *) "self", NULL
5078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetDepth",kwnames
,&obj0
)) goto fail
;
5079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5083 result
= (int)(arg1
)->GetDepth();
5085 wxPyEndAllowThreads(__tstate
);
5086 if (PyErr_Occurred()) SWIG_fail
;
5088 resultobj
= SWIG_FromInt((int)result
);
5095 static PyObject
*_wrap_Cursor_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5096 PyObject
*resultobj
;
5097 wxCursor
*arg1
= (wxCursor
*) 0 ;
5099 PyObject
* obj0
= 0 ;
5100 PyObject
* obj1
= 0 ;
5102 (char *) "self",(char *) "w", NULL
5105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5108 arg2
= (int) SWIG_AsInt(obj1
);
5109 if (PyErr_Occurred()) SWIG_fail
;
5111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5112 (arg1
)->SetWidth(arg2
);
5114 wxPyEndAllowThreads(__tstate
);
5115 if (PyErr_Occurred()) SWIG_fail
;
5117 Py_INCREF(Py_None
); resultobj
= Py_None
;
5124 static PyObject
*_wrap_Cursor_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5125 PyObject
*resultobj
;
5126 wxCursor
*arg1
= (wxCursor
*) 0 ;
5128 PyObject
* obj0
= 0 ;
5129 PyObject
* obj1
= 0 ;
5131 (char *) "self",(char *) "h", NULL
5134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5137 arg2
= (int) SWIG_AsInt(obj1
);
5138 if (PyErr_Occurred()) SWIG_fail
;
5140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5141 (arg1
)->SetHeight(arg2
);
5143 wxPyEndAllowThreads(__tstate
);
5144 if (PyErr_Occurred()) SWIG_fail
;
5146 Py_INCREF(Py_None
); resultobj
= Py_None
;
5153 static PyObject
*_wrap_Cursor_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5154 PyObject
*resultobj
;
5155 wxCursor
*arg1
= (wxCursor
*) 0 ;
5157 PyObject
* obj0
= 0 ;
5158 PyObject
* obj1
= 0 ;
5160 (char *) "self",(char *) "d", NULL
5163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
5164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5166 arg2
= (int) SWIG_AsInt(obj1
);
5167 if (PyErr_Occurred()) SWIG_fail
;
5169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5170 (arg1
)->SetDepth(arg2
);
5172 wxPyEndAllowThreads(__tstate
);
5173 if (PyErr_Occurred()) SWIG_fail
;
5175 Py_INCREF(Py_None
); resultobj
= Py_None
;
5182 static PyObject
*_wrap_Cursor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5183 PyObject
*resultobj
;
5184 wxCursor
*arg1
= (wxCursor
*) 0 ;
5187 PyObject
* obj0
= 0 ;
5188 PyObject
* obj1
= 0 ;
5190 (char *) "self",(char *) "size", NULL
5193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5198 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5202 (arg1
)->SetSize((wxSize
const &)*arg2
);
5204 wxPyEndAllowThreads(__tstate
);
5205 if (PyErr_Occurred()) SWIG_fail
;
5207 Py_INCREF(Py_None
); resultobj
= Py_None
;
5214 static PyObject
* Cursor_swigregister(PyObject
*self
, PyObject
*args
) {
5216 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5217 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
5219 return Py_BuildValue((char *)"");
5221 static PyObject
*_wrap_new_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5222 PyObject
*resultobj
;
5223 int arg1
= (int) 0 ;
5224 int arg2
= (int) 0 ;
5225 int arg3
= (int) 0 ;
5226 int arg4
= (int) 0 ;
5228 PyObject
* obj0
= 0 ;
5229 PyObject
* obj1
= 0 ;
5230 PyObject
* obj2
= 0 ;
5231 PyObject
* obj3
= 0 ;
5233 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5238 arg1
= (int) SWIG_AsInt(obj0
);
5239 if (PyErr_Occurred()) SWIG_fail
;
5242 arg2
= (int) SWIG_AsInt(obj1
);
5243 if (PyErr_Occurred()) SWIG_fail
;
5246 arg3
= (int) SWIG_AsInt(obj2
);
5247 if (PyErr_Occurred()) SWIG_fail
;
5250 arg4
= (int) SWIG_AsInt(obj3
);
5251 if (PyErr_Occurred()) SWIG_fail
;
5254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5255 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
5257 wxPyEndAllowThreads(__tstate
);
5258 if (PyErr_Occurred()) SWIG_fail
;
5260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5267 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5268 PyObject
*resultobj
;
5269 wxBitmap
*arg1
= 0 ;
5270 wxColour
const &arg2_defvalue
= wxNullColour
;
5271 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
5272 int arg3
= (int) 0 ;
5275 PyObject
* obj0
= 0 ;
5276 PyObject
* obj1
= 0 ;
5277 PyObject
* obj2
= 0 ;
5279 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_RegionFromBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5284 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5287 PyErr_SetString(PyExc_TypeError
,"null reference");
5293 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5297 arg3
= (int) SWIG_AsInt(obj2
);
5298 if (PyErr_Occurred()) SWIG_fail
;
5301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5302 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
5304 wxPyEndAllowThreads(__tstate
);
5305 if (PyErr_Occurred()) SWIG_fail
;
5307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5314 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5315 PyObject
*resultobj
;
5317 wxPoint
*arg2
= (wxPoint
*) 0 ;
5318 int arg3
= (int) wxWINDING_RULE
;
5320 PyObject
* obj0
= 0 ;
5321 PyObject
* obj1
= 0 ;
5323 (char *) "points",(char *) "fillStyle", NULL
5326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
5328 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
5329 if (arg2
== NULL
) SWIG_fail
;
5332 arg3
= (int) SWIG_AsInt(obj1
);
5333 if (PyErr_Occurred()) SWIG_fail
;
5336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5337 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
5339 wxPyEndAllowThreads(__tstate
);
5340 if (PyErr_Occurred()) SWIG_fail
;
5342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5344 if (arg2
) delete [] arg2
;
5349 if (arg2
) delete [] arg2
;
5355 static PyObject
*_wrap_delete_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5356 PyObject
*resultobj
;
5357 wxRegion
*arg1
= (wxRegion
*) 0 ;
5358 PyObject
* obj0
= 0 ;
5360 (char *) "self", NULL
5363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
5364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5370 wxPyEndAllowThreads(__tstate
);
5371 if (PyErr_Occurred()) SWIG_fail
;
5373 Py_INCREF(Py_None
); resultobj
= Py_None
;
5380 static PyObject
*_wrap_Region_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5381 PyObject
*resultobj
;
5382 wxRegion
*arg1
= (wxRegion
*) 0 ;
5383 PyObject
* obj0
= 0 ;
5385 (char *) "self", NULL
5388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
5389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5395 wxPyEndAllowThreads(__tstate
);
5396 if (PyErr_Occurred()) SWIG_fail
;
5398 Py_INCREF(Py_None
); resultobj
= Py_None
;
5405 static PyObject
*_wrap_Region_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5406 PyObject
*resultobj
;
5407 wxRegion
*arg1
= (wxRegion
*) 0 ;
5411 PyObject
* obj0
= 0 ;
5412 PyObject
* obj1
= 0 ;
5413 PyObject
* obj2
= 0 ;
5415 (char *) "self",(char *) "x",(char *) "y", NULL
5418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5421 arg2
= (int) SWIG_AsInt(obj1
);
5422 if (PyErr_Occurred()) SWIG_fail
;
5423 arg3
= (int) SWIG_AsInt(obj2
);
5424 if (PyErr_Occurred()) SWIG_fail
;
5426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5427 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
5429 wxPyEndAllowThreads(__tstate
);
5430 if (PyErr_Occurred()) SWIG_fail
;
5433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5441 static PyObject
*_wrap_Region_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5442 PyObject
*resultobj
;
5443 wxRegion
*arg1
= (wxRegion
*) 0 ;
5447 PyObject
* obj0
= 0 ;
5448 PyObject
* obj1
= 0 ;
5449 PyObject
* obj2
= 0 ;
5451 (char *) "self",(char *) "x",(char *) "y", NULL
5454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5457 arg2
= (int) SWIG_AsInt(obj1
);
5458 if (PyErr_Occurred()) SWIG_fail
;
5459 arg3
= (int) SWIG_AsInt(obj2
);
5460 if (PyErr_Occurred()) SWIG_fail
;
5462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5463 result
= (int)(arg1
)->Contains(arg2
,arg3
);
5465 wxPyEndAllowThreads(__tstate
);
5466 if (PyErr_Occurred()) SWIG_fail
;
5468 resultobj
= SWIG_FromInt((int)result
);
5475 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5476 PyObject
*resultobj
;
5477 wxRegion
*arg1
= (wxRegion
*) 0 ;
5481 PyObject
* obj0
= 0 ;
5482 PyObject
* obj1
= 0 ;
5484 (char *) "self",(char *) "pt", NULL
5487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
5488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5492 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5496 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
5498 wxPyEndAllowThreads(__tstate
);
5499 if (PyErr_Occurred()) SWIG_fail
;
5501 resultobj
= SWIG_FromInt((int)result
);
5508 static PyObject
*_wrap_Region_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5509 PyObject
*resultobj
;
5510 wxRegion
*arg1
= (wxRegion
*) 0 ;
5514 PyObject
* obj0
= 0 ;
5515 PyObject
* obj1
= 0 ;
5517 (char *) "self",(char *) "rect", NULL
5520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5525 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5529 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
5531 wxPyEndAllowThreads(__tstate
);
5532 if (PyErr_Occurred()) SWIG_fail
;
5534 resultobj
= SWIG_FromInt((int)result
);
5541 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5542 PyObject
*resultobj
;
5543 wxRegion
*arg1
= (wxRegion
*) 0 ;
5549 PyObject
* obj0
= 0 ;
5550 PyObject
* obj1
= 0 ;
5551 PyObject
* obj2
= 0 ;
5552 PyObject
* obj3
= 0 ;
5553 PyObject
* obj4
= 0 ;
5555 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
5558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5561 arg2
= (int) SWIG_AsInt(obj1
);
5562 if (PyErr_Occurred()) SWIG_fail
;
5563 arg3
= (int) SWIG_AsInt(obj2
);
5564 if (PyErr_Occurred()) SWIG_fail
;
5565 arg4
= (int) SWIG_AsInt(obj3
);
5566 if (PyErr_Occurred()) SWIG_fail
;
5567 arg5
= (int) SWIG_AsInt(obj4
);
5568 if (PyErr_Occurred()) SWIG_fail
;
5570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5571 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
5573 wxPyEndAllowThreads(__tstate
);
5574 if (PyErr_Occurred()) SWIG_fail
;
5576 resultobj
= SWIG_FromInt((int)result
);
5583 static PyObject
*_wrap_Region_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5584 PyObject
*resultobj
;
5585 wxRegion
*arg1
= (wxRegion
*) 0 ;
5587 PyObject
* obj0
= 0 ;
5589 (char *) "self", NULL
5592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
5593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5597 result
= (arg1
)->GetBox();
5599 wxPyEndAllowThreads(__tstate
);
5600 if (PyErr_Occurred()) SWIG_fail
;
5604 resultptr
= new wxRect((wxRect
&) result
);
5605 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5613 static PyObject
*_wrap_Region_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5614 PyObject
*resultobj
;
5615 wxRegion
*arg1
= (wxRegion
*) 0 ;
5621 PyObject
* obj0
= 0 ;
5622 PyObject
* obj1
= 0 ;
5623 PyObject
* obj2
= 0 ;
5624 PyObject
* obj3
= 0 ;
5625 PyObject
* obj4
= 0 ;
5627 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5633 arg2
= (int) SWIG_AsInt(obj1
);
5634 if (PyErr_Occurred()) SWIG_fail
;
5635 arg3
= (int) SWIG_AsInt(obj2
);
5636 if (PyErr_Occurred()) SWIG_fail
;
5637 arg4
= (int) SWIG_AsInt(obj3
);
5638 if (PyErr_Occurred()) SWIG_fail
;
5639 arg5
= (int) SWIG_AsInt(obj4
);
5640 if (PyErr_Occurred()) SWIG_fail
;
5642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5643 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
5645 wxPyEndAllowThreads(__tstate
);
5646 if (PyErr_Occurred()) SWIG_fail
;
5649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5657 static PyObject
*_wrap_Region_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5658 PyObject
*resultobj
;
5659 wxRegion
*arg1
= (wxRegion
*) 0 ;
5663 PyObject
* obj0
= 0 ;
5664 PyObject
* obj1
= 0 ;
5666 (char *) "self",(char *) "rect", NULL
5669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5674 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5678 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
5680 wxPyEndAllowThreads(__tstate
);
5681 if (PyErr_Occurred()) SWIG_fail
;
5684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5692 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5693 PyObject
*resultobj
;
5694 wxRegion
*arg1
= (wxRegion
*) 0 ;
5695 wxRegion
*arg2
= 0 ;
5697 PyObject
* obj0
= 0 ;
5698 PyObject
* obj1
= 0 ;
5700 (char *) "self",(char *) "region", NULL
5703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5706 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5707 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5710 PyErr_SetString(PyExc_TypeError
,"null reference");
5714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5715 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5717 wxPyEndAllowThreads(__tstate
);
5718 if (PyErr_Occurred()) SWIG_fail
;
5721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5729 static PyObject
*_wrap_Region_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5730 PyObject
*resultobj
;
5731 wxRegion
*arg1
= (wxRegion
*) 0 ;
5733 PyObject
* obj0
= 0 ;
5735 (char *) "self", NULL
5738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5743 result
= (bool)(arg1
)->IsEmpty();
5745 wxPyEndAllowThreads(__tstate
);
5746 if (PyErr_Occurred()) SWIG_fail
;
5749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5757 static PyObject
*_wrap_Region_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5758 PyObject
*resultobj
;
5759 wxRegion
*arg1
= (wxRegion
*) 0 ;
5765 PyObject
* obj0
= 0 ;
5766 PyObject
* obj1
= 0 ;
5767 PyObject
* obj2
= 0 ;
5768 PyObject
* obj3
= 0 ;
5769 PyObject
* obj4
= 0 ;
5771 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5777 arg2
= (int) SWIG_AsInt(obj1
);
5778 if (PyErr_Occurred()) SWIG_fail
;
5779 arg3
= (int) SWIG_AsInt(obj2
);
5780 if (PyErr_Occurred()) SWIG_fail
;
5781 arg4
= (int) SWIG_AsInt(obj3
);
5782 if (PyErr_Occurred()) SWIG_fail
;
5783 arg5
= (int) SWIG_AsInt(obj4
);
5784 if (PyErr_Occurred()) SWIG_fail
;
5786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5787 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5789 wxPyEndAllowThreads(__tstate
);
5790 if (PyErr_Occurred()) SWIG_fail
;
5793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5801 static PyObject
*_wrap_Region_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5802 PyObject
*resultobj
;
5803 wxRegion
*arg1
= (wxRegion
*) 0 ;
5807 PyObject
* obj0
= 0 ;
5808 PyObject
* obj1
= 0 ;
5810 (char *) "self",(char *) "rect", NULL
5813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5818 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5822 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5824 wxPyEndAllowThreads(__tstate
);
5825 if (PyErr_Occurred()) SWIG_fail
;
5828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5836 static PyObject
*_wrap_Region_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5837 PyObject
*resultobj
;
5838 wxRegion
*arg1
= (wxRegion
*) 0 ;
5839 wxRegion
*arg2
= 0 ;
5841 PyObject
* obj0
= 0 ;
5842 PyObject
* obj1
= 0 ;
5844 (char *) "self",(char *) "region", NULL
5847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5850 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5851 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5854 PyErr_SetString(PyExc_TypeError
,"null reference");
5858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5859 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5861 wxPyEndAllowThreads(__tstate
);
5862 if (PyErr_Occurred()) SWIG_fail
;
5865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5873 static PyObject
*_wrap_Region_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5874 PyObject
*resultobj
;
5875 wxRegion
*arg1
= (wxRegion
*) 0 ;
5881 PyObject
* obj0
= 0 ;
5882 PyObject
* obj1
= 0 ;
5883 PyObject
* obj2
= 0 ;
5884 PyObject
* obj3
= 0 ;
5885 PyObject
* obj4
= 0 ;
5887 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5893 arg2
= (int) SWIG_AsInt(obj1
);
5894 if (PyErr_Occurred()) SWIG_fail
;
5895 arg3
= (int) SWIG_AsInt(obj2
);
5896 if (PyErr_Occurred()) SWIG_fail
;
5897 arg4
= (int) SWIG_AsInt(obj3
);
5898 if (PyErr_Occurred()) SWIG_fail
;
5899 arg5
= (int) SWIG_AsInt(obj4
);
5900 if (PyErr_Occurred()) SWIG_fail
;
5902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5903 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5905 wxPyEndAllowThreads(__tstate
);
5906 if (PyErr_Occurred()) SWIG_fail
;
5909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5917 static PyObject
*_wrap_Region_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5918 PyObject
*resultobj
;
5919 wxRegion
*arg1
= (wxRegion
*) 0 ;
5923 PyObject
* obj0
= 0 ;
5924 PyObject
* obj1
= 0 ;
5926 (char *) "self",(char *) "rect", NULL
5929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5934 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5938 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5940 wxPyEndAllowThreads(__tstate
);
5941 if (PyErr_Occurred()) SWIG_fail
;
5944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5952 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5953 PyObject
*resultobj
;
5954 wxRegion
*arg1
= (wxRegion
*) 0 ;
5955 wxRegion
*arg2
= 0 ;
5957 PyObject
* obj0
= 0 ;
5958 PyObject
* obj1
= 0 ;
5960 (char *) "self",(char *) "region", NULL
5963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5966 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5967 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5970 PyErr_SetString(PyExc_TypeError
,"null reference");
5974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5975 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5977 wxPyEndAllowThreads(__tstate
);
5978 if (PyErr_Occurred()) SWIG_fail
;
5981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5989 static PyObject
*_wrap_Region_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5990 PyObject
*resultobj
;
5991 wxRegion
*arg1
= (wxRegion
*) 0 ;
5997 PyObject
* obj0
= 0 ;
5998 PyObject
* obj1
= 0 ;
5999 PyObject
* obj2
= 0 ;
6000 PyObject
* obj3
= 0 ;
6001 PyObject
* obj4
= 0 ;
6003 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6009 arg2
= (int) SWIG_AsInt(obj1
);
6010 if (PyErr_Occurred()) SWIG_fail
;
6011 arg3
= (int) SWIG_AsInt(obj2
);
6012 if (PyErr_Occurred()) SWIG_fail
;
6013 arg4
= (int) SWIG_AsInt(obj3
);
6014 if (PyErr_Occurred()) SWIG_fail
;
6015 arg5
= (int) SWIG_AsInt(obj4
);
6016 if (PyErr_Occurred()) SWIG_fail
;
6018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6019 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
6021 wxPyEndAllowThreads(__tstate
);
6022 if (PyErr_Occurred()) SWIG_fail
;
6025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6033 static PyObject
*_wrap_Region_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6034 PyObject
*resultobj
;
6035 wxRegion
*arg1
= (wxRegion
*) 0 ;
6039 PyObject
* obj0
= 0 ;
6040 PyObject
* obj1
= 0 ;
6042 (char *) "self",(char *) "rect", NULL
6045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6050 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6054 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
6056 wxPyEndAllowThreads(__tstate
);
6057 if (PyErr_Occurred()) SWIG_fail
;
6060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6068 static PyObject
*_wrap_Region_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6069 PyObject
*resultobj
;
6070 wxRegion
*arg1
= (wxRegion
*) 0 ;
6071 wxRegion
*arg2
= 0 ;
6073 PyObject
* obj0
= 0 ;
6074 PyObject
* obj1
= 0 ;
6076 (char *) "self",(char *) "region", NULL
6079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6082 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
6083 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6086 PyErr_SetString(PyExc_TypeError
,"null reference");
6090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6091 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
6093 wxPyEndAllowThreads(__tstate
);
6094 if (PyErr_Occurred()) SWIG_fail
;
6097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6105 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6106 PyObject
*resultobj
;
6107 wxRegion
*arg1
= (wxRegion
*) 0 ;
6108 SwigValueWrapper
< wxBitmap
> result
;
6109 PyObject
* obj0
= 0 ;
6111 (char *) "self", NULL
6114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
6115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6119 result
= (arg1
)->ConvertToBitmap();
6121 wxPyEndAllowThreads(__tstate
);
6122 if (PyErr_Occurred()) SWIG_fail
;
6125 wxBitmap
* resultptr
;
6126 resultptr
= new wxBitmap((wxBitmap
&) result
);
6127 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6135 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6136 PyObject
*resultobj
;
6137 wxRegion
*arg1
= (wxRegion
*) 0 ;
6138 wxBitmap
*arg2
= 0 ;
6139 wxColour
const &arg3_defvalue
= wxNullColour
;
6140 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
6141 int arg4
= (int) 0 ;
6144 PyObject
* obj0
= 0 ;
6145 PyObject
* obj1
= 0 ;
6146 PyObject
* obj2
= 0 ;
6147 PyObject
* obj3
= 0 ;
6149 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
6152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6155 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
6156 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6159 PyErr_SetString(PyExc_TypeError
,"null reference");
6165 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6169 arg4
= (int) SWIG_AsInt(obj3
);
6170 if (PyErr_Occurred()) SWIG_fail
;
6173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6174 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
6176 wxPyEndAllowThreads(__tstate
);
6177 if (PyErr_Occurred()) SWIG_fail
;
6180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6188 static PyObject
* Region_swigregister(PyObject
*self
, PyObject
*args
) {
6190 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6191 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
6193 return Py_BuildValue((char *)"");
6195 static PyObject
*_wrap_new_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6196 PyObject
*resultobj
;
6197 wxRegion
*arg1
= 0 ;
6198 wxRegionIterator
*result
;
6199 PyObject
* obj0
= 0 ;
6201 (char *) "region", NULL
6204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
6205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6206 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6209 PyErr_SetString(PyExc_TypeError
,"null reference");
6213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6214 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
6216 wxPyEndAllowThreads(__tstate
);
6217 if (PyErr_Occurred()) SWIG_fail
;
6219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
6226 static PyObject
*_wrap_delete_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6227 PyObject
*resultobj
;
6228 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6229 PyObject
* obj0
= 0 ;
6231 (char *) "self", NULL
6234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
6235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6241 wxPyEndAllowThreads(__tstate
);
6242 if (PyErr_Occurred()) SWIG_fail
;
6244 Py_INCREF(Py_None
); resultobj
= Py_None
;
6251 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6252 PyObject
*resultobj
;
6253 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6255 PyObject
* obj0
= 0 ;
6257 (char *) "self", NULL
6260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
6261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6265 result
= (int)(arg1
)->GetX();
6267 wxPyEndAllowThreads(__tstate
);
6268 if (PyErr_Occurred()) SWIG_fail
;
6270 resultobj
= SWIG_FromInt((int)result
);
6277 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6278 PyObject
*resultobj
;
6279 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6281 PyObject
* obj0
= 0 ;
6283 (char *) "self", NULL
6286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
6287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6291 result
= (int)(arg1
)->GetY();
6293 wxPyEndAllowThreads(__tstate
);
6294 if (PyErr_Occurred()) SWIG_fail
;
6296 resultobj
= SWIG_FromInt((int)result
);
6303 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6304 PyObject
*resultobj
;
6305 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6307 PyObject
* obj0
= 0 ;
6309 (char *) "self", NULL
6312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
6313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6317 result
= (int)(arg1
)->GetW();
6319 wxPyEndAllowThreads(__tstate
);
6320 if (PyErr_Occurred()) SWIG_fail
;
6322 resultobj
= SWIG_FromInt((int)result
);
6329 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6330 PyObject
*resultobj
;
6331 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6333 PyObject
* obj0
= 0 ;
6335 (char *) "self", NULL
6338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
6339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6343 result
= (int)(arg1
)->GetWidth();
6345 wxPyEndAllowThreads(__tstate
);
6346 if (PyErr_Occurred()) SWIG_fail
;
6348 resultobj
= SWIG_FromInt((int)result
);
6355 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6356 PyObject
*resultobj
;
6357 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6359 PyObject
* obj0
= 0 ;
6361 (char *) "self", NULL
6364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
6365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6369 result
= (int)(arg1
)->GetH();
6371 wxPyEndAllowThreads(__tstate
);
6372 if (PyErr_Occurred()) SWIG_fail
;
6374 resultobj
= SWIG_FromInt((int)result
);
6381 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6382 PyObject
*resultobj
;
6383 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6385 PyObject
* obj0
= 0 ;
6387 (char *) "self", NULL
6390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
6391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6395 result
= (int)(arg1
)->GetHeight();
6397 wxPyEndAllowThreads(__tstate
);
6398 if (PyErr_Occurred()) SWIG_fail
;
6400 resultobj
= SWIG_FromInt((int)result
);
6407 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6408 PyObject
*resultobj
;
6409 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6411 PyObject
* obj0
= 0 ;
6413 (char *) "self", NULL
6416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
6417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6421 result
= (arg1
)->GetRect();
6423 wxPyEndAllowThreads(__tstate
);
6424 if (PyErr_Occurred()) SWIG_fail
;
6428 resultptr
= new wxRect((wxRect
&) result
);
6429 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
6437 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6438 PyObject
*resultobj
;
6439 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6441 PyObject
* obj0
= 0 ;
6443 (char *) "self", NULL
6446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
6447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6451 result
= (bool)(arg1
)->HaveRects();
6453 wxPyEndAllowThreads(__tstate
);
6454 if (PyErr_Occurred()) SWIG_fail
;
6457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6465 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6466 PyObject
*resultobj
;
6467 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6468 PyObject
* obj0
= 0 ;
6470 (char *) "self", NULL
6473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
6474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6480 wxPyEndAllowThreads(__tstate
);
6481 if (PyErr_Occurred()) SWIG_fail
;
6483 Py_INCREF(Py_None
); resultobj
= Py_None
;
6490 static PyObject
*_wrap_RegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6491 PyObject
*resultobj
;
6492 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6493 PyObject
* obj0
= 0 ;
6495 (char *) "self", NULL
6498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
6499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6503 wxRegionIterator_Next(arg1
);
6505 wxPyEndAllowThreads(__tstate
);
6506 if (PyErr_Occurred()) SWIG_fail
;
6508 Py_INCREF(Py_None
); resultobj
= Py_None
;
6515 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6516 PyObject
*resultobj
;
6517 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6519 PyObject
* obj0
= 0 ;
6521 (char *) "self", NULL
6524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
6525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6529 result
= (bool)wxRegionIterator___nonzero__(arg1
);
6531 wxPyEndAllowThreads(__tstate
);
6532 if (PyErr_Occurred()) SWIG_fail
;
6535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6543 static PyObject
* RegionIterator_swigregister(PyObject
*self
, PyObject
*args
) {
6545 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6546 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
6548 return Py_BuildValue((char *)"");
6550 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6551 PyObject
*resultobj
;
6552 wxNativeFontInfo
*result
;
6557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
6559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6560 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
6562 wxPyEndAllowThreads(__tstate
);
6563 if (PyErr_Occurred()) SWIG_fail
;
6565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
6572 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6573 PyObject
*resultobj
;
6574 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6575 PyObject
* obj0
= 0 ;
6577 (char *) "self", NULL
6580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
6581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6587 wxPyEndAllowThreads(__tstate
);
6588 if (PyErr_Occurred()) SWIG_fail
;
6590 Py_INCREF(Py_None
); resultobj
= Py_None
;
6597 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6598 PyObject
*resultobj
;
6599 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6600 PyObject
* obj0
= 0 ;
6602 (char *) "self", NULL
6605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
6606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6612 wxPyEndAllowThreads(__tstate
);
6613 if (PyErr_Occurred()) SWIG_fail
;
6615 Py_INCREF(Py_None
); resultobj
= Py_None
;
6622 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6623 PyObject
*resultobj
;
6624 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6626 PyObject
* obj0
= 0 ;
6627 PyObject
* obj1
= 0 ;
6629 (char *) "self",(char *) "font", NULL
6632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6635 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6636 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6639 PyErr_SetString(PyExc_TypeError
,"null reference");
6643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6644 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
6646 wxPyEndAllowThreads(__tstate
);
6647 if (PyErr_Occurred()) SWIG_fail
;
6649 Py_INCREF(Py_None
); resultobj
= Py_None
;
6656 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6657 PyObject
*resultobj
;
6658 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6660 PyObject
* obj0
= 0 ;
6662 (char *) "self", NULL
6665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
6666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6670 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
6672 wxPyEndAllowThreads(__tstate
);
6673 if (PyErr_Occurred()) SWIG_fail
;
6675 resultobj
= SWIG_FromInt((int)result
);
6682 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6683 PyObject
*resultobj
;
6684 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6686 PyObject
* obj0
= 0 ;
6688 (char *) "self", NULL
6691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
6692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6696 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
6698 wxPyEndAllowThreads(__tstate
);
6699 if (PyErr_Occurred()) SWIG_fail
;
6701 resultobj
= SWIG_FromInt((int)result
);
6708 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6709 PyObject
*resultobj
;
6710 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6712 PyObject
* obj0
= 0 ;
6714 (char *) "self", NULL
6717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
6718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6722 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
6724 wxPyEndAllowThreads(__tstate
);
6725 if (PyErr_Occurred()) SWIG_fail
;
6727 resultobj
= SWIG_FromInt((int)result
);
6734 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6735 PyObject
*resultobj
;
6736 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6738 PyObject
* obj0
= 0 ;
6740 (char *) "self", NULL
6743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6748 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6750 wxPyEndAllowThreads(__tstate
);
6751 if (PyErr_Occurred()) SWIG_fail
;
6754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6762 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6763 PyObject
*resultobj
;
6764 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6766 PyObject
* obj0
= 0 ;
6768 (char *) "self", NULL
6771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
6772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6776 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6778 wxPyEndAllowThreads(__tstate
);
6779 if (PyErr_Occurred()) SWIG_fail
;
6783 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6785 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6794 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6795 PyObject
*resultobj
;
6796 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6798 PyObject
* obj0
= 0 ;
6800 (char *) "self", NULL
6803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6808 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6810 wxPyEndAllowThreads(__tstate
);
6811 if (PyErr_Occurred()) SWIG_fail
;
6813 resultobj
= SWIG_FromInt((int)result
);
6820 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6821 PyObject
*resultobj
;
6822 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6824 PyObject
* obj0
= 0 ;
6826 (char *) "self", NULL
6829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6834 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6836 wxPyEndAllowThreads(__tstate
);
6837 if (PyErr_Occurred()) SWIG_fail
;
6839 resultobj
= SWIG_FromInt((int)result
);
6846 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6847 PyObject
*resultobj
;
6848 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6850 PyObject
* obj0
= 0 ;
6851 PyObject
* obj1
= 0 ;
6853 (char *) "self",(char *) "pointsize", NULL
6856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6859 arg2
= (int) SWIG_AsInt(obj1
);
6860 if (PyErr_Occurred()) SWIG_fail
;
6862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6863 (arg1
)->SetPointSize(arg2
);
6865 wxPyEndAllowThreads(__tstate
);
6866 if (PyErr_Occurred()) SWIG_fail
;
6868 Py_INCREF(Py_None
); resultobj
= Py_None
;
6875 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6876 PyObject
*resultobj
;
6877 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6879 PyObject
* obj0
= 0 ;
6880 PyObject
* obj1
= 0 ;
6882 (char *) "self",(char *) "style", NULL
6885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
6886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6888 arg2
= (wxFontStyle
) SWIG_AsInt(obj1
);
6889 if (PyErr_Occurred()) SWIG_fail
;
6891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6892 (arg1
)->SetStyle((wxFontStyle
)arg2
);
6894 wxPyEndAllowThreads(__tstate
);
6895 if (PyErr_Occurred()) SWIG_fail
;
6897 Py_INCREF(Py_None
); resultobj
= Py_None
;
6904 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6905 PyObject
*resultobj
;
6906 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6908 PyObject
* obj0
= 0 ;
6909 PyObject
* obj1
= 0 ;
6911 (char *) "self",(char *) "weight", NULL
6914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6917 arg2
= (wxFontWeight
) SWIG_AsInt(obj1
);
6918 if (PyErr_Occurred()) SWIG_fail
;
6920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6921 (arg1
)->SetWeight((wxFontWeight
)arg2
);
6923 wxPyEndAllowThreads(__tstate
);
6924 if (PyErr_Occurred()) SWIG_fail
;
6926 Py_INCREF(Py_None
); resultobj
= Py_None
;
6933 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6934 PyObject
*resultobj
;
6935 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6937 PyObject
* obj0
= 0 ;
6938 PyObject
* obj1
= 0 ;
6940 (char *) "self",(char *) "underlined", NULL
6943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6946 arg2
= (bool) SWIG_AsBool(obj1
);
6947 if (PyErr_Occurred()) SWIG_fail
;
6949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6950 (arg1
)->SetUnderlined(arg2
);
6952 wxPyEndAllowThreads(__tstate
);
6953 if (PyErr_Occurred()) SWIG_fail
;
6955 Py_INCREF(Py_None
); resultobj
= Py_None
;
6962 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6963 PyObject
*resultobj
;
6964 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6966 PyObject
* obj0
= 0 ;
6967 PyObject
* obj1
= 0 ;
6969 (char *) "self",(char *) "facename", NULL
6972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6976 wxString
* sptr
= wxString_in_helper(obj1
);
6977 if (sptr
== NULL
) SWIG_fail
;
6982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6983 (arg1
)->SetFaceName(arg2
);
6985 wxPyEndAllowThreads(__tstate
);
6986 if (PyErr_Occurred()) SWIG_fail
;
6988 Py_INCREF(Py_None
); resultobj
= Py_None
;
6995 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6996 PyObject
*resultobj
;
6997 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6999 PyObject
* obj0
= 0 ;
7000 PyObject
* obj1
= 0 ;
7002 (char *) "self",(char *) "family", NULL
7005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
7006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7008 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
7009 if (PyErr_Occurred()) SWIG_fail
;
7011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7012 (arg1
)->SetFamily((wxFontFamily
)arg2
);
7014 wxPyEndAllowThreads(__tstate
);
7015 if (PyErr_Occurred()) SWIG_fail
;
7017 Py_INCREF(Py_None
); resultobj
= Py_None
;
7024 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7025 PyObject
*resultobj
;
7026 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7028 PyObject
* obj0
= 0 ;
7029 PyObject
* obj1
= 0 ;
7031 (char *) "self",(char *) "encoding", NULL
7034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
7035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7037 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7038 if (PyErr_Occurred()) SWIG_fail
;
7040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7041 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
7043 wxPyEndAllowThreads(__tstate
);
7044 if (PyErr_Occurred()) SWIG_fail
;
7046 Py_INCREF(Py_None
); resultobj
= Py_None
;
7053 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7054 PyObject
*resultobj
;
7055 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7056 wxString
*arg2
= 0 ;
7058 bool temp2
= False
;
7059 PyObject
* obj0
= 0 ;
7060 PyObject
* obj1
= 0 ;
7062 (char *) "self",(char *) "s", NULL
7065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
7066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7069 arg2
= wxString_in_helper(obj1
);
7070 if (arg2
== NULL
) SWIG_fail
;
7074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7075 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
7077 wxPyEndAllowThreads(__tstate
);
7078 if (PyErr_Occurred()) SWIG_fail
;
7081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7097 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7098 PyObject
*resultobj
;
7099 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7101 PyObject
* obj0
= 0 ;
7103 (char *) "self", NULL
7106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
7107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7111 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
7113 wxPyEndAllowThreads(__tstate
);
7114 if (PyErr_Occurred()) SWIG_fail
;
7118 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7120 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7129 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7130 PyObject
*resultobj
;
7131 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7133 PyObject
* obj0
= 0 ;
7135 (char *) "self", NULL
7138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
7139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7143 result
= wxNativeFontInfo___str__(arg1
);
7145 wxPyEndAllowThreads(__tstate
);
7146 if (PyErr_Occurred()) SWIG_fail
;
7150 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7152 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7161 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7162 PyObject
*resultobj
;
7163 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7164 wxString
*arg2
= 0 ;
7166 bool temp2
= False
;
7167 PyObject
* obj0
= 0 ;
7168 PyObject
* obj1
= 0 ;
7170 (char *) "self",(char *) "s", NULL
7173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
7174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7177 arg2
= wxString_in_helper(obj1
);
7178 if (arg2
== NULL
) SWIG_fail
;
7182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7183 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
7185 wxPyEndAllowThreads(__tstate
);
7186 if (PyErr_Occurred()) SWIG_fail
;
7189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7205 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7206 PyObject
*resultobj
;
7207 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7209 PyObject
* obj0
= 0 ;
7211 (char *) "self", NULL
7214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
7215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7219 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
7221 wxPyEndAllowThreads(__tstate
);
7222 if (PyErr_Occurred()) SWIG_fail
;
7226 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7228 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7237 static PyObject
* NativeFontInfo_swigregister(PyObject
*self
, PyObject
*args
) {
7239 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7240 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
7242 return Py_BuildValue((char *)"");
7244 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7245 PyObject
*resultobj
;
7246 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7247 wxString
*arg2
= (wxString
*) 0 ;
7248 bool temp2
= False
;
7249 PyObject
* obj0
= 0 ;
7250 PyObject
* obj1
= 0 ;
7252 (char *) "self",(char *) "facename", NULL
7255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7259 arg2
= wxString_in_helper(obj1
);
7260 if (arg2
== NULL
) SWIG_fail
;
7263 if (arg1
) (arg1
)->facename
= *arg2
;
7265 Py_INCREF(Py_None
); resultobj
= Py_None
;
7280 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7281 PyObject
*resultobj
;
7282 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7284 PyObject
* obj0
= 0 ;
7286 (char *) "self", NULL
7289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
7290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7292 result
= (wxString
*)& ((arg1
)->facename
);
7296 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
7298 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
7307 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7308 PyObject
*resultobj
;
7309 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7311 PyObject
* obj0
= 0 ;
7312 PyObject
* obj1
= 0 ;
7314 (char *) "self",(char *) "encoding", NULL
7317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7320 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7321 if (PyErr_Occurred()) SWIG_fail
;
7322 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
7324 Py_INCREF(Py_None
); resultobj
= Py_None
;
7331 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7332 PyObject
*resultobj
;
7333 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7335 PyObject
* obj0
= 0 ;
7337 (char *) "self", NULL
7340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
7341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7343 result
= (int) ((arg1
)->encoding
);
7345 resultobj
= SWIG_FromInt((int)result
);
7352 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7353 PyObject
*resultobj
;
7354 wxNativeEncodingInfo
*result
;
7359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
7361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7362 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
7364 wxPyEndAllowThreads(__tstate
);
7365 if (PyErr_Occurred()) SWIG_fail
;
7367 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
7374 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7375 PyObject
*resultobj
;
7376 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7377 PyObject
* obj0
= 0 ;
7379 (char *) "self", NULL
7382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
7383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7389 wxPyEndAllowThreads(__tstate
);
7390 if (PyErr_Occurred()) SWIG_fail
;
7392 Py_INCREF(Py_None
); resultobj
= Py_None
;
7399 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7400 PyObject
*resultobj
;
7401 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7402 wxString
*arg2
= 0 ;
7404 bool temp2
= False
;
7405 PyObject
* obj0
= 0 ;
7406 PyObject
* obj1
= 0 ;
7408 (char *) "self",(char *) "s", NULL
7411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
7412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7415 arg2
= wxString_in_helper(obj1
);
7416 if (arg2
== NULL
) SWIG_fail
;
7420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7421 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
7423 wxPyEndAllowThreads(__tstate
);
7424 if (PyErr_Occurred()) SWIG_fail
;
7427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7443 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7444 PyObject
*resultobj
;
7445 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7447 PyObject
* obj0
= 0 ;
7449 (char *) "self", NULL
7452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
7453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7457 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
7459 wxPyEndAllowThreads(__tstate
);
7460 if (PyErr_Occurred()) SWIG_fail
;
7464 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7466 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7475 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*self
, PyObject
*args
) {
7477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7478 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
7480 return Py_BuildValue((char *)"");
7482 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7483 PyObject
*resultobj
;
7485 wxNativeEncodingInfo
*result
;
7486 PyObject
* obj0
= 0 ;
7488 (char *) "encoding", NULL
7491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
7492 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7493 if (PyErr_Occurred()) SWIG_fail
;
7495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7496 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
7498 wxPyEndAllowThreads(__tstate
);
7499 if (PyErr_Occurred()) SWIG_fail
;
7501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
7508 static PyObject
*_wrap_TestFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7509 PyObject
*resultobj
;
7510 wxNativeEncodingInfo
*arg1
= 0 ;
7512 PyObject
* obj0
= 0 ;
7514 (char *) "info", NULL
7517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
7518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7519 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7522 PyErr_SetString(PyExc_TypeError
,"null reference");
7526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7527 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
7529 wxPyEndAllowThreads(__tstate
);
7530 if (PyErr_Occurred()) SWIG_fail
;
7533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7541 static PyObject
*_wrap_new_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7542 PyObject
*resultobj
;
7543 wxFontMapper
*result
;
7548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
7550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7551 result
= (wxFontMapper
*)new wxFontMapper();
7553 wxPyEndAllowThreads(__tstate
);
7554 if (PyErr_Occurred()) SWIG_fail
;
7556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
7563 static PyObject
*_wrap_delete_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7564 PyObject
*resultobj
;
7565 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7566 PyObject
* obj0
= 0 ;
7568 (char *) "self", NULL
7571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
7572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7578 wxPyEndAllowThreads(__tstate
);
7579 if (PyErr_Occurred()) SWIG_fail
;
7581 Py_INCREF(Py_None
); resultobj
= Py_None
;
7588 static PyObject
*_wrap_FontMapper_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7589 PyObject
*resultobj
;
7590 wxFontMapper
*result
;
7595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
7597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7598 result
= (wxFontMapper
*)wxFontMapper::Get();
7600 wxPyEndAllowThreads(__tstate
);
7601 if (PyErr_Occurred()) SWIG_fail
;
7603 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7610 static PyObject
*_wrap_FontMapper_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7611 PyObject
*resultobj
;
7612 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7613 wxFontMapper
*result
;
7614 PyObject
* obj0
= 0 ;
7616 (char *) "mapper", NULL
7619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
7620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7624 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
7626 wxPyEndAllowThreads(__tstate
);
7627 if (PyErr_Occurred()) SWIG_fail
;
7629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7636 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7637 PyObject
*resultobj
;
7638 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7639 wxString
*arg2
= 0 ;
7640 bool arg3
= (bool) True
;
7642 bool temp2
= False
;
7643 PyObject
* obj0
= 0 ;
7644 PyObject
* obj1
= 0 ;
7645 PyObject
* obj2
= 0 ;
7647 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7654 arg2
= wxString_in_helper(obj1
);
7655 if (arg2
== NULL
) SWIG_fail
;
7659 arg3
= (bool) SWIG_AsBool(obj2
);
7660 if (PyErr_Occurred()) SWIG_fail
;
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7664 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
7666 wxPyEndAllowThreads(__tstate
);
7667 if (PyErr_Occurred()) SWIG_fail
;
7669 resultobj
= SWIG_FromInt((int)result
);
7684 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7685 PyObject
*resultobj
;
7691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
7693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7694 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
7696 wxPyEndAllowThreads(__tstate
);
7697 if (PyErr_Occurred()) SWIG_fail
;
7699 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7706 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7707 PyObject
*resultobj
;
7710 PyObject
* obj0
= 0 ;
7715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7716 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
7717 if (PyErr_Occurred()) SWIG_fail
;
7719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7720 result
= (int)wxFontMapper::GetEncoding(arg1
);
7722 wxPyEndAllowThreads(__tstate
);
7723 if (PyErr_Occurred()) SWIG_fail
;
7725 resultobj
= SWIG_FromInt((int)result
);
7732 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7733 PyObject
*resultobj
;
7736 PyObject
* obj0
= 0 ;
7738 (char *) "encoding", NULL
7741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
7742 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7743 if (PyErr_Occurred()) SWIG_fail
;
7745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7746 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7748 wxPyEndAllowThreads(__tstate
);
7749 if (PyErr_Occurred()) SWIG_fail
;
7753 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7755 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7764 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7765 PyObject
*resultobj
;
7768 PyObject
* obj0
= 0 ;
7770 (char *) "encoding", NULL
7773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7774 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7775 if (PyErr_Occurred()) SWIG_fail
;
7777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7778 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7780 wxPyEndAllowThreads(__tstate
);
7781 if (PyErr_Occurred()) SWIG_fail
;
7785 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7787 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7796 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7797 PyObject
*resultobj
;
7798 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7799 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
7800 PyObject
* obj0
= 0 ;
7801 PyObject
* obj1
= 0 ;
7803 (char *) "self",(char *) "config", NULL
7806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7809 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
7810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7813 (arg1
)->SetConfig(arg2
);
7815 wxPyEndAllowThreads(__tstate
);
7816 if (PyErr_Occurred()) SWIG_fail
;
7818 Py_INCREF(Py_None
); resultobj
= Py_None
;
7825 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7826 PyObject
*resultobj
;
7827 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7828 wxString
*arg2
= 0 ;
7829 bool temp2
= False
;
7830 PyObject
* obj0
= 0 ;
7831 PyObject
* obj1
= 0 ;
7833 (char *) "self",(char *) "prefix", NULL
7836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
7837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7840 arg2
= wxString_in_helper(obj1
);
7841 if (arg2
== NULL
) SWIG_fail
;
7845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7846 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
7848 wxPyEndAllowThreads(__tstate
);
7849 if (PyErr_Occurred()) SWIG_fail
;
7851 Py_INCREF(Py_None
); resultobj
= Py_None
;
7866 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7867 PyObject
*resultobj
;
7873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
7875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7876 result
= wxFontMapper::GetDefaultConfigPath();
7878 wxPyEndAllowThreads(__tstate
);
7879 if (PyErr_Occurred()) SWIG_fail
;
7883 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7885 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7894 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7895 PyObject
*resultobj
;
7896 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7898 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7899 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7900 bool arg4
= (bool) True
;
7902 bool temp3
= False
;
7903 PyObject
* obj0
= 0 ;
7904 PyObject
* obj1
= 0 ;
7905 PyObject
* obj2
= 0 ;
7906 PyObject
* obj3
= 0 ;
7908 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7914 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7915 if (PyErr_Occurred()) SWIG_fail
;
7918 arg3
= wxString_in_helper(obj2
);
7919 if (arg3
== NULL
) SWIG_fail
;
7924 arg4
= (bool) SWIG_AsBool(obj3
);
7925 if (PyErr_Occurred()) SWIG_fail
;
7928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7929 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
7931 wxPyEndAllowThreads(__tstate
);
7932 if (PyErr_Occurred()) SWIG_fail
;
7949 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7950 PyObject
*resultobj
;
7951 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7953 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7954 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7956 bool temp3
= False
;
7957 PyObject
* obj0
= 0 ;
7958 PyObject
* obj1
= 0 ;
7959 PyObject
* obj2
= 0 ;
7961 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7967 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7968 if (PyErr_Occurred()) SWIG_fail
;
7971 arg3
= wxString_in_helper(obj2
);
7972 if (arg3
== NULL
) SWIG_fail
;
7977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7978 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
7980 wxPyEndAllowThreads(__tstate
);
7981 if (PyErr_Occurred()) SWIG_fail
;
7984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8000 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8001 PyObject
*resultobj
;
8002 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8003 wxWindow
*arg2
= (wxWindow
*) 0 ;
8004 PyObject
* obj0
= 0 ;
8005 PyObject
* obj1
= 0 ;
8007 (char *) "self",(char *) "parent", NULL
8010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
8011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
8012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8013 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8017 (arg1
)->SetDialogParent(arg2
);
8019 wxPyEndAllowThreads(__tstate
);
8020 if (PyErr_Occurred()) SWIG_fail
;
8022 Py_INCREF(Py_None
); resultobj
= Py_None
;
8029 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8030 PyObject
*resultobj
;
8031 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8032 wxString
*arg2
= 0 ;
8033 bool temp2
= False
;
8034 PyObject
* obj0
= 0 ;
8035 PyObject
* obj1
= 0 ;
8037 (char *) "self",(char *) "title", NULL
8040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
8041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
8042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8044 arg2
= wxString_in_helper(obj1
);
8045 if (arg2
== NULL
) SWIG_fail
;
8049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8050 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
8052 wxPyEndAllowThreads(__tstate
);
8053 if (PyErr_Occurred()) SWIG_fail
;
8055 Py_INCREF(Py_None
); resultobj
= Py_None
;
8070 static PyObject
* FontMapper_swigregister(PyObject
*self
, PyObject
*args
) {
8072 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8073 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
8075 return Py_BuildValue((char *)"");
8077 static PyObject
*_wrap_new_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8078 PyObject
*resultobj
;
8083 bool arg5
= (bool) False
;
8084 wxString
const &arg6_defvalue
= wxPyEmptyString
;
8085 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8086 int arg7
= (int) wxFONTENCODING_DEFAULT
;
8088 bool temp6
= False
;
8089 PyObject
* obj0
= 0 ;
8090 PyObject
* obj1
= 0 ;
8091 PyObject
* obj2
= 0 ;
8092 PyObject
* obj3
= 0 ;
8093 PyObject
* obj4
= 0 ;
8094 PyObject
* obj5
= 0 ;
8095 PyObject
* obj6
= 0 ;
8097 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
8100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8101 arg1
= (int) SWIG_AsInt(obj0
);
8102 if (PyErr_Occurred()) SWIG_fail
;
8103 arg2
= (int) SWIG_AsInt(obj1
);
8104 if (PyErr_Occurred()) SWIG_fail
;
8105 arg3
= (int) SWIG_AsInt(obj2
);
8106 if (PyErr_Occurred()) SWIG_fail
;
8107 arg4
= (int) SWIG_AsInt(obj3
);
8108 if (PyErr_Occurred()) SWIG_fail
;
8110 arg5
= (bool) SWIG_AsBool(obj4
);
8111 if (PyErr_Occurred()) SWIG_fail
;
8115 arg6
= wxString_in_helper(obj5
);
8116 if (arg6
== NULL
) SWIG_fail
;
8121 arg7
= (wxFontEncoding
) SWIG_AsInt(obj6
);
8122 if (PyErr_Occurred()) SWIG_fail
;
8125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8126 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
8128 wxPyEndAllowThreads(__tstate
);
8129 if (PyErr_Occurred()) SWIG_fail
;
8131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8146 static PyObject
*_wrap_delete_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8147 PyObject
*resultobj
;
8148 wxFont
*arg1
= (wxFont
*) 0 ;
8149 PyObject
* obj0
= 0 ;
8151 (char *) "self", NULL
8154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
8155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8161 wxPyEndAllowThreads(__tstate
);
8162 if (PyErr_Occurred()) SWIG_fail
;
8164 Py_INCREF(Py_None
); resultobj
= Py_None
;
8171 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8172 PyObject
*resultobj
;
8173 wxNativeFontInfo
*arg1
= 0 ;
8175 PyObject
* obj0
= 0 ;
8177 (char *) "info", NULL
8180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
8181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
8182 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8185 PyErr_SetString(PyExc_TypeError
,"null reference");
8189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8190 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
8192 wxPyEndAllowThreads(__tstate
);
8193 if (PyErr_Occurred()) SWIG_fail
;
8195 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8202 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8203 PyObject
*resultobj
;
8204 wxString
*arg1
= 0 ;
8206 bool temp1
= False
;
8207 PyObject
* obj0
= 0 ;
8209 (char *) "info", NULL
8212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
8214 arg1
= wxString_in_helper(obj0
);
8215 if (arg1
== NULL
) SWIG_fail
;
8219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8220 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
8222 wxPyEndAllowThreads(__tstate
);
8223 if (PyErr_Occurred()) SWIG_fail
;
8225 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8240 static PyObject
*_wrap_new_Font2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8241 PyObject
*resultobj
;
8244 int arg3
= (int) wxFONTFLAG_DEFAULT
;
8245 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8246 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8247 int arg5
= (int) wxFONTENCODING_DEFAULT
;
8249 bool temp4
= False
;
8250 PyObject
* obj0
= 0 ;
8251 PyObject
* obj1
= 0 ;
8252 PyObject
* obj2
= 0 ;
8253 PyObject
* obj3
= 0 ;
8254 PyObject
* obj4
= 0 ;
8256 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
8259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8260 arg1
= (int) SWIG_AsInt(obj0
);
8261 if (PyErr_Occurred()) SWIG_fail
;
8262 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
8263 if (PyErr_Occurred()) SWIG_fail
;
8265 arg3
= (int) SWIG_AsInt(obj2
);
8266 if (PyErr_Occurred()) SWIG_fail
;
8270 arg4
= wxString_in_helper(obj3
);
8271 if (arg4
== NULL
) SWIG_fail
;
8276 arg5
= (wxFontEncoding
) SWIG_AsInt(obj4
);
8277 if (PyErr_Occurred()) SWIG_fail
;
8280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8281 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
8283 wxPyEndAllowThreads(__tstate
);
8284 if (PyErr_Occurred()) SWIG_fail
;
8286 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8301 static PyObject
*_wrap_Font_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8302 PyObject
*resultobj
;
8303 wxFont
*arg1
= (wxFont
*) 0 ;
8305 PyObject
* obj0
= 0 ;
8307 (char *) "self", NULL
8310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
8311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8315 result
= (bool)((wxFont
const *)arg1
)->Ok();
8317 wxPyEndAllowThreads(__tstate
);
8318 if (PyErr_Occurred()) SWIG_fail
;
8321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8329 static PyObject
*_wrap_Font___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8330 PyObject
*resultobj
;
8331 wxFont
*arg1
= (wxFont
*) 0 ;
8332 wxFont
*arg2
= (wxFont
*) 0 ;
8334 PyObject
* obj0
= 0 ;
8335 PyObject
* obj1
= 0 ;
8337 (char *) "self",(char *) "other", NULL
8340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
8341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8343 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
8344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8347 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
8349 wxPyEndAllowThreads(__tstate
);
8350 if (PyErr_Occurred()) SWIG_fail
;
8353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8361 static PyObject
*_wrap_Font___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8362 PyObject
*resultobj
;
8363 wxFont
*arg1
= (wxFont
*) 0 ;
8364 wxFont
*arg2
= (wxFont
*) 0 ;
8366 PyObject
* obj0
= 0 ;
8367 PyObject
* obj1
= 0 ;
8369 (char *) "self",(char *) "other", NULL
8372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
8373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8375 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
8376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8379 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
8381 wxPyEndAllowThreads(__tstate
);
8382 if (PyErr_Occurred()) SWIG_fail
;
8385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8393 static PyObject
*_wrap_Font_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8394 PyObject
*resultobj
;
8395 wxFont
*arg1
= (wxFont
*) 0 ;
8397 PyObject
* obj0
= 0 ;
8399 (char *) "self", NULL
8402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
8403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8407 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
8409 wxPyEndAllowThreads(__tstate
);
8410 if (PyErr_Occurred()) SWIG_fail
;
8412 resultobj
= SWIG_FromInt((int)result
);
8419 static PyObject
*_wrap_Font_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8420 PyObject
*resultobj
;
8421 wxFont
*arg1
= (wxFont
*) 0 ;
8423 PyObject
* obj0
= 0 ;
8425 (char *) "self", NULL
8428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
8429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8433 result
= (int)((wxFont
const *)arg1
)->GetFamily();
8435 wxPyEndAllowThreads(__tstate
);
8436 if (PyErr_Occurred()) SWIG_fail
;
8438 resultobj
= SWIG_FromInt((int)result
);
8445 static PyObject
*_wrap_Font_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8446 PyObject
*resultobj
;
8447 wxFont
*arg1
= (wxFont
*) 0 ;
8449 PyObject
* obj0
= 0 ;
8451 (char *) "self", NULL
8454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
8455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8459 result
= (int)((wxFont
const *)arg1
)->GetStyle();
8461 wxPyEndAllowThreads(__tstate
);
8462 if (PyErr_Occurred()) SWIG_fail
;
8464 resultobj
= SWIG_FromInt((int)result
);
8471 static PyObject
*_wrap_Font_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8472 PyObject
*resultobj
;
8473 wxFont
*arg1
= (wxFont
*) 0 ;
8475 PyObject
* obj0
= 0 ;
8477 (char *) "self", NULL
8480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
8481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8485 result
= (int)((wxFont
const *)arg1
)->GetWeight();
8487 wxPyEndAllowThreads(__tstate
);
8488 if (PyErr_Occurred()) SWIG_fail
;
8490 resultobj
= SWIG_FromInt((int)result
);
8497 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8498 PyObject
*resultobj
;
8499 wxFont
*arg1
= (wxFont
*) 0 ;
8501 PyObject
* obj0
= 0 ;
8503 (char *) "self", NULL
8506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
8507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8511 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
8513 wxPyEndAllowThreads(__tstate
);
8514 if (PyErr_Occurred()) SWIG_fail
;
8517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8525 static PyObject
*_wrap_Font_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8526 PyObject
*resultobj
;
8527 wxFont
*arg1
= (wxFont
*) 0 ;
8529 PyObject
* obj0
= 0 ;
8531 (char *) "self", NULL
8534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
8535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8539 result
= ((wxFont
const *)arg1
)->GetFaceName();
8541 wxPyEndAllowThreads(__tstate
);
8542 if (PyErr_Occurred()) SWIG_fail
;
8546 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8548 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8557 static PyObject
*_wrap_Font_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8558 PyObject
*resultobj
;
8559 wxFont
*arg1
= (wxFont
*) 0 ;
8561 PyObject
* obj0
= 0 ;
8563 (char *) "self", NULL
8566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
8567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8571 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
8573 wxPyEndAllowThreads(__tstate
);
8574 if (PyErr_Occurred()) SWIG_fail
;
8576 resultobj
= SWIG_FromInt((int)result
);
8583 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8584 PyObject
*resultobj
;
8585 wxFont
*arg1
= (wxFont
*) 0 ;
8586 wxNativeFontInfo
*result
;
8587 PyObject
* obj0
= 0 ;
8589 (char *) "self", NULL
8592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
8593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8597 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
8599 wxPyEndAllowThreads(__tstate
);
8600 if (PyErr_Occurred()) SWIG_fail
;
8602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
8609 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8610 PyObject
*resultobj
;
8611 wxFont
*arg1
= (wxFont
*) 0 ;
8613 PyObject
* obj0
= 0 ;
8615 (char *) "self", NULL
8618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
8619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8623 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
8625 wxPyEndAllowThreads(__tstate
);
8626 if (PyErr_Occurred()) SWIG_fail
;
8629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8637 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8638 PyObject
*resultobj
;
8639 wxFont
*arg1
= (wxFont
*) 0 ;
8641 PyObject
* obj0
= 0 ;
8643 (char *) "self", NULL
8646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
8647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8651 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
8653 wxPyEndAllowThreads(__tstate
);
8654 if (PyErr_Occurred()) SWIG_fail
;
8658 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8660 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8669 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8670 PyObject
*resultobj
;
8671 wxFont
*arg1
= (wxFont
*) 0 ;
8673 PyObject
* obj0
= 0 ;
8675 (char *) "self", NULL
8678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
8679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8683 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
8685 wxPyEndAllowThreads(__tstate
);
8686 if (PyErr_Occurred()) SWIG_fail
;
8690 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8692 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8701 static PyObject
*_wrap_Font_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8702 PyObject
*resultobj
;
8703 wxFont
*arg1
= (wxFont
*) 0 ;
8705 PyObject
* obj0
= 0 ;
8706 PyObject
* obj1
= 0 ;
8708 (char *) "self",(char *) "pointSize", NULL
8711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8714 arg2
= (int) SWIG_AsInt(obj1
);
8715 if (PyErr_Occurred()) SWIG_fail
;
8717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8718 (arg1
)->SetPointSize(arg2
);
8720 wxPyEndAllowThreads(__tstate
);
8721 if (PyErr_Occurred()) SWIG_fail
;
8723 Py_INCREF(Py_None
); resultobj
= Py_None
;
8730 static PyObject
*_wrap_Font_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8731 PyObject
*resultobj
;
8732 wxFont
*arg1
= (wxFont
*) 0 ;
8734 PyObject
* obj0
= 0 ;
8735 PyObject
* obj1
= 0 ;
8737 (char *) "self",(char *) "family", NULL
8740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8743 arg2
= (int) SWIG_AsInt(obj1
);
8744 if (PyErr_Occurred()) SWIG_fail
;
8746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8747 (arg1
)->SetFamily(arg2
);
8749 wxPyEndAllowThreads(__tstate
);
8750 if (PyErr_Occurred()) SWIG_fail
;
8752 Py_INCREF(Py_None
); resultobj
= Py_None
;
8759 static PyObject
*_wrap_Font_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8760 PyObject
*resultobj
;
8761 wxFont
*arg1
= (wxFont
*) 0 ;
8763 PyObject
* obj0
= 0 ;
8764 PyObject
* obj1
= 0 ;
8766 (char *) "self",(char *) "style", NULL
8769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8772 arg2
= (int) SWIG_AsInt(obj1
);
8773 if (PyErr_Occurred()) SWIG_fail
;
8775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8776 (arg1
)->SetStyle(arg2
);
8778 wxPyEndAllowThreads(__tstate
);
8779 if (PyErr_Occurred()) SWIG_fail
;
8781 Py_INCREF(Py_None
); resultobj
= Py_None
;
8788 static PyObject
*_wrap_Font_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8789 PyObject
*resultobj
;
8790 wxFont
*arg1
= (wxFont
*) 0 ;
8792 PyObject
* obj0
= 0 ;
8793 PyObject
* obj1
= 0 ;
8795 (char *) "self",(char *) "weight", NULL
8798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8801 arg2
= (int) SWIG_AsInt(obj1
);
8802 if (PyErr_Occurred()) SWIG_fail
;
8804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8805 (arg1
)->SetWeight(arg2
);
8807 wxPyEndAllowThreads(__tstate
);
8808 if (PyErr_Occurred()) SWIG_fail
;
8810 Py_INCREF(Py_None
); resultobj
= Py_None
;
8817 static PyObject
*_wrap_Font_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8818 PyObject
*resultobj
;
8819 wxFont
*arg1
= (wxFont
*) 0 ;
8820 wxString
*arg2
= 0 ;
8821 bool temp2
= False
;
8822 PyObject
* obj0
= 0 ;
8823 PyObject
* obj1
= 0 ;
8825 (char *) "self",(char *) "faceName", NULL
8828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8832 arg2
= wxString_in_helper(obj1
);
8833 if (arg2
== NULL
) SWIG_fail
;
8837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8838 (arg1
)->SetFaceName((wxString
const &)*arg2
);
8840 wxPyEndAllowThreads(__tstate
);
8841 if (PyErr_Occurred()) SWIG_fail
;
8843 Py_INCREF(Py_None
); resultobj
= Py_None
;
8858 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8859 PyObject
*resultobj
;
8860 wxFont
*arg1
= (wxFont
*) 0 ;
8862 PyObject
* obj0
= 0 ;
8863 PyObject
* obj1
= 0 ;
8865 (char *) "self",(char *) "underlined", NULL
8868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8871 arg2
= (bool) SWIG_AsBool(obj1
);
8872 if (PyErr_Occurred()) SWIG_fail
;
8874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8875 (arg1
)->SetUnderlined(arg2
);
8877 wxPyEndAllowThreads(__tstate
);
8878 if (PyErr_Occurred()) SWIG_fail
;
8880 Py_INCREF(Py_None
); resultobj
= Py_None
;
8887 static PyObject
*_wrap_Font_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8888 PyObject
*resultobj
;
8889 wxFont
*arg1
= (wxFont
*) 0 ;
8891 PyObject
* obj0
= 0 ;
8892 PyObject
* obj1
= 0 ;
8894 (char *) "self",(char *) "encoding", NULL
8897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8900 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8901 if (PyErr_Occurred()) SWIG_fail
;
8903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8904 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8906 wxPyEndAllowThreads(__tstate
);
8907 if (PyErr_Occurred()) SWIG_fail
;
8909 Py_INCREF(Py_None
); resultobj
= Py_None
;
8916 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8917 PyObject
*resultobj
;
8918 wxFont
*arg1
= (wxFont
*) 0 ;
8919 wxNativeFontInfo
*arg2
= 0 ;
8920 PyObject
* obj0
= 0 ;
8921 PyObject
* obj1
= 0 ;
8923 (char *) "self",(char *) "info", NULL
8926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
8927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8929 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
8930 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8933 PyErr_SetString(PyExc_TypeError
,"null reference");
8937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8938 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
8940 wxPyEndAllowThreads(__tstate
);
8941 if (PyErr_Occurred()) SWIG_fail
;
8943 Py_INCREF(Py_None
); resultobj
= Py_None
;
8950 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8951 PyObject
*resultobj
;
8952 wxFont
*arg1
= (wxFont
*) 0 ;
8953 wxString
*arg2
= 0 ;
8954 bool temp2
= False
;
8955 PyObject
* obj0
= 0 ;
8956 PyObject
* obj1
= 0 ;
8958 (char *) "self",(char *) "info", NULL
8961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8965 arg2
= wxString_in_helper(obj1
);
8966 if (arg2
== NULL
) SWIG_fail
;
8970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8971 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
8973 wxPyEndAllowThreads(__tstate
);
8974 if (PyErr_Occurred()) SWIG_fail
;
8976 Py_INCREF(Py_None
); resultobj
= Py_None
;
8991 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8992 PyObject
*resultobj
;
8993 wxFont
*arg1
= (wxFont
*) 0 ;
8994 wxString
*arg2
= 0 ;
8995 bool temp2
= False
;
8996 PyObject
* obj0
= 0 ;
8997 PyObject
* obj1
= 0 ;
8999 (char *) "self",(char *) "info", NULL
9002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
9003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9006 arg2
= wxString_in_helper(obj1
);
9007 if (arg2
== NULL
) SWIG_fail
;
9011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9012 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
9014 wxPyEndAllowThreads(__tstate
);
9015 if (PyErr_Occurred()) SWIG_fail
;
9017 Py_INCREF(Py_None
); resultobj
= Py_None
;
9032 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9033 PyObject
*resultobj
;
9034 wxFont
*arg1
= (wxFont
*) 0 ;
9036 PyObject
* obj0
= 0 ;
9038 (char *) "self", NULL
9041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
9042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9046 result
= ((wxFont
const *)arg1
)->GetFamilyString();
9048 wxPyEndAllowThreads(__tstate
);
9049 if (PyErr_Occurred()) SWIG_fail
;
9053 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9055 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9064 static PyObject
*_wrap_Font_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9065 PyObject
*resultobj
;
9066 wxFont
*arg1
= (wxFont
*) 0 ;
9068 PyObject
* obj0
= 0 ;
9070 (char *) "self", NULL
9073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
9074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9078 result
= ((wxFont
const *)arg1
)->GetStyleString();
9080 wxPyEndAllowThreads(__tstate
);
9081 if (PyErr_Occurred()) SWIG_fail
;
9085 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9087 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9096 static PyObject
*_wrap_Font_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9097 PyObject
*resultobj
;
9098 wxFont
*arg1
= (wxFont
*) 0 ;
9100 PyObject
* obj0
= 0 ;
9102 (char *) "self", NULL
9105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
9106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9110 result
= ((wxFont
const *)arg1
)->GetWeightString();
9112 wxPyEndAllowThreads(__tstate
);
9113 if (PyErr_Occurred()) SWIG_fail
;
9117 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9119 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9128 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9129 PyObject
*resultobj
;
9130 wxFont
*arg1
= (wxFont
*) 0 ;
9131 bool arg2
= (bool) True
;
9132 PyObject
* obj0
= 0 ;
9133 PyObject
* obj1
= 0 ;
9135 (char *) "self",(char *) "no", NULL
9138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
9139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9142 arg2
= (bool) SWIG_AsBool(obj1
);
9143 if (PyErr_Occurred()) SWIG_fail
;
9146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9147 (arg1
)->SetNoAntiAliasing(arg2
);
9149 wxPyEndAllowThreads(__tstate
);
9150 if (PyErr_Occurred()) SWIG_fail
;
9152 Py_INCREF(Py_None
); resultobj
= Py_None
;
9159 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9160 PyObject
*resultobj
;
9161 wxFont
*arg1
= (wxFont
*) 0 ;
9163 PyObject
* obj0
= 0 ;
9165 (char *) "self", NULL
9168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
9169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9173 result
= (bool)(arg1
)->GetNoAntiAliasing();
9175 wxPyEndAllowThreads(__tstate
);
9176 if (PyErr_Occurred()) SWIG_fail
;
9179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9187 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9188 PyObject
*resultobj
;
9194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
9196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9197 result
= (int)wxFont::GetDefaultEncoding();
9199 wxPyEndAllowThreads(__tstate
);
9200 if (PyErr_Occurred()) SWIG_fail
;
9202 resultobj
= SWIG_FromInt((int)result
);
9209 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9210 PyObject
*resultobj
;
9212 PyObject
* obj0
= 0 ;
9214 (char *) "encoding", NULL
9217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
9218 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9222 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
9224 wxPyEndAllowThreads(__tstate
);
9225 if (PyErr_Occurred()) SWIG_fail
;
9227 Py_INCREF(Py_None
); resultobj
= Py_None
;
9234 static PyObject
* Font_swigregister(PyObject
*self
, PyObject
*args
) {
9236 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9237 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
9239 return Py_BuildValue((char *)"");
9241 static PyObject
*_wrap_new_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9242 PyObject
*resultobj
;
9243 wxPyFontEnumerator
*result
;
9248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
9250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9251 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
9253 wxPyEndAllowThreads(__tstate
);
9254 if (PyErr_Occurred()) SWIG_fail
;
9256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
9263 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9264 PyObject
*resultobj
;
9265 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9266 PyObject
* obj0
= 0 ;
9268 (char *) "self", NULL
9271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
9272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9278 wxPyEndAllowThreads(__tstate
);
9279 if (PyErr_Occurred()) SWIG_fail
;
9281 Py_INCREF(Py_None
); resultobj
= Py_None
;
9288 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9289 PyObject
*resultobj
;
9290 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9291 PyObject
*arg2
= (PyObject
*) 0 ;
9292 PyObject
*arg3
= (PyObject
*) 0 ;
9294 PyObject
* obj0
= 0 ;
9295 PyObject
* obj1
= 0 ;
9296 PyObject
* obj2
= 0 ;
9297 PyObject
* obj3
= 0 ;
9299 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
9302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9307 arg4
= (bool) SWIG_AsBool(obj3
);
9308 if (PyErr_Occurred()) SWIG_fail
;
9310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9311 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
9313 wxPyEndAllowThreads(__tstate
);
9314 if (PyErr_Occurred()) SWIG_fail
;
9316 Py_INCREF(Py_None
); resultobj
= Py_None
;
9323 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9324 PyObject
*resultobj
;
9325 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9326 int arg2
= (int) wxFONTENCODING_SYSTEM
;
9327 bool arg3
= (bool) False
;
9329 PyObject
* obj0
= 0 ;
9330 PyObject
* obj1
= 0 ;
9331 PyObject
* obj2
= 0 ;
9333 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
9336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9340 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
9341 if (PyErr_Occurred()) SWIG_fail
;
9344 arg3
= (bool) SWIG_AsBool(obj2
);
9345 if (PyErr_Occurred()) SWIG_fail
;
9348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9349 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
9351 wxPyEndAllowThreads(__tstate
);
9352 if (PyErr_Occurred()) SWIG_fail
;
9355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9363 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9364 PyObject
*resultobj
;
9365 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9366 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9367 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9369 bool temp2
= False
;
9370 PyObject
* obj0
= 0 ;
9371 PyObject
* obj1
= 0 ;
9373 (char *) "self",(char *) "facename", NULL
9376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
9377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9381 arg2
= wxString_in_helper(obj1
);
9382 if (arg2
== NULL
) SWIG_fail
;
9387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9388 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
9390 wxPyEndAllowThreads(__tstate
);
9391 if (PyErr_Occurred()) SWIG_fail
;
9394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9410 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9411 PyObject
*resultobj
;
9412 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9414 PyObject
* obj0
= 0 ;
9416 (char *) "self", NULL
9419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
9420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9424 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
9426 wxPyEndAllowThreads(__tstate
);
9427 if (PyErr_Occurred()) SWIG_fail
;
9436 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9437 PyObject
*resultobj
;
9438 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9440 PyObject
* obj0
= 0 ;
9442 (char *) "self", NULL
9445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
9446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9450 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
9452 wxPyEndAllowThreads(__tstate
);
9453 if (PyErr_Occurred()) SWIG_fail
;
9462 static PyObject
* FontEnumerator_swigregister(PyObject
*self
, PyObject
*args
) {
9464 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9465 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
9467 return Py_BuildValue((char *)"");
9469 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9470 PyObject
*resultobj
;
9471 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9473 PyObject
* obj0
= 0 ;
9474 PyObject
* obj1
= 0 ;
9476 (char *) "self",(char *) "Language", NULL
9479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9482 arg2
= (int) SWIG_AsInt(obj1
);
9483 if (PyErr_Occurred()) SWIG_fail
;
9484 if (arg1
) (arg1
)->Language
= arg2
;
9486 Py_INCREF(Py_None
); resultobj
= Py_None
;
9493 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9494 PyObject
*resultobj
;
9495 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9497 PyObject
* obj0
= 0 ;
9499 (char *) "self", NULL
9502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
9503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9505 result
= (int) ((arg1
)->Language
);
9507 resultobj
= SWIG_FromInt((int)result
);
9514 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9515 PyObject
*resultobj
;
9516 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9517 wxString
*arg2
= (wxString
*) 0 ;
9518 bool temp2
= False
;
9519 PyObject
* obj0
= 0 ;
9520 PyObject
* obj1
= 0 ;
9522 (char *) "self",(char *) "CanonicalName", NULL
9525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9529 arg2
= wxString_in_helper(obj1
);
9530 if (arg2
== NULL
) SWIG_fail
;
9533 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
9535 Py_INCREF(Py_None
); resultobj
= Py_None
;
9550 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9551 PyObject
*resultobj
;
9552 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9554 PyObject
* obj0
= 0 ;
9556 (char *) "self", NULL
9559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
9560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9562 result
= (wxString
*)& ((arg1
)->CanonicalName
);
9566 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9568 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9577 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9578 PyObject
*resultobj
;
9579 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9580 wxString
*arg2
= (wxString
*) 0 ;
9581 bool temp2
= False
;
9582 PyObject
* obj0
= 0 ;
9583 PyObject
* obj1
= 0 ;
9585 (char *) "self",(char *) "Description", NULL
9588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9592 arg2
= wxString_in_helper(obj1
);
9593 if (arg2
== NULL
) SWIG_fail
;
9596 if (arg1
) (arg1
)->Description
= *arg2
;
9598 Py_INCREF(Py_None
); resultobj
= Py_None
;
9613 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9614 PyObject
*resultobj
;
9615 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9617 PyObject
* obj0
= 0 ;
9619 (char *) "self", NULL
9622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
9623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9625 result
= (wxString
*)& ((arg1
)->Description
);
9629 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9631 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9640 static PyObject
* LanguageInfo_swigregister(PyObject
*self
, PyObject
*args
) {
9642 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9643 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
9645 return Py_BuildValue((char *)"");
9647 static PyObject
*_wrap_new_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9648 PyObject
*resultobj
;
9649 int arg1
= (int) wxLANGUAGE_DEFAULT
;
9650 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9652 PyObject
* obj0
= 0 ;
9653 PyObject
* obj1
= 0 ;
9655 (char *) "language",(char *) "flags", NULL
9658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
9660 arg1
= (int) SWIG_AsInt(obj0
);
9661 if (PyErr_Occurred()) SWIG_fail
;
9664 arg2
= (int) SWIG_AsInt(obj1
);
9665 if (PyErr_Occurred()) SWIG_fail
;
9668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9669 result
= (wxLocale
*)new wxLocale(arg1
,arg2
);
9671 wxPyEndAllowThreads(__tstate
);
9672 if (PyErr_Occurred()) SWIG_fail
;
9674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
9681 static PyObject
*_wrap_delete_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9682 PyObject
*resultobj
;
9683 wxLocale
*arg1
= (wxLocale
*) 0 ;
9684 PyObject
* obj0
= 0 ;
9686 (char *) "self", NULL
9689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
9690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9696 wxPyEndAllowThreads(__tstate
);
9697 if (PyErr_Occurred()) SWIG_fail
;
9699 Py_INCREF(Py_None
); resultobj
= Py_None
;
9706 static PyObject
*_wrap_Locale_Init1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9707 PyObject
*resultobj
;
9708 wxLocale
*arg1
= (wxLocale
*) 0 ;
9709 wxString
*arg2
= 0 ;
9710 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9711 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9712 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9713 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9714 bool arg5
= (bool) True
;
9715 bool arg6
= (bool) False
;
9717 bool temp2
= False
;
9718 bool temp3
= False
;
9719 bool temp4
= False
;
9720 PyObject
* obj0
= 0 ;
9721 PyObject
* obj1
= 0 ;
9722 PyObject
* obj2
= 0 ;
9723 PyObject
* obj3
= 0 ;
9724 PyObject
* obj4
= 0 ;
9725 PyObject
* obj5
= 0 ;
9727 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9734 arg2
= wxString_in_helper(obj1
);
9735 if (arg2
== NULL
) SWIG_fail
;
9740 arg3
= wxString_in_helper(obj2
);
9741 if (arg3
== NULL
) SWIG_fail
;
9747 arg4
= wxString_in_helper(obj3
);
9748 if (arg4
== NULL
) SWIG_fail
;
9753 arg5
= (bool) SWIG_AsBool(obj4
);
9754 if (PyErr_Occurred()) SWIG_fail
;
9757 arg6
= (bool) SWIG_AsBool(obj5
);
9758 if (PyErr_Occurred()) SWIG_fail
;
9761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9762 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
9764 wxPyEndAllowThreads(__tstate
);
9765 if (PyErr_Occurred()) SWIG_fail
;
9768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9800 static PyObject
*_wrap_Locale_Init2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9801 PyObject
*resultobj
;
9802 wxLocale
*arg1
= (wxLocale
*) 0 ;
9803 int arg2
= (int) wxLANGUAGE_DEFAULT
;
9804 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9806 PyObject
* obj0
= 0 ;
9807 PyObject
* obj1
= 0 ;
9808 PyObject
* obj2
= 0 ;
9810 (char *) "self",(char *) "language",(char *) "flags", NULL
9813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9817 arg2
= (int) SWIG_AsInt(obj1
);
9818 if (PyErr_Occurred()) SWIG_fail
;
9821 arg3
= (int) SWIG_AsInt(obj2
);
9822 if (PyErr_Occurred()) SWIG_fail
;
9825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9826 result
= (bool)(arg1
)->Init(arg2
,arg3
);
9828 wxPyEndAllowThreads(__tstate
);
9829 if (PyErr_Occurred()) SWIG_fail
;
9832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9840 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9841 PyObject
*resultobj
;
9847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
9849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9850 result
= (int)wxLocale::GetSystemLanguage();
9852 wxPyEndAllowThreads(__tstate
);
9853 if (PyErr_Occurred()) SWIG_fail
;
9855 resultobj
= SWIG_FromInt((int)result
);
9862 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9863 PyObject
*resultobj
;
9869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
9871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9872 result
= (int)wxLocale::GetSystemEncoding();
9874 wxPyEndAllowThreads(__tstate
);
9875 if (PyErr_Occurred()) SWIG_fail
;
9877 resultobj
= SWIG_FromInt((int)result
);
9884 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9885 PyObject
*resultobj
;
9891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
9893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9894 result
= wxLocale::GetSystemEncodingName();
9896 wxPyEndAllowThreads(__tstate
);
9897 if (PyErr_Occurred()) SWIG_fail
;
9901 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9903 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9912 static PyObject
*_wrap_Locale_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9913 PyObject
*resultobj
;
9914 wxLocale
*arg1
= (wxLocale
*) 0 ;
9916 PyObject
* obj0
= 0 ;
9918 (char *) "self", NULL
9921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
9922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9926 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
9928 wxPyEndAllowThreads(__tstate
);
9929 if (PyErr_Occurred()) SWIG_fail
;
9932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9940 static PyObject
*_wrap_Locale_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9941 PyObject
*resultobj
;
9942 wxLocale
*arg1
= (wxLocale
*) 0 ;
9944 PyObject
* obj0
= 0 ;
9946 (char *) "self", NULL
9949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
9950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9954 result
= ((wxLocale
const *)arg1
)->GetLocale();
9956 wxPyEndAllowThreads(__tstate
);
9957 if (PyErr_Occurred()) SWIG_fail
;
9961 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9963 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9972 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9973 PyObject
*resultobj
;
9974 wxLocale
*arg1
= (wxLocale
*) 0 ;
9976 PyObject
* obj0
= 0 ;
9978 (char *) "self", NULL
9981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
9982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9986 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
9988 wxPyEndAllowThreads(__tstate
);
9989 if (PyErr_Occurred()) SWIG_fail
;
9991 resultobj
= SWIG_FromInt((int)result
);
9998 static PyObject
*_wrap_Locale_GetSysName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9999 PyObject
*resultobj
;
10000 wxLocale
*arg1
= (wxLocale
*) 0 ;
10002 PyObject
* obj0
= 0 ;
10003 char *kwnames
[] = {
10004 (char *) "self", NULL
10007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
10008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10012 result
= ((wxLocale
const *)arg1
)->GetSysName();
10014 wxPyEndAllowThreads(__tstate
);
10015 if (PyErr_Occurred()) SWIG_fail
;
10019 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10021 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10030 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10031 PyObject
*resultobj
;
10032 wxLocale
*arg1
= (wxLocale
*) 0 ;
10034 PyObject
* obj0
= 0 ;
10035 char *kwnames
[] = {
10036 (char *) "self", NULL
10039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
10040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10044 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
10046 wxPyEndAllowThreads(__tstate
);
10047 if (PyErr_Occurred()) SWIG_fail
;
10051 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10053 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10062 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10063 PyObject
*resultobj
;
10064 wxString
*arg1
= 0 ;
10065 bool temp1
= False
;
10066 PyObject
* obj0
= 0 ;
10067 char *kwnames
[] = {
10068 (char *) "prefix", NULL
10071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
10073 arg1
= wxString_in_helper(obj0
);
10074 if (arg1
== NULL
) SWIG_fail
;
10078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10079 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
10081 wxPyEndAllowThreads(__tstate
);
10082 if (PyErr_Occurred()) SWIG_fail
;
10084 Py_INCREF(Py_None
); resultobj
= Py_None
;
10099 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10100 PyObject
*resultobj
;
10101 wxLocale
*arg1
= (wxLocale
*) 0 ;
10102 wxString
*arg2
= 0 ;
10104 bool temp2
= False
;
10105 PyObject
* obj0
= 0 ;
10106 PyObject
* obj1
= 0 ;
10107 char *kwnames
[] = {
10108 (char *) "self",(char *) "szDomain", NULL
10111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
10112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10115 arg2
= wxString_in_helper(obj1
);
10116 if (arg2
== NULL
) SWIG_fail
;
10120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10121 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
10123 wxPyEndAllowThreads(__tstate
);
10124 if (PyErr_Occurred()) SWIG_fail
;
10127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10143 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10144 PyObject
*resultobj
;
10145 wxLocale
*arg1
= (wxLocale
*) 0 ;
10146 wxString
*arg2
= 0 ;
10148 bool temp2
= False
;
10149 PyObject
* obj0
= 0 ;
10150 PyObject
* obj1
= 0 ;
10151 char *kwnames
[] = {
10152 (char *) "self",(char *) "szDomain", NULL
10155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
10156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10159 arg2
= wxString_in_helper(obj1
);
10160 if (arg2
== NULL
) SWIG_fail
;
10164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10165 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
10167 wxPyEndAllowThreads(__tstate
);
10168 if (PyErr_Occurred()) SWIG_fail
;
10171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10187 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10188 PyObject
*resultobj
;
10190 wxLanguageInfo
*result
;
10191 PyObject
* obj0
= 0 ;
10192 char *kwnames
[] = {
10193 (char *) "lang", NULL
10196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
10197 arg1
= (int) SWIG_AsInt(obj0
);
10198 if (PyErr_Occurred()) SWIG_fail
;
10200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10201 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
10203 wxPyEndAllowThreads(__tstate
);
10204 if (PyErr_Occurred()) SWIG_fail
;
10206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
10213 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10214 PyObject
*resultobj
;
10217 PyObject
* obj0
= 0 ;
10218 char *kwnames
[] = {
10219 (char *) "lang", NULL
10222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
10223 arg1
= (int) SWIG_AsInt(obj0
);
10224 if (PyErr_Occurred()) SWIG_fail
;
10226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10227 result
= wxLocale::GetLanguageName(arg1
);
10229 wxPyEndAllowThreads(__tstate
);
10230 if (PyErr_Occurred()) SWIG_fail
;
10234 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10236 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10245 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10246 PyObject
*resultobj
;
10247 wxString
*arg1
= 0 ;
10248 wxLanguageInfo
*result
;
10249 bool temp1
= False
;
10250 PyObject
* obj0
= 0 ;
10251 char *kwnames
[] = {
10252 (char *) "locale", NULL
10255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
10257 arg1
= wxString_in_helper(obj0
);
10258 if (arg1
== NULL
) SWIG_fail
;
10262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10263 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
10265 wxPyEndAllowThreads(__tstate
);
10266 if (PyErr_Occurred()) SWIG_fail
;
10268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
10283 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10284 PyObject
*resultobj
;
10285 wxLanguageInfo
*arg1
= 0 ;
10286 PyObject
* obj0
= 0 ;
10287 char *kwnames
[] = {
10288 (char *) "info", NULL
10291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
10292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
10293 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10295 if (arg1
== NULL
) {
10296 PyErr_SetString(PyExc_TypeError
,"null reference");
10300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10301 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
10303 wxPyEndAllowThreads(__tstate
);
10304 if (PyErr_Occurred()) SWIG_fail
;
10306 Py_INCREF(Py_None
); resultobj
= Py_None
;
10313 static PyObject
*_wrap_Locale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10314 PyObject
*resultobj
;
10315 wxLocale
*arg1
= (wxLocale
*) 0 ;
10316 wxString
*arg2
= 0 ;
10317 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10318 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10320 bool temp2
= False
;
10321 bool temp3
= False
;
10322 PyObject
* obj0
= 0 ;
10323 PyObject
* obj1
= 0 ;
10324 PyObject
* obj2
= 0 ;
10325 char *kwnames
[] = {
10326 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
10329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10333 arg2
= wxString_in_helper(obj1
);
10334 if (arg2
== NULL
) SWIG_fail
;
10339 arg3
= wxString_in_helper(obj2
);
10340 if (arg3
== NULL
) SWIG_fail
;
10345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10346 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10348 wxPyEndAllowThreads(__tstate
);
10349 if (PyErr_Occurred()) SWIG_fail
;
10353 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10355 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10380 static PyObject
*_wrap_Locale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10381 PyObject
*resultobj
;
10382 wxLocale
*arg1
= (wxLocale
*) 0 ;
10384 PyObject
* obj0
= 0 ;
10385 char *kwnames
[] = {
10386 (char *) "self", NULL
10389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
10390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10395 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
10396 result
= (wxString
*) &_result_ref
;
10399 wxPyEndAllowThreads(__tstate
);
10400 if (PyErr_Occurred()) SWIG_fail
;
10404 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10406 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10415 static PyObject
* Locale_swigregister(PyObject
*self
, PyObject
*args
) {
10417 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10418 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
10420 return Py_BuildValue((char *)"");
10422 static PyObject
*_wrap_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10423 PyObject
*resultobj
;
10425 char *kwnames
[] = {
10429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
10431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10432 result
= (wxLocale
*)wxGetLocale();
10434 wxPyEndAllowThreads(__tstate
);
10435 if (PyErr_Occurred()) SWIG_fail
;
10437 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
10444 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*self
, PyObject
*args
) {
10445 PyObject
*resultobj
;
10446 wxString
*arg1
= 0 ;
10448 bool temp1
= False
;
10449 PyObject
* obj0
= 0 ;
10451 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
10453 arg1
= wxString_in_helper(obj0
);
10454 if (arg1
== NULL
) SWIG_fail
;
10458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10459 result
= wxGetTranslation((wxString
const &)*arg1
);
10461 wxPyEndAllowThreads(__tstate
);
10462 if (PyErr_Occurred()) SWIG_fail
;
10466 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10468 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10485 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*self
, PyObject
*args
) {
10486 PyObject
*resultobj
;
10487 wxString
*arg1
= 0 ;
10488 wxString
*arg2
= 0 ;
10491 bool temp1
= False
;
10492 bool temp2
= False
;
10493 PyObject
* obj0
= 0 ;
10494 PyObject
* obj1
= 0 ;
10495 PyObject
* obj2
= 0 ;
10497 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
10499 arg1
= wxString_in_helper(obj0
);
10500 if (arg1
== NULL
) SWIG_fail
;
10504 arg2
= wxString_in_helper(obj1
);
10505 if (arg2
== NULL
) SWIG_fail
;
10508 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10509 if (PyErr_Occurred()) SWIG_fail
;
10511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10512 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10514 wxPyEndAllowThreads(__tstate
);
10515 if (PyErr_Occurred()) SWIG_fail
;
10519 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10521 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10546 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
10551 argc
= PyObject_Length(args
);
10552 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
10553 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10558 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10561 return _wrap_GetTranslation__SWIG_0(self
,args
);
10567 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10571 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10574 _v
= SWIG_CheckUnsignedLong(argv
[2]);
10576 return _wrap_GetTranslation__SWIG_1(self
,args
);
10582 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
10587 static PyObject
*_wrap_new_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10588 PyObject
*resultobj
;
10589 wxEncodingConverter
*result
;
10590 char *kwnames
[] = {
10594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
10596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10597 result
= (wxEncodingConverter
*)new wxEncodingConverter();
10599 wxPyEndAllowThreads(__tstate
);
10600 if (PyErr_Occurred()) SWIG_fail
;
10602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
10609 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10610 PyObject
*resultobj
;
10611 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10612 PyObject
* obj0
= 0 ;
10613 char *kwnames
[] = {
10614 (char *) "self", NULL
10617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
10618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10624 wxPyEndAllowThreads(__tstate
);
10625 if (PyErr_Occurred()) SWIG_fail
;
10627 Py_INCREF(Py_None
); resultobj
= Py_None
;
10634 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10635 PyObject
*resultobj
;
10636 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10639 int arg4
= (int) wxCONVERT_STRICT
;
10641 PyObject
* obj0
= 0 ;
10642 PyObject
* obj1
= 0 ;
10643 PyObject
* obj2
= 0 ;
10644 PyObject
* obj3
= 0 ;
10645 char *kwnames
[] = {
10646 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
10649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10652 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10653 if (PyErr_Occurred()) SWIG_fail
;
10654 arg3
= (wxFontEncoding
) SWIG_AsInt(obj2
);
10655 if (PyErr_Occurred()) SWIG_fail
;
10657 arg4
= (int) SWIG_AsInt(obj3
);
10658 if (PyErr_Occurred()) SWIG_fail
;
10661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10662 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
10664 wxPyEndAllowThreads(__tstate
);
10665 if (PyErr_Occurred()) SWIG_fail
;
10668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10676 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10677 PyObject
*resultobj
;
10678 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10679 wxString
*arg2
= 0 ;
10681 bool temp2
= False
;
10682 PyObject
* obj0
= 0 ;
10683 PyObject
* obj1
= 0 ;
10684 char *kwnames
[] = {
10685 (char *) "self",(char *) "input", NULL
10688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
10689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10692 arg2
= wxString_in_helper(obj1
);
10693 if (arg2
== NULL
) SWIG_fail
;
10697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10698 result
= (arg1
)->Convert((wxString
const &)*arg2
);
10700 wxPyEndAllowThreads(__tstate
);
10701 if (PyErr_Occurred()) SWIG_fail
;
10705 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10707 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10724 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10725 PyObject
*resultobj
;
10727 int arg2
= (int) wxPLATFORM_CURRENT
;
10728 wxFontEncodingArray result
;
10729 PyObject
* obj0
= 0 ;
10730 PyObject
* obj1
= 0 ;
10731 char *kwnames
[] = {
10732 (char *) "enc",(char *) "platform", NULL
10735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
10736 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10737 if (PyErr_Occurred()) SWIG_fail
;
10739 arg2
= (int) SWIG_AsInt(obj1
);
10740 if (PyErr_Occurred()) SWIG_fail
;
10743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10744 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
10746 wxPyEndAllowThreads(__tstate
);
10747 if (PyErr_Occurred()) SWIG_fail
;
10750 resultobj
= PyList_New(0);
10751 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10752 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10753 PyList_Append(resultobj
, number
);
10763 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10764 PyObject
*resultobj
;
10766 wxFontEncodingArray result
;
10767 PyObject
* obj0
= 0 ;
10768 char *kwnames
[] = {
10769 (char *) "enc", NULL
10772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
10773 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10774 if (PyErr_Occurred()) SWIG_fail
;
10776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10777 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
10779 wxPyEndAllowThreads(__tstate
);
10780 if (PyErr_Occurred()) SWIG_fail
;
10783 resultobj
= PyList_New(0);
10784 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10785 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10786 PyList_Append(resultobj
, number
);
10796 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10797 PyObject
*resultobj
;
10801 PyObject
* obj0
= 0 ;
10802 PyObject
* obj1
= 0 ;
10803 char *kwnames
[] = {
10804 (char *) "encIn",(char *) "encOut", NULL
10807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
10808 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10809 if (PyErr_Occurred()) SWIG_fail
;
10810 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10811 if (PyErr_Occurred()) SWIG_fail
;
10813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10814 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
10816 wxPyEndAllowThreads(__tstate
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10828 static PyObject
* EncodingConverter_swigregister(PyObject
*self
, PyObject
*args
) {
10830 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10831 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
10833 return Py_BuildValue((char *)"");
10835 static PyObject
*_wrap_delete_DC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10836 PyObject
*resultobj
;
10837 wxDC
*arg1
= (wxDC
*) 0 ;
10838 PyObject
* obj0
= 0 ;
10839 char *kwnames
[] = {
10840 (char *) "self", NULL
10843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
10844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10850 wxPyEndAllowThreads(__tstate
);
10851 if (PyErr_Occurred()) SWIG_fail
;
10853 Py_INCREF(Py_None
); resultobj
= Py_None
;
10860 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10861 PyObject
*resultobj
;
10862 wxDC
*arg1
= (wxDC
*) 0 ;
10863 PyObject
* obj0
= 0 ;
10864 char *kwnames
[] = {
10865 (char *) "self", NULL
10868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
10869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10873 (arg1
)->BeginDrawing();
10875 wxPyEndAllowThreads(__tstate
);
10876 if (PyErr_Occurred()) SWIG_fail
;
10878 Py_INCREF(Py_None
); resultobj
= Py_None
;
10885 static PyObject
*_wrap_DC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10886 PyObject
*resultobj
;
10887 wxDC
*arg1
= (wxDC
*) 0 ;
10888 PyObject
* obj0
= 0 ;
10889 char *kwnames
[] = {
10890 (char *) "self", NULL
10893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
10894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10898 (arg1
)->EndDrawing();
10900 wxPyEndAllowThreads(__tstate
);
10901 if (PyErr_Occurred()) SWIG_fail
;
10903 Py_INCREF(Py_None
); resultobj
= Py_None
;
10910 static PyObject
*_wrap_DC_FloodFillXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10911 PyObject
*resultobj
;
10912 wxDC
*arg1
= (wxDC
*) 0 ;
10915 wxColour
*arg4
= 0 ;
10916 int arg5
= (int) wxFLOOD_SURFACE
;
10919 PyObject
* obj0
= 0 ;
10920 PyObject
* obj1
= 0 ;
10921 PyObject
* obj2
= 0 ;
10922 PyObject
* obj3
= 0 ;
10923 PyObject
* obj4
= 0 ;
10924 char *kwnames
[] = {
10925 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFillXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10931 arg2
= (int) SWIG_AsInt(obj1
);
10932 if (PyErr_Occurred()) SWIG_fail
;
10933 arg3
= (int) SWIG_AsInt(obj2
);
10934 if (PyErr_Occurred()) SWIG_fail
;
10937 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
10940 arg5
= (int) SWIG_AsInt(obj4
);
10941 if (PyErr_Occurred()) SWIG_fail
;
10944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10945 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
10947 wxPyEndAllowThreads(__tstate
);
10948 if (PyErr_Occurred()) SWIG_fail
;
10951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10959 static PyObject
*_wrap_DC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10960 PyObject
*resultobj
;
10961 wxDC
*arg1
= (wxDC
*) 0 ;
10962 wxPoint
*arg2
= 0 ;
10963 wxColour
*arg3
= 0 ;
10964 int arg4
= (int) wxFLOOD_SURFACE
;
10968 PyObject
* obj0
= 0 ;
10969 PyObject
* obj1
= 0 ;
10970 PyObject
* obj2
= 0 ;
10971 PyObject
* obj3
= 0 ;
10972 char *kwnames
[] = {
10973 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10981 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10985 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10988 arg4
= (int) SWIG_AsInt(obj3
);
10989 if (PyErr_Occurred()) SWIG_fail
;
10992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10993 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
10995 wxPyEndAllowThreads(__tstate
);
10996 if (PyErr_Occurred()) SWIG_fail
;
10999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11007 static PyObject
*_wrap_DC_GetPixelXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11008 PyObject
*resultobj
;
11009 wxDC
*arg1
= (wxDC
*) 0 ;
11013 PyObject
* obj0
= 0 ;
11014 PyObject
* obj1
= 0 ;
11015 PyObject
* obj2
= 0 ;
11016 char *kwnames
[] = {
11017 (char *) "self",(char *) "x",(char *) "y", NULL
11020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixelXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11023 arg2
= (int) SWIG_AsInt(obj1
);
11024 if (PyErr_Occurred()) SWIG_fail
;
11025 arg3
= (int) SWIG_AsInt(obj2
);
11026 if (PyErr_Occurred()) SWIG_fail
;
11028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11029 result
= wxDC_GetPixelXY(arg1
,arg2
,arg3
);
11031 wxPyEndAllowThreads(__tstate
);
11032 if (PyErr_Occurred()) SWIG_fail
;
11035 wxColour
* resultptr
;
11036 resultptr
= new wxColour((wxColour
&) result
);
11037 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11045 static PyObject
*_wrap_DC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11046 PyObject
*resultobj
;
11047 wxDC
*arg1
= (wxDC
*) 0 ;
11048 wxPoint
*arg2
= 0 ;
11051 PyObject
* obj0
= 0 ;
11052 PyObject
* obj1
= 0 ;
11053 char *kwnames
[] = {
11054 (char *) "self",(char *) "pt", NULL
11057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixel",kwnames
,&obj0
,&obj1
)) goto fail
;
11058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11062 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11066 result
= wxDC_GetPixel(arg1
,(wxPoint
const &)*arg2
);
11068 wxPyEndAllowThreads(__tstate
);
11069 if (PyErr_Occurred()) SWIG_fail
;
11072 wxColour
* resultptr
;
11073 resultptr
= new wxColour((wxColour
&) result
);
11074 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11082 static PyObject
*_wrap_DC_DrawLineXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11083 PyObject
*resultobj
;
11084 wxDC
*arg1
= (wxDC
*) 0 ;
11089 PyObject
* obj0
= 0 ;
11090 PyObject
* obj1
= 0 ;
11091 PyObject
* obj2
= 0 ;
11092 PyObject
* obj3
= 0 ;
11093 PyObject
* obj4
= 0 ;
11094 char *kwnames
[] = {
11095 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
11098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLineXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11101 arg2
= (int) SWIG_AsInt(obj1
);
11102 if (PyErr_Occurred()) SWIG_fail
;
11103 arg3
= (int) SWIG_AsInt(obj2
);
11104 if (PyErr_Occurred()) SWIG_fail
;
11105 arg4
= (int) SWIG_AsInt(obj3
);
11106 if (PyErr_Occurred()) SWIG_fail
;
11107 arg5
= (int) SWIG_AsInt(obj4
);
11108 if (PyErr_Occurred()) SWIG_fail
;
11110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11111 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
11113 wxPyEndAllowThreads(__tstate
);
11114 if (PyErr_Occurred()) SWIG_fail
;
11116 Py_INCREF(Py_None
); resultobj
= Py_None
;
11123 static PyObject
*_wrap_DC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11124 PyObject
*resultobj
;
11125 wxDC
*arg1
= (wxDC
*) 0 ;
11126 wxPoint
*arg2
= 0 ;
11127 wxPoint
*arg3
= 0 ;
11130 PyObject
* obj0
= 0 ;
11131 PyObject
* obj1
= 0 ;
11132 PyObject
* obj2
= 0 ;
11133 char *kwnames
[] = {
11134 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
11137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11142 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11146 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11150 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
11152 wxPyEndAllowThreads(__tstate
);
11153 if (PyErr_Occurred()) SWIG_fail
;
11155 Py_INCREF(Py_None
); resultobj
= Py_None
;
11162 static PyObject
*_wrap_DC_CrossHairXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11163 PyObject
*resultobj
;
11164 wxDC
*arg1
= (wxDC
*) 0 ;
11167 PyObject
* obj0
= 0 ;
11168 PyObject
* obj1
= 0 ;
11169 PyObject
* obj2
= 0 ;
11170 char *kwnames
[] = {
11171 (char *) "self",(char *) "x",(char *) "y", NULL
11174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHairXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11177 arg2
= (int) SWIG_AsInt(obj1
);
11178 if (PyErr_Occurred()) SWIG_fail
;
11179 arg3
= (int) SWIG_AsInt(obj2
);
11180 if (PyErr_Occurred()) SWIG_fail
;
11182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11183 (arg1
)->CrossHair(arg2
,arg3
);
11185 wxPyEndAllowThreads(__tstate
);
11186 if (PyErr_Occurred()) SWIG_fail
;
11188 Py_INCREF(Py_None
); resultobj
= Py_None
;
11195 static PyObject
*_wrap_DC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11196 PyObject
*resultobj
;
11197 wxDC
*arg1
= (wxDC
*) 0 ;
11198 wxPoint
*arg2
= 0 ;
11200 PyObject
* obj0
= 0 ;
11201 PyObject
* obj1
= 0 ;
11202 char *kwnames
[] = {
11203 (char *) "self",(char *) "pt", NULL
11206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHair",kwnames
,&obj0
,&obj1
)) goto fail
;
11207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11211 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11215 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
11217 wxPyEndAllowThreads(__tstate
);
11218 if (PyErr_Occurred()) SWIG_fail
;
11220 Py_INCREF(Py_None
); resultobj
= Py_None
;
11227 static PyObject
*_wrap_DC_DrawArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11228 PyObject
*resultobj
;
11229 wxDC
*arg1
= (wxDC
*) 0 ;
11236 PyObject
* obj0
= 0 ;
11237 PyObject
* obj1
= 0 ;
11238 PyObject
* obj2
= 0 ;
11239 PyObject
* obj3
= 0 ;
11240 PyObject
* obj4
= 0 ;
11241 PyObject
* obj5
= 0 ;
11242 PyObject
* obj6
= 0 ;
11243 char *kwnames
[] = {
11244 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
11247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11250 arg2
= (int) SWIG_AsInt(obj1
);
11251 if (PyErr_Occurred()) SWIG_fail
;
11252 arg3
= (int) SWIG_AsInt(obj2
);
11253 if (PyErr_Occurred()) SWIG_fail
;
11254 arg4
= (int) SWIG_AsInt(obj3
);
11255 if (PyErr_Occurred()) SWIG_fail
;
11256 arg5
= (int) SWIG_AsInt(obj4
);
11257 if (PyErr_Occurred()) SWIG_fail
;
11258 arg6
= (int) SWIG_AsInt(obj5
);
11259 if (PyErr_Occurred()) SWIG_fail
;
11260 arg7
= (int) SWIG_AsInt(obj6
);
11261 if (PyErr_Occurred()) SWIG_fail
;
11263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11264 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11266 wxPyEndAllowThreads(__tstate
);
11267 if (PyErr_Occurred()) SWIG_fail
;
11269 Py_INCREF(Py_None
); resultobj
= Py_None
;
11276 static PyObject
*_wrap_DC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11277 PyObject
*resultobj
;
11278 wxDC
*arg1
= (wxDC
*) 0 ;
11279 wxPoint
*arg2
= 0 ;
11280 wxPoint
*arg3
= 0 ;
11281 wxPoint
*arg4
= 0 ;
11285 PyObject
* obj0
= 0 ;
11286 PyObject
* obj1
= 0 ;
11287 PyObject
* obj2
= 0 ;
11288 PyObject
* obj3
= 0 ;
11289 char *kwnames
[] = {
11290 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
11293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11298 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11302 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11306 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11310 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
11312 wxPyEndAllowThreads(__tstate
);
11313 if (PyErr_Occurred()) SWIG_fail
;
11315 Py_INCREF(Py_None
); resultobj
= Py_None
;
11322 static PyObject
*_wrap_DC_DrawCheckMarkXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11323 PyObject
*resultobj
;
11324 wxDC
*arg1
= (wxDC
*) 0 ;
11329 PyObject
* obj0
= 0 ;
11330 PyObject
* obj1
= 0 ;
11331 PyObject
* obj2
= 0 ;
11332 PyObject
* obj3
= 0 ;
11333 PyObject
* obj4
= 0 ;
11334 char *kwnames
[] = {
11335 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMarkXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11341 arg2
= (int) SWIG_AsInt(obj1
);
11342 if (PyErr_Occurred()) SWIG_fail
;
11343 arg3
= (int) SWIG_AsInt(obj2
);
11344 if (PyErr_Occurred()) SWIG_fail
;
11345 arg4
= (int) SWIG_AsInt(obj3
);
11346 if (PyErr_Occurred()) SWIG_fail
;
11347 arg5
= (int) SWIG_AsInt(obj4
);
11348 if (PyErr_Occurred()) SWIG_fail
;
11350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11351 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
11353 wxPyEndAllowThreads(__tstate
);
11354 if (PyErr_Occurred()) SWIG_fail
;
11356 Py_INCREF(Py_None
); resultobj
= Py_None
;
11363 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11364 PyObject
*resultobj
;
11365 wxDC
*arg1
= (wxDC
*) 0 ;
11368 PyObject
* obj0
= 0 ;
11369 PyObject
* obj1
= 0 ;
11370 char *kwnames
[] = {
11371 (char *) "self",(char *) "rect", NULL
11374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
)) goto fail
;
11375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11379 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11383 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
11385 wxPyEndAllowThreads(__tstate
);
11386 if (PyErr_Occurred()) SWIG_fail
;
11388 Py_INCREF(Py_None
); resultobj
= Py_None
;
11395 static PyObject
*_wrap_DC_DrawEllipticArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11396 PyObject
*resultobj
;
11397 wxDC
*arg1
= (wxDC
*) 0 ;
11404 PyObject
* obj0
= 0 ;
11405 PyObject
* obj1
= 0 ;
11406 PyObject
* obj2
= 0 ;
11407 PyObject
* obj3
= 0 ;
11408 PyObject
* obj4
= 0 ;
11409 PyObject
* obj5
= 0 ;
11410 PyObject
* obj6
= 0 ;
11411 char *kwnames
[] = {
11412 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
11415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11418 arg2
= (int) SWIG_AsInt(obj1
);
11419 if (PyErr_Occurred()) SWIG_fail
;
11420 arg3
= (int) SWIG_AsInt(obj2
);
11421 if (PyErr_Occurred()) SWIG_fail
;
11422 arg4
= (int) SWIG_AsInt(obj3
);
11423 if (PyErr_Occurred()) SWIG_fail
;
11424 arg5
= (int) SWIG_AsInt(obj4
);
11425 if (PyErr_Occurred()) SWIG_fail
;
11426 arg6
= (double) SWIG_AsDouble(obj5
);
11427 if (PyErr_Occurred()) SWIG_fail
;
11428 arg7
= (double) SWIG_AsDouble(obj6
);
11429 if (PyErr_Occurred()) SWIG_fail
;
11431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11432 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11434 wxPyEndAllowThreads(__tstate
);
11435 if (PyErr_Occurred()) SWIG_fail
;
11437 Py_INCREF(Py_None
); resultobj
= Py_None
;
11444 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11445 PyObject
*resultobj
;
11446 wxDC
*arg1
= (wxDC
*) 0 ;
11447 wxPoint
*arg2
= 0 ;
11453 PyObject
* obj0
= 0 ;
11454 PyObject
* obj1
= 0 ;
11455 PyObject
* obj2
= 0 ;
11456 PyObject
* obj3
= 0 ;
11457 PyObject
* obj4
= 0 ;
11458 char *kwnames
[] = {
11459 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
11462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11467 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11471 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11473 arg4
= (double) SWIG_AsDouble(obj3
);
11474 if (PyErr_Occurred()) SWIG_fail
;
11475 arg5
= (double) SWIG_AsDouble(obj4
);
11476 if (PyErr_Occurred()) SWIG_fail
;
11478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11479 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
11481 wxPyEndAllowThreads(__tstate
);
11482 if (PyErr_Occurred()) SWIG_fail
;
11484 Py_INCREF(Py_None
); resultobj
= Py_None
;
11491 static PyObject
*_wrap_DC_DrawPointXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11492 PyObject
*resultobj
;
11493 wxDC
*arg1
= (wxDC
*) 0 ;
11496 PyObject
* obj0
= 0 ;
11497 PyObject
* obj1
= 0 ;
11498 PyObject
* obj2
= 0 ;
11499 char *kwnames
[] = {
11500 (char *) "self",(char *) "x",(char *) "y", NULL
11503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPointXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11506 arg2
= (int) SWIG_AsInt(obj1
);
11507 if (PyErr_Occurred()) SWIG_fail
;
11508 arg3
= (int) SWIG_AsInt(obj2
);
11509 if (PyErr_Occurred()) SWIG_fail
;
11511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11512 (arg1
)->DrawPoint(arg2
,arg3
);
11514 wxPyEndAllowThreads(__tstate
);
11515 if (PyErr_Occurred()) SWIG_fail
;
11517 Py_INCREF(Py_None
); resultobj
= Py_None
;
11524 static PyObject
*_wrap_DC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11525 PyObject
*resultobj
;
11526 wxDC
*arg1
= (wxDC
*) 0 ;
11527 wxPoint
*arg2
= 0 ;
11529 PyObject
* obj0
= 0 ;
11530 PyObject
* obj1
= 0 ;
11531 char *kwnames
[] = {
11532 (char *) "self",(char *) "pt", NULL
11535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11540 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11544 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
11546 wxPyEndAllowThreads(__tstate
);
11547 if (PyErr_Occurred()) SWIG_fail
;
11549 Py_INCREF(Py_None
); resultobj
= Py_None
;
11556 static PyObject
*_wrap_DC_DrawRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11557 PyObject
*resultobj
;
11558 wxDC
*arg1
= (wxDC
*) 0 ;
11563 PyObject
* obj0
= 0 ;
11564 PyObject
* obj1
= 0 ;
11565 PyObject
* obj2
= 0 ;
11566 PyObject
* obj3
= 0 ;
11567 PyObject
* obj4
= 0 ;
11568 char *kwnames
[] = {
11569 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11575 arg2
= (int) SWIG_AsInt(obj1
);
11576 if (PyErr_Occurred()) SWIG_fail
;
11577 arg3
= (int) SWIG_AsInt(obj2
);
11578 if (PyErr_Occurred()) SWIG_fail
;
11579 arg4
= (int) SWIG_AsInt(obj3
);
11580 if (PyErr_Occurred()) SWIG_fail
;
11581 arg5
= (int) SWIG_AsInt(obj4
);
11582 if (PyErr_Occurred()) SWIG_fail
;
11584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11585 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
11587 wxPyEndAllowThreads(__tstate
);
11588 if (PyErr_Occurred()) SWIG_fail
;
11590 Py_INCREF(Py_None
); resultobj
= Py_None
;
11597 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11598 PyObject
*resultobj
;
11599 wxDC
*arg1
= (wxDC
*) 0 ;
11600 wxPoint
*arg2
= 0 ;
11604 PyObject
* obj0
= 0 ;
11605 PyObject
* obj1
= 0 ;
11606 PyObject
* obj2
= 0 ;
11607 char *kwnames
[] = {
11608 (char *) "self",(char *) "pt",(char *) "sz", NULL
11611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11616 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11620 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11624 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11626 wxPyEndAllowThreads(__tstate
);
11627 if (PyErr_Occurred()) SWIG_fail
;
11629 Py_INCREF(Py_None
); resultobj
= Py_None
;
11636 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11637 PyObject
*resultobj
;
11638 wxDC
*arg1
= (wxDC
*) 0 ;
11641 PyObject
* obj0
= 0 ;
11642 PyObject
* obj1
= 0 ;
11643 char *kwnames
[] = {
11644 (char *) "self",(char *) "rect", NULL
11647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11652 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11656 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
11658 wxPyEndAllowThreads(__tstate
);
11659 if (PyErr_Occurred()) SWIG_fail
;
11661 Py_INCREF(Py_None
); resultobj
= Py_None
;
11668 static PyObject
*_wrap_DC_DrawRoundedRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11669 PyObject
*resultobj
;
11670 wxDC
*arg1
= (wxDC
*) 0 ;
11676 PyObject
* obj0
= 0 ;
11677 PyObject
* obj1
= 0 ;
11678 PyObject
* obj2
= 0 ;
11679 PyObject
* obj3
= 0 ;
11680 PyObject
* obj4
= 0 ;
11681 PyObject
* obj5
= 0 ;
11682 char *kwnames
[] = {
11683 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11689 arg2
= (int) SWIG_AsInt(obj1
);
11690 if (PyErr_Occurred()) SWIG_fail
;
11691 arg3
= (int) SWIG_AsInt(obj2
);
11692 if (PyErr_Occurred()) SWIG_fail
;
11693 arg4
= (int) SWIG_AsInt(obj3
);
11694 if (PyErr_Occurred()) SWIG_fail
;
11695 arg5
= (int) SWIG_AsInt(obj4
);
11696 if (PyErr_Occurred()) SWIG_fail
;
11697 arg6
= (double) SWIG_AsDouble(obj5
);
11698 if (PyErr_Occurred()) SWIG_fail
;
11700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11701 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
11703 wxPyEndAllowThreads(__tstate
);
11704 if (PyErr_Occurred()) SWIG_fail
;
11706 Py_INCREF(Py_None
); resultobj
= Py_None
;
11713 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11714 PyObject
*resultobj
;
11715 wxDC
*arg1
= (wxDC
*) 0 ;
11716 wxPoint
*arg2
= 0 ;
11721 PyObject
* obj0
= 0 ;
11722 PyObject
* obj1
= 0 ;
11723 PyObject
* obj2
= 0 ;
11724 PyObject
* obj3
= 0 ;
11725 char *kwnames
[] = {
11726 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
11729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11734 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11738 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11740 arg4
= (double) SWIG_AsDouble(obj3
);
11741 if (PyErr_Occurred()) SWIG_fail
;
11743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11744 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
11746 wxPyEndAllowThreads(__tstate
);
11747 if (PyErr_Occurred()) SWIG_fail
;
11749 Py_INCREF(Py_None
); resultobj
= Py_None
;
11756 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11757 PyObject
*resultobj
;
11758 wxDC
*arg1
= (wxDC
*) 0 ;
11762 PyObject
* obj0
= 0 ;
11763 PyObject
* obj1
= 0 ;
11764 PyObject
* obj2
= 0 ;
11765 char *kwnames
[] = {
11766 (char *) "self",(char *) "r",(char *) "radius", NULL
11769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11774 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11776 arg3
= (double) SWIG_AsDouble(obj2
);
11777 if (PyErr_Occurred()) SWIG_fail
;
11779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11780 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11782 wxPyEndAllowThreads(__tstate
);
11783 if (PyErr_Occurred()) SWIG_fail
;
11785 Py_INCREF(Py_None
); resultobj
= Py_None
;
11792 static PyObject
*_wrap_DC_DrawCircleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11793 PyObject
*resultobj
;
11794 wxDC
*arg1
= (wxDC
*) 0 ;
11798 PyObject
* obj0
= 0 ;
11799 PyObject
* obj1
= 0 ;
11800 PyObject
* obj2
= 0 ;
11801 PyObject
* obj3
= 0 ;
11802 char *kwnames
[] = {
11803 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11809 arg2
= (int) SWIG_AsInt(obj1
);
11810 if (PyErr_Occurred()) SWIG_fail
;
11811 arg3
= (int) SWIG_AsInt(obj2
);
11812 if (PyErr_Occurred()) SWIG_fail
;
11813 arg4
= (int) SWIG_AsInt(obj3
);
11814 if (PyErr_Occurred()) SWIG_fail
;
11816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11817 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
11819 wxPyEndAllowThreads(__tstate
);
11820 if (PyErr_Occurred()) SWIG_fail
;
11822 Py_INCREF(Py_None
); resultobj
= Py_None
;
11829 static PyObject
*_wrap_DC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11830 PyObject
*resultobj
;
11831 wxDC
*arg1
= (wxDC
*) 0 ;
11832 wxPoint
*arg2
= 0 ;
11835 PyObject
* obj0
= 0 ;
11836 PyObject
* obj1
= 0 ;
11837 PyObject
* obj2
= 0 ;
11838 char *kwnames
[] = {
11839 (char *) "self",(char *) "pt",(char *) "radius", NULL
11842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11847 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11849 arg3
= (int) SWIG_AsInt(obj2
);
11850 if (PyErr_Occurred()) SWIG_fail
;
11852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11853 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
11855 wxPyEndAllowThreads(__tstate
);
11856 if (PyErr_Occurred()) SWIG_fail
;
11858 Py_INCREF(Py_None
); resultobj
= Py_None
;
11865 static PyObject
*_wrap_DC_DrawEllipseXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11866 PyObject
*resultobj
;
11867 wxDC
*arg1
= (wxDC
*) 0 ;
11872 PyObject
* obj0
= 0 ;
11873 PyObject
* obj1
= 0 ;
11874 PyObject
* obj2
= 0 ;
11875 PyObject
* obj3
= 0 ;
11876 PyObject
* obj4
= 0 ;
11877 char *kwnames
[] = {
11878 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipseXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11884 arg2
= (int) SWIG_AsInt(obj1
);
11885 if (PyErr_Occurred()) SWIG_fail
;
11886 arg3
= (int) SWIG_AsInt(obj2
);
11887 if (PyErr_Occurred()) SWIG_fail
;
11888 arg4
= (int) SWIG_AsInt(obj3
);
11889 if (PyErr_Occurred()) SWIG_fail
;
11890 arg5
= (int) SWIG_AsInt(obj4
);
11891 if (PyErr_Occurred()) SWIG_fail
;
11893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11894 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11896 wxPyEndAllowThreads(__tstate
);
11897 if (PyErr_Occurred()) SWIG_fail
;
11899 Py_INCREF(Py_None
); resultobj
= Py_None
;
11906 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11907 PyObject
*resultobj
;
11908 wxDC
*arg1
= (wxDC
*) 0 ;
11909 wxPoint
*arg2
= 0 ;
11913 PyObject
* obj0
= 0 ;
11914 PyObject
* obj1
= 0 ;
11915 PyObject
* obj2
= 0 ;
11916 char *kwnames
[] = {
11917 (char *) "self",(char *) "pt",(char *) "sz", NULL
11920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11925 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11929 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11933 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11935 wxPyEndAllowThreads(__tstate
);
11936 if (PyErr_Occurred()) SWIG_fail
;
11938 Py_INCREF(Py_None
); resultobj
= Py_None
;
11945 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11946 PyObject
*resultobj
;
11947 wxDC
*arg1
= (wxDC
*) 0 ;
11950 PyObject
* obj0
= 0 ;
11951 PyObject
* obj1
= 0 ;
11952 char *kwnames
[] = {
11953 (char *) "self",(char *) "rect", NULL
11956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11961 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11965 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11967 wxPyEndAllowThreads(__tstate
);
11968 if (PyErr_Occurred()) SWIG_fail
;
11970 Py_INCREF(Py_None
); resultobj
= Py_None
;
11977 static PyObject
*_wrap_DC_DrawIconXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11978 PyObject
*resultobj
;
11979 wxDC
*arg1
= (wxDC
*) 0 ;
11983 PyObject
* obj0
= 0 ;
11984 PyObject
* obj1
= 0 ;
11985 PyObject
* obj2
= 0 ;
11986 PyObject
* obj3
= 0 ;
11987 char *kwnames
[] = {
11988 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIconXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11994 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11995 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11997 if (arg2
== NULL
) {
11998 PyErr_SetString(PyExc_TypeError
,"null reference");
12001 arg3
= (int) SWIG_AsInt(obj2
);
12002 if (PyErr_Occurred()) SWIG_fail
;
12003 arg4
= (int) SWIG_AsInt(obj3
);
12004 if (PyErr_Occurred()) SWIG_fail
;
12006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12007 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
12009 wxPyEndAllowThreads(__tstate
);
12010 if (PyErr_Occurred()) SWIG_fail
;
12012 Py_INCREF(Py_None
); resultobj
= Py_None
;
12019 static PyObject
*_wrap_DC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12020 PyObject
*resultobj
;
12021 wxDC
*arg1
= (wxDC
*) 0 ;
12023 wxPoint
*arg3
= 0 ;
12025 PyObject
* obj0
= 0 ;
12026 PyObject
* obj1
= 0 ;
12027 PyObject
* obj2
= 0 ;
12028 char *kwnames
[] = {
12029 (char *) "self",(char *) "icon",(char *) "pt", NULL
12032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12035 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
12036 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12038 if (arg2
== NULL
) {
12039 PyErr_SetString(PyExc_TypeError
,"null reference");
12044 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12048 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
12050 wxPyEndAllowThreads(__tstate
);
12051 if (PyErr_Occurred()) SWIG_fail
;
12053 Py_INCREF(Py_None
); resultobj
= Py_None
;
12060 static PyObject
*_wrap_DC_DrawBitmapXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12061 PyObject
*resultobj
;
12062 wxDC
*arg1
= (wxDC
*) 0 ;
12063 wxBitmap
*arg2
= 0 ;
12066 bool arg5
= (bool) False
;
12067 PyObject
* obj0
= 0 ;
12068 PyObject
* obj1
= 0 ;
12069 PyObject
* obj2
= 0 ;
12070 PyObject
* obj3
= 0 ;
12071 PyObject
* obj4
= 0 ;
12072 char *kwnames
[] = {
12073 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
12076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmapXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12079 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
12080 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12082 if (arg2
== NULL
) {
12083 PyErr_SetString(PyExc_TypeError
,"null reference");
12086 arg3
= (int) SWIG_AsInt(obj2
);
12087 if (PyErr_Occurred()) SWIG_fail
;
12088 arg4
= (int) SWIG_AsInt(obj3
);
12089 if (PyErr_Occurred()) SWIG_fail
;
12091 arg5
= (bool) SWIG_AsBool(obj4
);
12092 if (PyErr_Occurred()) SWIG_fail
;
12095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12096 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
12098 wxPyEndAllowThreads(__tstate
);
12099 if (PyErr_Occurred()) SWIG_fail
;
12101 Py_INCREF(Py_None
); resultobj
= Py_None
;
12108 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12109 PyObject
*resultobj
;
12110 wxDC
*arg1
= (wxDC
*) 0 ;
12111 wxBitmap
*arg2
= 0 ;
12112 wxPoint
*arg3
= 0 ;
12113 bool arg4
= (bool) False
;
12115 PyObject
* obj0
= 0 ;
12116 PyObject
* obj1
= 0 ;
12117 PyObject
* obj2
= 0 ;
12118 PyObject
* obj3
= 0 ;
12119 char *kwnames
[] = {
12120 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
12123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12126 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
12127 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12129 if (arg2
== NULL
) {
12130 PyErr_SetString(PyExc_TypeError
,"null reference");
12135 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12138 arg4
= (bool) SWIG_AsBool(obj3
);
12139 if (PyErr_Occurred()) SWIG_fail
;
12142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12143 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
12145 wxPyEndAllowThreads(__tstate
);
12146 if (PyErr_Occurred()) SWIG_fail
;
12148 Py_INCREF(Py_None
); resultobj
= Py_None
;
12155 static PyObject
*_wrap_DC_DrawTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12156 PyObject
*resultobj
;
12157 wxDC
*arg1
= (wxDC
*) 0 ;
12158 wxString
*arg2
= 0 ;
12161 bool temp2
= False
;
12162 PyObject
* obj0
= 0 ;
12163 PyObject
* obj1
= 0 ;
12164 PyObject
* obj2
= 0 ;
12165 PyObject
* obj3
= 0 ;
12166 char *kwnames
[] = {
12167 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
12170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12174 arg2
= wxString_in_helper(obj1
);
12175 if (arg2
== NULL
) SWIG_fail
;
12178 arg3
= (int) SWIG_AsInt(obj2
);
12179 if (PyErr_Occurred()) SWIG_fail
;
12180 arg4
= (int) SWIG_AsInt(obj3
);
12181 if (PyErr_Occurred()) SWIG_fail
;
12183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12184 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
12186 wxPyEndAllowThreads(__tstate
);
12187 if (PyErr_Occurred()) SWIG_fail
;
12189 Py_INCREF(Py_None
); resultobj
= Py_None
;
12204 static PyObject
*_wrap_DC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12205 PyObject
*resultobj
;
12206 wxDC
*arg1
= (wxDC
*) 0 ;
12207 wxString
*arg2
= 0 ;
12208 wxPoint
*arg3
= 0 ;
12209 bool temp2
= False
;
12211 PyObject
* obj0
= 0 ;
12212 PyObject
* obj1
= 0 ;
12213 PyObject
* obj2
= 0 ;
12214 char *kwnames
[] = {
12215 (char *) "self",(char *) "text",(char *) "pt", NULL
12218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12222 arg2
= wxString_in_helper(obj1
);
12223 if (arg2
== NULL
) SWIG_fail
;
12228 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12232 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
12234 wxPyEndAllowThreads(__tstate
);
12235 if (PyErr_Occurred()) SWIG_fail
;
12237 Py_INCREF(Py_None
); resultobj
= Py_None
;
12252 static PyObject
*_wrap_DC_DrawRotatedTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12253 PyObject
*resultobj
;
12254 wxDC
*arg1
= (wxDC
*) 0 ;
12255 wxString
*arg2
= 0 ;
12259 bool temp2
= False
;
12260 PyObject
* obj0
= 0 ;
12261 PyObject
* obj1
= 0 ;
12262 PyObject
* obj2
= 0 ;
12263 PyObject
* obj3
= 0 ;
12264 PyObject
* obj4
= 0 ;
12265 char *kwnames
[] = {
12266 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
12269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12273 arg2
= wxString_in_helper(obj1
);
12274 if (arg2
== NULL
) SWIG_fail
;
12277 arg3
= (int) SWIG_AsInt(obj2
);
12278 if (PyErr_Occurred()) SWIG_fail
;
12279 arg4
= (int) SWIG_AsInt(obj3
);
12280 if (PyErr_Occurred()) SWIG_fail
;
12281 arg5
= (double) SWIG_AsDouble(obj4
);
12282 if (PyErr_Occurred()) SWIG_fail
;
12284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12285 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
12287 wxPyEndAllowThreads(__tstate
);
12288 if (PyErr_Occurred()) SWIG_fail
;
12290 Py_INCREF(Py_None
); resultobj
= Py_None
;
12305 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12306 PyObject
*resultobj
;
12307 wxDC
*arg1
= (wxDC
*) 0 ;
12308 wxString
*arg2
= 0 ;
12309 wxPoint
*arg3
= 0 ;
12311 bool temp2
= False
;
12313 PyObject
* obj0
= 0 ;
12314 PyObject
* obj1
= 0 ;
12315 PyObject
* obj2
= 0 ;
12316 PyObject
* obj3
= 0 ;
12317 char *kwnames
[] = {
12318 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
12321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12325 arg2
= wxString_in_helper(obj1
);
12326 if (arg2
== NULL
) SWIG_fail
;
12331 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12333 arg4
= (double) SWIG_AsDouble(obj3
);
12334 if (PyErr_Occurred()) SWIG_fail
;
12336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12337 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
12339 wxPyEndAllowThreads(__tstate
);
12340 if (PyErr_Occurred()) SWIG_fail
;
12342 Py_INCREF(Py_None
); resultobj
= Py_None
;
12357 static PyObject
*_wrap_DC_BlitXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12358 PyObject
*resultobj
;
12359 wxDC
*arg1
= (wxDC
*) 0 ;
12364 wxDC
*arg6
= (wxDC
*) 0 ;
12367 int arg9
= (int) wxCOPY
;
12368 bool arg10
= (bool) False
;
12369 int arg11
= (int) -1 ;
12370 int arg12
= (int) -1 ;
12372 PyObject
* obj0
= 0 ;
12373 PyObject
* obj1
= 0 ;
12374 PyObject
* obj2
= 0 ;
12375 PyObject
* obj3
= 0 ;
12376 PyObject
* obj4
= 0 ;
12377 PyObject
* obj5
= 0 ;
12378 PyObject
* obj6
= 0 ;
12379 PyObject
* obj7
= 0 ;
12380 PyObject
* obj8
= 0 ;
12381 PyObject
* obj9
= 0 ;
12382 PyObject
* obj10
= 0 ;
12383 PyObject
* obj11
= 0 ;
12384 char *kwnames
[] = {
12385 (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
12388 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
;
12389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12391 arg2
= (int) SWIG_AsInt(obj1
);
12392 if (PyErr_Occurred()) SWIG_fail
;
12393 arg3
= (int) SWIG_AsInt(obj2
);
12394 if (PyErr_Occurred()) SWIG_fail
;
12395 arg4
= (int) SWIG_AsInt(obj3
);
12396 if (PyErr_Occurred()) SWIG_fail
;
12397 arg5
= (int) SWIG_AsInt(obj4
);
12398 if (PyErr_Occurred()) SWIG_fail
;
12399 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
12400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12401 arg7
= (int) SWIG_AsInt(obj6
);
12402 if (PyErr_Occurred()) SWIG_fail
;
12403 arg8
= (int) SWIG_AsInt(obj7
);
12404 if (PyErr_Occurred()) SWIG_fail
;
12406 arg9
= (int) SWIG_AsInt(obj8
);
12407 if (PyErr_Occurred()) SWIG_fail
;
12410 arg10
= (bool) SWIG_AsBool(obj9
);
12411 if (PyErr_Occurred()) SWIG_fail
;
12414 arg11
= (int) SWIG_AsInt(obj10
);
12415 if (PyErr_Occurred()) SWIG_fail
;
12418 arg12
= (int) SWIG_AsInt(obj11
);
12419 if (PyErr_Occurred()) SWIG_fail
;
12422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12423 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
12425 wxPyEndAllowThreads(__tstate
);
12426 if (PyErr_Occurred()) SWIG_fail
;
12429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12437 static PyObject
*_wrap_DC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12438 PyObject
*resultobj
;
12439 wxDC
*arg1
= (wxDC
*) 0 ;
12440 wxPoint
*arg2
= 0 ;
12442 wxDC
*arg4
= (wxDC
*) 0 ;
12443 wxPoint
*arg5
= 0 ;
12444 int arg6
= (int) wxCOPY
;
12445 bool arg7
= (bool) False
;
12446 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
12447 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
12453 PyObject
* obj0
= 0 ;
12454 PyObject
* obj1
= 0 ;
12455 PyObject
* obj2
= 0 ;
12456 PyObject
* obj3
= 0 ;
12457 PyObject
* obj4
= 0 ;
12458 PyObject
* obj5
= 0 ;
12459 PyObject
* obj6
= 0 ;
12460 PyObject
* obj7
= 0 ;
12461 char *kwnames
[] = {
12462 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
12465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_Blit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12470 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12474 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12476 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
12477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12480 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12483 arg6
= (int) SWIG_AsInt(obj5
);
12484 if (PyErr_Occurred()) SWIG_fail
;
12487 arg7
= (bool) SWIG_AsBool(obj6
);
12488 if (PyErr_Occurred()) SWIG_fail
;
12493 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
12497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12498 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
12500 wxPyEndAllowThreads(__tstate
);
12501 if (PyErr_Occurred()) SWIG_fail
;
12504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12512 static PyObject
*_wrap_DC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12513 PyObject
*resultobj
;
12514 wxDC
*arg1
= (wxDC
*) 0 ;
12516 wxPoint
*arg3
= (wxPoint
*) 0 ;
12517 int arg4
= (int) 0 ;
12518 int arg5
= (int) 0 ;
12519 PyObject
* obj0
= 0 ;
12520 PyObject
* obj1
= 0 ;
12521 PyObject
* obj2
= 0 ;
12522 PyObject
* obj3
= 0 ;
12523 char *kwnames
[] = {
12524 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
12527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12531 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12532 if (arg3
== NULL
) SWIG_fail
;
12535 arg4
= (int) SWIG_AsInt(obj2
);
12536 if (PyErr_Occurred()) SWIG_fail
;
12539 arg5
= (int) SWIG_AsInt(obj3
);
12540 if (PyErr_Occurred()) SWIG_fail
;
12543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12544 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
12546 wxPyEndAllowThreads(__tstate
);
12547 if (PyErr_Occurred()) SWIG_fail
;
12549 Py_INCREF(Py_None
); resultobj
= Py_None
;
12551 if (arg3
) delete [] arg3
;
12556 if (arg3
) delete [] arg3
;
12562 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12563 PyObject
*resultobj
;
12564 wxDC
*arg1
= (wxDC
*) 0 ;
12566 wxPoint
*arg3
= (wxPoint
*) 0 ;
12567 int arg4
= (int) 0 ;
12568 int arg5
= (int) 0 ;
12569 int arg6
= (int) wxODDEVEN_RULE
;
12570 PyObject
* obj0
= 0 ;
12571 PyObject
* obj1
= 0 ;
12572 PyObject
* obj2
= 0 ;
12573 PyObject
* obj3
= 0 ;
12574 PyObject
* obj4
= 0 ;
12575 char *kwnames
[] = {
12576 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
12579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12583 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12584 if (arg3
== NULL
) SWIG_fail
;
12587 arg4
= (int) SWIG_AsInt(obj2
);
12588 if (PyErr_Occurred()) SWIG_fail
;
12591 arg5
= (int) SWIG_AsInt(obj3
);
12592 if (PyErr_Occurred()) SWIG_fail
;
12595 arg6
= (int) SWIG_AsInt(obj4
);
12596 if (PyErr_Occurred()) SWIG_fail
;
12599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12600 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
12602 wxPyEndAllowThreads(__tstate
);
12603 if (PyErr_Occurred()) SWIG_fail
;
12605 Py_INCREF(Py_None
); resultobj
= Py_None
;
12607 if (arg3
) delete [] arg3
;
12612 if (arg3
) delete [] arg3
;
12618 static PyObject
*_wrap_DC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12619 PyObject
*resultobj
;
12620 wxDC
*arg1
= (wxDC
*) 0 ;
12621 wxString
*arg2
= 0 ;
12623 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12624 int arg5
= (int) -1 ;
12625 bool temp2
= False
;
12627 PyObject
* obj0
= 0 ;
12628 PyObject
* obj1
= 0 ;
12629 PyObject
* obj2
= 0 ;
12630 PyObject
* obj3
= 0 ;
12631 PyObject
* obj4
= 0 ;
12632 char *kwnames
[] = {
12633 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12640 arg2
= wxString_in_helper(obj1
);
12641 if (arg2
== NULL
) SWIG_fail
;
12646 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
12649 arg4
= (int) SWIG_AsInt(obj3
);
12650 if (PyErr_Occurred()) SWIG_fail
;
12653 arg5
= (int) SWIG_AsInt(obj4
);
12654 if (PyErr_Occurred()) SWIG_fail
;
12657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12658 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
12660 wxPyEndAllowThreads(__tstate
);
12661 if (PyErr_Occurred()) SWIG_fail
;
12663 Py_INCREF(Py_None
); resultobj
= Py_None
;
12678 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12679 PyObject
*resultobj
;
12680 wxDC
*arg1
= (wxDC
*) 0 ;
12681 wxString
*arg2
= 0 ;
12682 wxBitmap
*arg3
= 0 ;
12684 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12685 int arg6
= (int) -1 ;
12687 bool temp2
= False
;
12689 PyObject
* obj0
= 0 ;
12690 PyObject
* obj1
= 0 ;
12691 PyObject
* obj2
= 0 ;
12692 PyObject
* obj3
= 0 ;
12693 PyObject
* obj4
= 0 ;
12694 PyObject
* obj5
= 0 ;
12695 char *kwnames
[] = {
12696 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12703 arg2
= wxString_in_helper(obj1
);
12704 if (arg2
== NULL
) SWIG_fail
;
12707 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
12708 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12710 if (arg3
== NULL
) {
12711 PyErr_SetString(PyExc_TypeError
,"null reference");
12716 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
12719 arg5
= (int) SWIG_AsInt(obj4
);
12720 if (PyErr_Occurred()) SWIG_fail
;
12723 arg6
= (int) SWIG_AsInt(obj5
);
12724 if (PyErr_Occurred()) SWIG_fail
;
12727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12728 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
12730 wxPyEndAllowThreads(__tstate
);
12731 if (PyErr_Occurred()) SWIG_fail
;
12734 wxRect
* resultptr
;
12735 resultptr
= new wxRect((wxRect
&) result
);
12736 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12752 static PyObject
*_wrap_DC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12753 PyObject
*resultobj
;
12754 wxDC
*arg1
= (wxDC
*) 0 ;
12756 wxPoint
*arg3
= (wxPoint
*) 0 ;
12757 PyObject
* obj0
= 0 ;
12758 PyObject
* obj1
= 0 ;
12759 char *kwnames
[] = {
12760 (char *) "self",(char *) "points", NULL
12763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
12764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12767 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12768 if (arg3
== NULL
) SWIG_fail
;
12771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12772 (arg1
)->DrawSpline(arg2
,arg3
);
12774 wxPyEndAllowThreads(__tstate
);
12775 if (PyErr_Occurred()) SWIG_fail
;
12777 Py_INCREF(Py_None
); resultobj
= Py_None
;
12779 if (arg3
) delete [] arg3
;
12784 if (arg3
) delete [] arg3
;
12790 static PyObject
*_wrap_DC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12791 PyObject
*resultobj
;
12792 wxDC
*arg1
= (wxDC
*) 0 ;
12793 PyObject
* obj0
= 0 ;
12794 char *kwnames
[] = {
12795 (char *) "self", NULL
12798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
12799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12805 wxPyEndAllowThreads(__tstate
);
12806 if (PyErr_Occurred()) SWIG_fail
;
12808 Py_INCREF(Py_None
); resultobj
= Py_None
;
12815 static PyObject
*_wrap_DC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12816 PyObject
*resultobj
;
12817 wxDC
*arg1
= (wxDC
*) 0 ;
12818 wxString
*arg2
= 0 ;
12820 bool temp2
= False
;
12821 PyObject
* obj0
= 0 ;
12822 PyObject
* obj1
= 0 ;
12823 char *kwnames
[] = {
12824 (char *) "self",(char *) "message", NULL
12827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
12828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12831 arg2
= wxString_in_helper(obj1
);
12832 if (arg2
== NULL
) SWIG_fail
;
12836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12837 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
12839 wxPyEndAllowThreads(__tstate
);
12840 if (PyErr_Occurred()) SWIG_fail
;
12843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12859 static PyObject
*_wrap_DC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12860 PyObject
*resultobj
;
12861 wxDC
*arg1
= (wxDC
*) 0 ;
12862 PyObject
* obj0
= 0 ;
12863 char *kwnames
[] = {
12864 (char *) "self", NULL
12867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
12868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12874 wxPyEndAllowThreads(__tstate
);
12875 if (PyErr_Occurred()) SWIG_fail
;
12877 Py_INCREF(Py_None
); resultobj
= Py_None
;
12884 static PyObject
*_wrap_DC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12885 PyObject
*resultobj
;
12886 wxDC
*arg1
= (wxDC
*) 0 ;
12887 PyObject
* obj0
= 0 ;
12888 char *kwnames
[] = {
12889 (char *) "self", NULL
12892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
12893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12897 (arg1
)->StartPage();
12899 wxPyEndAllowThreads(__tstate
);
12900 if (PyErr_Occurred()) SWIG_fail
;
12902 Py_INCREF(Py_None
); resultobj
= Py_None
;
12909 static PyObject
*_wrap_DC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12910 PyObject
*resultobj
;
12911 wxDC
*arg1
= (wxDC
*) 0 ;
12912 PyObject
* obj0
= 0 ;
12913 char *kwnames
[] = {
12914 (char *) "self", NULL
12917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
12918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12924 wxPyEndAllowThreads(__tstate
);
12925 if (PyErr_Occurred()) SWIG_fail
;
12927 Py_INCREF(Py_None
); resultobj
= Py_None
;
12934 static PyObject
*_wrap_DC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12935 PyObject
*resultobj
;
12936 wxDC
*arg1
= (wxDC
*) 0 ;
12938 PyObject
* obj0
= 0 ;
12939 PyObject
* obj1
= 0 ;
12940 char *kwnames
[] = {
12941 (char *) "self",(char *) "font", NULL
12944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12947 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12948 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12950 if (arg2
== NULL
) {
12951 PyErr_SetString(PyExc_TypeError
,"null reference");
12955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12956 (arg1
)->SetFont((wxFont
const &)*arg2
);
12958 wxPyEndAllowThreads(__tstate
);
12959 if (PyErr_Occurred()) SWIG_fail
;
12961 Py_INCREF(Py_None
); resultobj
= Py_None
;
12968 static PyObject
*_wrap_DC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12969 PyObject
*resultobj
;
12970 wxDC
*arg1
= (wxDC
*) 0 ;
12972 PyObject
* obj0
= 0 ;
12973 PyObject
* obj1
= 0 ;
12974 char *kwnames
[] = {
12975 (char *) "self",(char *) "pen", NULL
12978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
12979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12981 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
12982 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12984 if (arg2
== NULL
) {
12985 PyErr_SetString(PyExc_TypeError
,"null reference");
12989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12990 (arg1
)->SetPen((wxPen
const &)*arg2
);
12992 wxPyEndAllowThreads(__tstate
);
12993 if (PyErr_Occurred()) SWIG_fail
;
12995 Py_INCREF(Py_None
); resultobj
= Py_None
;
13002 static PyObject
*_wrap_DC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13003 PyObject
*resultobj
;
13004 wxDC
*arg1
= (wxDC
*) 0 ;
13005 wxBrush
*arg2
= 0 ;
13006 PyObject
* obj0
= 0 ;
13007 PyObject
* obj1
= 0 ;
13008 char *kwnames
[] = {
13009 (char *) "self",(char *) "brush", NULL
13012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
13013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13015 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
13016 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13018 if (arg2
== NULL
) {
13019 PyErr_SetString(PyExc_TypeError
,"null reference");
13023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13024 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
13026 wxPyEndAllowThreads(__tstate
);
13027 if (PyErr_Occurred()) SWIG_fail
;
13029 Py_INCREF(Py_None
); resultobj
= Py_None
;
13036 static PyObject
*_wrap_DC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13037 PyObject
*resultobj
;
13038 wxDC
*arg1
= (wxDC
*) 0 ;
13039 wxBrush
*arg2
= 0 ;
13040 PyObject
* obj0
= 0 ;
13041 PyObject
* obj1
= 0 ;
13042 char *kwnames
[] = {
13043 (char *) "self",(char *) "brush", NULL
13046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13049 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
13050 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13052 if (arg2
== NULL
) {
13053 PyErr_SetString(PyExc_TypeError
,"null reference");
13057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13058 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
13060 wxPyEndAllowThreads(__tstate
);
13061 if (PyErr_Occurred()) SWIG_fail
;
13063 Py_INCREF(Py_None
); resultobj
= Py_None
;
13070 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13071 PyObject
*resultobj
;
13072 wxDC
*arg1
= (wxDC
*) 0 ;
13074 PyObject
* obj0
= 0 ;
13075 PyObject
* obj1
= 0 ;
13076 char *kwnames
[] = {
13077 (char *) "self",(char *) "mode", NULL
13080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
13081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13083 arg2
= (int) SWIG_AsInt(obj1
);
13084 if (PyErr_Occurred()) SWIG_fail
;
13086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13087 (arg1
)->SetBackgroundMode(arg2
);
13089 wxPyEndAllowThreads(__tstate
);
13090 if (PyErr_Occurred()) SWIG_fail
;
13092 Py_INCREF(Py_None
); resultobj
= Py_None
;
13099 static PyObject
*_wrap_DC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13100 PyObject
*resultobj
;
13101 wxDC
*arg1
= (wxDC
*) 0 ;
13102 wxPalette
*arg2
= 0 ;
13103 PyObject
* obj0
= 0 ;
13104 PyObject
* obj1
= 0 ;
13105 char *kwnames
[] = {
13106 (char *) "self",(char *) "palette", NULL
13109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
13110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13112 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
13113 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13115 if (arg2
== NULL
) {
13116 PyErr_SetString(PyExc_TypeError
,"null reference");
13120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13121 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
13123 wxPyEndAllowThreads(__tstate
);
13124 if (PyErr_Occurred()) SWIG_fail
;
13126 Py_INCREF(Py_None
); resultobj
= Py_None
;
13133 static PyObject
*_wrap_DC_SetClippingRegionXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13134 PyObject
*resultobj
;
13135 wxDC
*arg1
= (wxDC
*) 0 ;
13140 PyObject
* obj0
= 0 ;
13141 PyObject
* obj1
= 0 ;
13142 PyObject
* obj2
= 0 ;
13143 PyObject
* obj3
= 0 ;
13144 PyObject
* obj4
= 0 ;
13145 char *kwnames
[] = {
13146 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegionXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13152 arg2
= (int) SWIG_AsInt(obj1
);
13153 if (PyErr_Occurred()) SWIG_fail
;
13154 arg3
= (int) SWIG_AsInt(obj2
);
13155 if (PyErr_Occurred()) SWIG_fail
;
13156 arg4
= (int) SWIG_AsInt(obj3
);
13157 if (PyErr_Occurred()) SWIG_fail
;
13158 arg5
= (int) SWIG_AsInt(obj4
);
13159 if (PyErr_Occurred()) SWIG_fail
;
13161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13162 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
13164 wxPyEndAllowThreads(__tstate
);
13165 if (PyErr_Occurred()) SWIG_fail
;
13167 Py_INCREF(Py_None
); resultobj
= Py_None
;
13174 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13175 PyObject
*resultobj
;
13176 wxDC
*arg1
= (wxDC
*) 0 ;
13177 wxPoint
*arg2
= 0 ;
13181 PyObject
* obj0
= 0 ;
13182 PyObject
* obj1
= 0 ;
13183 PyObject
* obj2
= 0 ;
13184 char *kwnames
[] = {
13185 (char *) "self",(char *) "pt",(char *) "sz", NULL
13188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13193 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13197 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13201 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13203 wxPyEndAllowThreads(__tstate
);
13204 if (PyErr_Occurred()) SWIG_fail
;
13206 Py_INCREF(Py_None
); resultobj
= Py_None
;
13213 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13214 PyObject
*resultobj
;
13215 wxDC
*arg1
= (wxDC
*) 0 ;
13218 PyObject
* obj0
= 0 ;
13219 PyObject
* obj1
= 0 ;
13220 char *kwnames
[] = {
13221 (char *) "self",(char *) "rect", NULL
13224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
13225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13229 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13233 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
13235 wxPyEndAllowThreads(__tstate
);
13236 if (PyErr_Occurred()) SWIG_fail
;
13238 Py_INCREF(Py_None
); resultobj
= Py_None
;
13245 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13246 PyObject
*resultobj
;
13247 wxDC
*arg1
= (wxDC
*) 0 ;
13248 wxRegion
*arg2
= 0 ;
13249 PyObject
* obj0
= 0 ;
13250 PyObject
* obj1
= 0 ;
13251 char *kwnames
[] = {
13252 (char *) "self",(char *) "region", NULL
13255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
13256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13258 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
13259 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13261 if (arg2
== NULL
) {
13262 PyErr_SetString(PyExc_TypeError
,"null reference");
13266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13267 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
13269 wxPyEndAllowThreads(__tstate
);
13270 if (PyErr_Occurred()) SWIG_fail
;
13272 Py_INCREF(Py_None
); resultobj
= Py_None
;
13279 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13280 PyObject
*resultobj
;
13281 wxDC
*arg1
= (wxDC
*) 0 ;
13282 PyObject
* obj0
= 0 ;
13283 char *kwnames
[] = {
13284 (char *) "self", NULL
13287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
13288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13292 (arg1
)->DestroyClippingRegion();
13294 wxPyEndAllowThreads(__tstate
);
13295 if (PyErr_Occurred()) SWIG_fail
;
13297 Py_INCREF(Py_None
); resultobj
= Py_None
;
13304 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13305 PyObject
*resultobj
;
13306 wxDC
*arg1
= (wxDC
*) 0 ;
13307 int *arg2
= (int *) 0 ;
13308 int *arg3
= (int *) 0 ;
13309 int *arg4
= (int *) 0 ;
13310 int *arg5
= (int *) 0 ;
13315 PyObject
* obj0
= 0 ;
13316 char *kwnames
[] = {
13317 (char *) "self", NULL
13324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
13325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13329 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
13331 wxPyEndAllowThreads(__tstate
);
13332 if (PyErr_Occurred()) SWIG_fail
;
13334 Py_INCREF(Py_None
); resultobj
= Py_None
;
13336 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13337 resultobj
= t_output_helper(resultobj
,o
);
13340 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13341 resultobj
= t_output_helper(resultobj
,o
);
13344 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13345 resultobj
= t_output_helper(resultobj
,o
);
13348 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13349 resultobj
= t_output_helper(resultobj
,o
);
13357 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13358 PyObject
*resultobj
;
13359 wxDC
*arg1
= (wxDC
*) 0 ;
13361 PyObject
* obj0
= 0 ;
13362 char *kwnames
[] = {
13363 (char *) "self", NULL
13366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
13367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13371 result
= wxDC_GetClippingRect(arg1
);
13373 wxPyEndAllowThreads(__tstate
);
13374 if (PyErr_Occurred()) SWIG_fail
;
13377 wxRect
* resultptr
;
13378 resultptr
= new wxRect((wxRect
&) result
);
13379 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
13387 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13388 PyObject
*resultobj
;
13389 wxDC
*arg1
= (wxDC
*) 0 ;
13391 PyObject
* obj0
= 0 ;
13392 char *kwnames
[] = {
13393 (char *) "self", NULL
13396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
13397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13401 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
13403 wxPyEndAllowThreads(__tstate
);
13404 if (PyErr_Occurred()) SWIG_fail
;
13406 resultobj
= SWIG_FromInt((int)result
);
13413 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13414 PyObject
*resultobj
;
13415 wxDC
*arg1
= (wxDC
*) 0 ;
13417 PyObject
* obj0
= 0 ;
13418 char *kwnames
[] = {
13419 (char *) "self", NULL
13422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
13423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13427 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
13429 wxPyEndAllowThreads(__tstate
);
13430 if (PyErr_Occurred()) SWIG_fail
;
13432 resultobj
= SWIG_FromInt((int)result
);
13439 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13440 PyObject
*resultobj
;
13441 wxDC
*arg1
= (wxDC
*) 0 ;
13442 wxString
*arg2
= 0 ;
13443 int *arg3
= (int *) 0 ;
13444 int *arg4
= (int *) 0 ;
13445 bool temp2
= False
;
13448 PyObject
* obj0
= 0 ;
13449 PyObject
* obj1
= 0 ;
13450 char *kwnames
[] = {
13451 (char *) "self",(char *) "string", NULL
13456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
13457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13460 arg2
= wxString_in_helper(obj1
);
13461 if (arg2
== NULL
) SWIG_fail
;
13465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13466 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
13468 wxPyEndAllowThreads(__tstate
);
13469 if (PyErr_Occurred()) SWIG_fail
;
13471 Py_INCREF(Py_None
); resultobj
= Py_None
;
13473 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13474 resultobj
= t_output_helper(resultobj
,o
);
13477 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13478 resultobj
= t_output_helper(resultobj
,o
);
13494 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13495 PyObject
*resultobj
;
13496 wxDC
*arg1
= (wxDC
*) 0 ;
13497 wxString
*arg2
= 0 ;
13498 int *arg3
= (int *) 0 ;
13499 int *arg4
= (int *) 0 ;
13500 int *arg5
= (int *) 0 ;
13501 int *arg6
= (int *) 0 ;
13502 wxFont
*arg7
= (wxFont
*) NULL
;
13503 bool temp2
= False
;
13508 PyObject
* obj0
= 0 ;
13509 PyObject
* obj1
= 0 ;
13510 PyObject
* obj2
= 0 ;
13511 char *kwnames
[] = {
13512 (char *) "self",(char *) "string",(char *) "font", NULL
13519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13523 arg2
= wxString_in_helper(obj1
);
13524 if (arg2
== NULL
) SWIG_fail
;
13528 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
13529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13533 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13535 wxPyEndAllowThreads(__tstate
);
13536 if (PyErr_Occurred()) SWIG_fail
;
13538 Py_INCREF(Py_None
); resultobj
= Py_None
;
13540 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13541 resultobj
= t_output_helper(resultobj
,o
);
13544 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13545 resultobj
= t_output_helper(resultobj
,o
);
13548 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13549 resultobj
= t_output_helper(resultobj
,o
);
13552 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
13553 resultobj
= t_output_helper(resultobj
,o
);
13569 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13570 PyObject
*resultobj
;
13571 wxDC
*arg1
= (wxDC
*) 0 ;
13572 wxString
*arg2
= 0 ;
13573 int *arg3
= (int *) 0 ;
13574 int *arg4
= (int *) 0 ;
13575 int *arg5
= (int *) 0 ;
13576 wxFont
*arg6
= (wxFont
*) NULL
;
13577 bool temp2
= False
;
13581 PyObject
* obj0
= 0 ;
13582 PyObject
* obj1
= 0 ;
13583 PyObject
* obj2
= 0 ;
13584 char *kwnames
[] = {
13585 (char *) "self",(char *) "text",(char *) "font", NULL
13591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13595 arg2
= wxString_in_helper(obj1
);
13596 if (arg2
== NULL
) SWIG_fail
;
13600 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
13601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13605 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
13607 wxPyEndAllowThreads(__tstate
);
13608 if (PyErr_Occurred()) SWIG_fail
;
13610 Py_INCREF(Py_None
); resultobj
= Py_None
;
13612 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13613 resultobj
= t_output_helper(resultobj
,o
);
13616 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13617 resultobj
= t_output_helper(resultobj
,o
);
13620 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13621 resultobj
= t_output_helper(resultobj
,o
);
13637 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13638 PyObject
*resultobj
;
13639 wxDC
*arg1
= (wxDC
*) 0 ;
13640 wxString
*arg2
= 0 ;
13642 bool temp2
= False
;
13643 PyObject
* obj0
= 0 ;
13644 PyObject
* obj1
= 0 ;
13645 char *kwnames
[] = {
13646 (char *) "self",(char *) "text", NULL
13649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
13650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13653 arg2
= wxString_in_helper(obj1
);
13654 if (arg2
== NULL
) SWIG_fail
;
13658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13659 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
13661 wxPyEndAllowThreads(__tstate
);
13662 if (PyErr_Occurred()) SWIG_fail
;
13665 resultobj
= PyList_New(0);
13667 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13668 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13669 PyList_Append(resultobj
, val
);
13687 static PyObject
*_wrap_DC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13688 PyObject
*resultobj
;
13689 wxDC
*arg1
= (wxDC
*) 0 ;
13691 PyObject
* obj0
= 0 ;
13692 char *kwnames
[] = {
13693 (char *) "self", NULL
13696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
13697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13701 result
= (arg1
)->GetSize();
13703 wxPyEndAllowThreads(__tstate
);
13704 if (PyErr_Occurred()) SWIG_fail
;
13707 wxSize
* resultptr
;
13708 resultptr
= new wxSize((wxSize
&) result
);
13709 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13717 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13718 PyObject
*resultobj
;
13719 wxDC
*arg1
= (wxDC
*) 0 ;
13720 int *arg2
= (int *) 0 ;
13721 int *arg3
= (int *) 0 ;
13724 PyObject
* obj0
= 0 ;
13725 char *kwnames
[] = {
13726 (char *) "self", NULL
13731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
13732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13736 (arg1
)->GetSize(arg2
,arg3
);
13738 wxPyEndAllowThreads(__tstate
);
13739 if (PyErr_Occurred()) SWIG_fail
;
13741 Py_INCREF(Py_None
); resultobj
= Py_None
;
13743 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13744 resultobj
= t_output_helper(resultobj
,o
);
13747 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13748 resultobj
= t_output_helper(resultobj
,o
);
13756 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13757 PyObject
*resultobj
;
13758 wxDC
*arg1
= (wxDC
*) 0 ;
13760 PyObject
* obj0
= 0 ;
13761 char *kwnames
[] = {
13762 (char *) "self", NULL
13765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
13766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13770 result
= ((wxDC
const *)arg1
)->GetSizeMM();
13772 wxPyEndAllowThreads(__tstate
);
13773 if (PyErr_Occurred()) SWIG_fail
;
13776 wxSize
* resultptr
;
13777 resultptr
= new wxSize((wxSize
&) result
);
13778 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13786 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13787 PyObject
*resultobj
;
13788 wxDC
*arg1
= (wxDC
*) 0 ;
13789 int *arg2
= (int *) 0 ;
13790 int *arg3
= (int *) 0 ;
13793 PyObject
* obj0
= 0 ;
13794 char *kwnames
[] = {
13795 (char *) "self", NULL
13800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13805 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13807 wxPyEndAllowThreads(__tstate
);
13808 if (PyErr_Occurred()) SWIG_fail
;
13810 Py_INCREF(Py_None
); resultobj
= Py_None
;
13812 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13813 resultobj
= t_output_helper(resultobj
,o
);
13816 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13817 resultobj
= t_output_helper(resultobj
,o
);
13825 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13826 PyObject
*resultobj
;
13827 wxDC
*arg1
= (wxDC
*) 0 ;
13830 PyObject
* obj0
= 0 ;
13831 PyObject
* obj1
= 0 ;
13832 char *kwnames
[] = {
13833 (char *) "self",(char *) "x", NULL
13836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
13837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13839 arg2
= (int) SWIG_AsInt(obj1
);
13840 if (PyErr_Occurred()) SWIG_fail
;
13842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13843 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
13845 wxPyEndAllowThreads(__tstate
);
13846 if (PyErr_Occurred()) SWIG_fail
;
13848 resultobj
= SWIG_FromInt((int)result
);
13855 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13856 PyObject
*resultobj
;
13857 wxDC
*arg1
= (wxDC
*) 0 ;
13860 PyObject
* obj0
= 0 ;
13861 PyObject
* obj1
= 0 ;
13862 char *kwnames
[] = {
13863 (char *) "self",(char *) "y", NULL
13866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
13867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13869 arg2
= (int) SWIG_AsInt(obj1
);
13870 if (PyErr_Occurred()) SWIG_fail
;
13872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13873 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
13875 wxPyEndAllowThreads(__tstate
);
13876 if (PyErr_Occurred()) SWIG_fail
;
13878 resultobj
= SWIG_FromInt((int)result
);
13885 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13886 PyObject
*resultobj
;
13887 wxDC
*arg1
= (wxDC
*) 0 ;
13890 PyObject
* obj0
= 0 ;
13891 PyObject
* obj1
= 0 ;
13892 char *kwnames
[] = {
13893 (char *) "self",(char *) "x", NULL
13896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13899 arg2
= (int) SWIG_AsInt(obj1
);
13900 if (PyErr_Occurred()) SWIG_fail
;
13902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13903 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
13905 wxPyEndAllowThreads(__tstate
);
13906 if (PyErr_Occurred()) SWIG_fail
;
13908 resultobj
= SWIG_FromInt((int)result
);
13915 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13916 PyObject
*resultobj
;
13917 wxDC
*arg1
= (wxDC
*) 0 ;
13920 PyObject
* obj0
= 0 ;
13921 PyObject
* obj1
= 0 ;
13922 char *kwnames
[] = {
13923 (char *) "self",(char *) "y", NULL
13926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13929 arg2
= (int) SWIG_AsInt(obj1
);
13930 if (PyErr_Occurred()) SWIG_fail
;
13932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13933 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
13935 wxPyEndAllowThreads(__tstate
);
13936 if (PyErr_Occurred()) SWIG_fail
;
13938 resultobj
= SWIG_FromInt((int)result
);
13945 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13946 PyObject
*resultobj
;
13947 wxDC
*arg1
= (wxDC
*) 0 ;
13950 PyObject
* obj0
= 0 ;
13951 PyObject
* obj1
= 0 ;
13952 char *kwnames
[] = {
13953 (char *) "self",(char *) "x", NULL
13956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
13957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13959 arg2
= (int) SWIG_AsInt(obj1
);
13960 if (PyErr_Occurred()) SWIG_fail
;
13962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13963 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
13965 wxPyEndAllowThreads(__tstate
);
13966 if (PyErr_Occurred()) SWIG_fail
;
13968 resultobj
= SWIG_FromInt((int)result
);
13975 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13976 PyObject
*resultobj
;
13977 wxDC
*arg1
= (wxDC
*) 0 ;
13980 PyObject
* obj0
= 0 ;
13981 PyObject
* obj1
= 0 ;
13982 char *kwnames
[] = {
13983 (char *) "self",(char *) "y", NULL
13986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13989 arg2
= (int) SWIG_AsInt(obj1
);
13990 if (PyErr_Occurred()) SWIG_fail
;
13992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13993 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
13995 wxPyEndAllowThreads(__tstate
);
13996 if (PyErr_Occurred()) SWIG_fail
;
13998 resultobj
= SWIG_FromInt((int)result
);
14005 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14006 PyObject
*resultobj
;
14007 wxDC
*arg1
= (wxDC
*) 0 ;
14010 PyObject
* obj0
= 0 ;
14011 PyObject
* obj1
= 0 ;
14012 char *kwnames
[] = {
14013 (char *) "self",(char *) "x", NULL
14016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
14017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14019 arg2
= (int) SWIG_AsInt(obj1
);
14020 if (PyErr_Occurred()) SWIG_fail
;
14022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14023 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
14025 wxPyEndAllowThreads(__tstate
);
14026 if (PyErr_Occurred()) SWIG_fail
;
14028 resultobj
= SWIG_FromInt((int)result
);
14035 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14036 PyObject
*resultobj
;
14037 wxDC
*arg1
= (wxDC
*) 0 ;
14040 PyObject
* obj0
= 0 ;
14041 PyObject
* obj1
= 0 ;
14042 char *kwnames
[] = {
14043 (char *) "self",(char *) "y", NULL
14046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
14047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14049 arg2
= (int) SWIG_AsInt(obj1
);
14050 if (PyErr_Occurred()) SWIG_fail
;
14052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14053 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
14055 wxPyEndAllowThreads(__tstate
);
14056 if (PyErr_Occurred()) SWIG_fail
;
14058 resultobj
= SWIG_FromInt((int)result
);
14065 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14066 PyObject
*resultobj
;
14067 wxDC
*arg1
= (wxDC
*) 0 ;
14069 PyObject
* obj0
= 0 ;
14070 char *kwnames
[] = {
14071 (char *) "self", NULL
14074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
14075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14079 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
14081 wxPyEndAllowThreads(__tstate
);
14082 if (PyErr_Occurred()) SWIG_fail
;
14085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14093 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14094 PyObject
*resultobj
;
14095 wxDC
*arg1
= (wxDC
*) 0 ;
14097 PyObject
* obj0
= 0 ;
14098 char *kwnames
[] = {
14099 (char *) "self", NULL
14102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
14103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14107 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
14109 wxPyEndAllowThreads(__tstate
);
14110 if (PyErr_Occurred()) SWIG_fail
;
14113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14121 static PyObject
*_wrap_DC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14122 PyObject
*resultobj
;
14123 wxDC
*arg1
= (wxDC
*) 0 ;
14125 PyObject
* obj0
= 0 ;
14126 char *kwnames
[] = {
14127 (char *) "self", NULL
14130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
14131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14135 result
= (int)((wxDC
const *)arg1
)->GetDepth();
14137 wxPyEndAllowThreads(__tstate
);
14138 if (PyErr_Occurred()) SWIG_fail
;
14140 resultobj
= SWIG_FromInt((int)result
);
14147 static PyObject
*_wrap_DC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14148 PyObject
*resultobj
;
14149 wxDC
*arg1
= (wxDC
*) 0 ;
14151 PyObject
* obj0
= 0 ;
14152 char *kwnames
[] = {
14153 (char *) "self", NULL
14156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
14157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14161 result
= ((wxDC
const *)arg1
)->GetPPI();
14163 wxPyEndAllowThreads(__tstate
);
14164 if (PyErr_Occurred()) SWIG_fail
;
14167 wxSize
* resultptr
;
14168 resultptr
= new wxSize((wxSize
&) result
);
14169 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14177 static PyObject
*_wrap_DC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14178 PyObject
*resultobj
;
14179 wxDC
*arg1
= (wxDC
*) 0 ;
14181 PyObject
* obj0
= 0 ;
14182 char *kwnames
[] = {
14183 (char *) "self", NULL
14186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
14187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14191 result
= (bool)((wxDC
const *)arg1
)->Ok();
14193 wxPyEndAllowThreads(__tstate
);
14194 if (PyErr_Occurred()) SWIG_fail
;
14197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14205 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14206 PyObject
*resultobj
;
14207 wxDC
*arg1
= (wxDC
*) 0 ;
14209 PyObject
* obj0
= 0 ;
14210 char *kwnames
[] = {
14211 (char *) "self", NULL
14214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
14215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14219 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
14221 wxPyEndAllowThreads(__tstate
);
14222 if (PyErr_Occurred()) SWIG_fail
;
14224 resultobj
= SWIG_FromInt((int)result
);
14231 static PyObject
*_wrap_DC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14232 PyObject
*resultobj
;
14233 wxDC
*arg1
= (wxDC
*) 0 ;
14235 PyObject
* obj0
= 0 ;
14236 char *kwnames
[] = {
14237 (char *) "self", NULL
14240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
14241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14246 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
14247 result
= (wxBrush
*) &_result_ref
;
14250 wxPyEndAllowThreads(__tstate
);
14251 if (PyErr_Occurred()) SWIG_fail
;
14254 wxBrush
* resultptr
= new wxBrush(*result
);
14255 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
14263 static PyObject
*_wrap_DC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14264 PyObject
*resultobj
;
14265 wxDC
*arg1
= (wxDC
*) 0 ;
14267 PyObject
* obj0
= 0 ;
14268 char *kwnames
[] = {
14269 (char *) "self", NULL
14272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
14273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14278 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
14279 result
= (wxBrush
*) &_result_ref
;
14282 wxPyEndAllowThreads(__tstate
);
14283 if (PyErr_Occurred()) SWIG_fail
;
14286 wxBrush
* resultptr
= new wxBrush(*result
);
14287 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
14295 static PyObject
*_wrap_DC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14296 PyObject
*resultobj
;
14297 wxDC
*arg1
= (wxDC
*) 0 ;
14299 PyObject
* obj0
= 0 ;
14300 char *kwnames
[] = {
14301 (char *) "self", NULL
14304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
14305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14310 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
14311 result
= (wxFont
*) &_result_ref
;
14314 wxPyEndAllowThreads(__tstate
);
14315 if (PyErr_Occurred()) SWIG_fail
;
14318 wxFont
* resultptr
= new wxFont(*result
);
14319 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
14327 static PyObject
*_wrap_DC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14328 PyObject
*resultobj
;
14329 wxDC
*arg1
= (wxDC
*) 0 ;
14331 PyObject
* obj0
= 0 ;
14332 char *kwnames
[] = {
14333 (char *) "self", NULL
14336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
14337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14342 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
14343 result
= (wxPen
*) &_result_ref
;
14346 wxPyEndAllowThreads(__tstate
);
14347 if (PyErr_Occurred()) SWIG_fail
;
14350 wxPen
* resultptr
= new wxPen(*result
);
14351 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
14359 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14360 PyObject
*resultobj
;
14361 wxDC
*arg1
= (wxDC
*) 0 ;
14363 PyObject
* obj0
= 0 ;
14364 char *kwnames
[] = {
14365 (char *) "self", NULL
14368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
14369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14374 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
14375 result
= (wxColour
*) &_result_ref
;
14378 wxPyEndAllowThreads(__tstate
);
14379 if (PyErr_Occurred()) SWIG_fail
;
14381 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14388 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14389 PyObject
*resultobj
;
14390 wxDC
*arg1
= (wxDC
*) 0 ;
14392 PyObject
* obj0
= 0 ;
14393 char *kwnames
[] = {
14394 (char *) "self", NULL
14397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
14398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14403 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
14404 result
= (wxColour
*) &_result_ref
;
14407 wxPyEndAllowThreads(__tstate
);
14408 if (PyErr_Occurred()) SWIG_fail
;
14410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14417 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14418 PyObject
*resultobj
;
14419 wxDC
*arg1
= (wxDC
*) 0 ;
14420 wxColour
*arg2
= 0 ;
14422 PyObject
* obj0
= 0 ;
14423 PyObject
* obj1
= 0 ;
14424 char *kwnames
[] = {
14425 (char *) "self",(char *) "colour", NULL
14428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
14429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14433 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14437 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
14439 wxPyEndAllowThreads(__tstate
);
14440 if (PyErr_Occurred()) SWIG_fail
;
14442 Py_INCREF(Py_None
); resultobj
= Py_None
;
14449 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14450 PyObject
*resultobj
;
14451 wxDC
*arg1
= (wxDC
*) 0 ;
14452 wxColour
*arg2
= 0 ;
14454 PyObject
* obj0
= 0 ;
14455 PyObject
* obj1
= 0 ;
14456 char *kwnames
[] = {
14457 (char *) "self",(char *) "colour", NULL
14460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
14461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14465 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14469 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
14471 wxPyEndAllowThreads(__tstate
);
14472 if (PyErr_Occurred()) SWIG_fail
;
14474 Py_INCREF(Py_None
); resultobj
= Py_None
;
14481 static PyObject
*_wrap_DC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14482 PyObject
*resultobj
;
14483 wxDC
*arg1
= (wxDC
*) 0 ;
14485 PyObject
* obj0
= 0 ;
14486 char *kwnames
[] = {
14487 (char *) "self", NULL
14490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
14491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14495 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
14497 wxPyEndAllowThreads(__tstate
);
14498 if (PyErr_Occurred()) SWIG_fail
;
14500 resultobj
= SWIG_FromInt((int)result
);
14507 static PyObject
*_wrap_DC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14508 PyObject
*resultobj
;
14509 wxDC
*arg1
= (wxDC
*) 0 ;
14511 PyObject
* obj0
= 0 ;
14512 PyObject
* obj1
= 0 ;
14513 char *kwnames
[] = {
14514 (char *) "self",(char *) "mode", NULL
14517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
14518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14520 arg2
= (int) SWIG_AsInt(obj1
);
14521 if (PyErr_Occurred()) SWIG_fail
;
14523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14524 (arg1
)->SetMapMode(arg2
);
14526 wxPyEndAllowThreads(__tstate
);
14527 if (PyErr_Occurred()) SWIG_fail
;
14529 Py_INCREF(Py_None
); resultobj
= Py_None
;
14536 static PyObject
*_wrap_DC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14537 PyObject
*resultobj
;
14538 wxDC
*arg1
= (wxDC
*) 0 ;
14539 double *arg2
= (double *) 0 ;
14540 double *arg3
= (double *) 0 ;
14543 PyObject
* obj0
= 0 ;
14544 char *kwnames
[] = {
14545 (char *) "self", NULL
14550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
14551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14555 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
14557 wxPyEndAllowThreads(__tstate
);
14558 if (PyErr_Occurred()) SWIG_fail
;
14560 Py_INCREF(Py_None
); resultobj
= Py_None
;
14562 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14563 resultobj
= t_output_helper(resultobj
,o
);
14566 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14567 resultobj
= t_output_helper(resultobj
,o
);
14575 static PyObject
*_wrap_DC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14576 PyObject
*resultobj
;
14577 wxDC
*arg1
= (wxDC
*) 0 ;
14580 PyObject
* obj0
= 0 ;
14581 PyObject
* obj1
= 0 ;
14582 PyObject
* obj2
= 0 ;
14583 char *kwnames
[] = {
14584 (char *) "self",(char *) "x",(char *) "y", NULL
14587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14590 arg2
= (double) SWIG_AsDouble(obj1
);
14591 if (PyErr_Occurred()) SWIG_fail
;
14592 arg3
= (double) SWIG_AsDouble(obj2
);
14593 if (PyErr_Occurred()) SWIG_fail
;
14595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14596 (arg1
)->SetUserScale(arg2
,arg3
);
14598 wxPyEndAllowThreads(__tstate
);
14599 if (PyErr_Occurred()) SWIG_fail
;
14601 Py_INCREF(Py_None
); resultobj
= Py_None
;
14608 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14609 PyObject
*resultobj
;
14610 wxDC
*arg1
= (wxDC
*) 0 ;
14611 double *arg2
= (double *) 0 ;
14612 double *arg3
= (double *) 0 ;
14615 PyObject
* obj0
= 0 ;
14616 char *kwnames
[] = {
14617 (char *) "self", NULL
14622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
14623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14627 (arg1
)->GetLogicalScale(arg2
,arg3
);
14629 wxPyEndAllowThreads(__tstate
);
14630 if (PyErr_Occurred()) SWIG_fail
;
14632 Py_INCREF(Py_None
); resultobj
= Py_None
;
14634 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14635 resultobj
= t_output_helper(resultobj
,o
);
14638 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14639 resultobj
= t_output_helper(resultobj
,o
);
14647 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14648 PyObject
*resultobj
;
14649 wxDC
*arg1
= (wxDC
*) 0 ;
14652 PyObject
* obj0
= 0 ;
14653 PyObject
* obj1
= 0 ;
14654 PyObject
* obj2
= 0 ;
14655 char *kwnames
[] = {
14656 (char *) "self",(char *) "x",(char *) "y", NULL
14659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14662 arg2
= (double) SWIG_AsDouble(obj1
);
14663 if (PyErr_Occurred()) SWIG_fail
;
14664 arg3
= (double) SWIG_AsDouble(obj2
);
14665 if (PyErr_Occurred()) SWIG_fail
;
14667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14668 (arg1
)->SetLogicalScale(arg2
,arg3
);
14670 wxPyEndAllowThreads(__tstate
);
14671 if (PyErr_Occurred()) SWIG_fail
;
14673 Py_INCREF(Py_None
); resultobj
= Py_None
;
14680 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14681 PyObject
*resultobj
;
14682 wxDC
*arg1
= (wxDC
*) 0 ;
14684 PyObject
* obj0
= 0 ;
14685 char *kwnames
[] = {
14686 (char *) "self", NULL
14689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
14690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14694 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
14696 wxPyEndAllowThreads(__tstate
);
14697 if (PyErr_Occurred()) SWIG_fail
;
14700 wxPoint
* resultptr
;
14701 resultptr
= new wxPoint((wxPoint
&) result
);
14702 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14710 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14711 PyObject
*resultobj
;
14712 wxDC
*arg1
= (wxDC
*) 0 ;
14713 int *arg2
= (int *) 0 ;
14714 int *arg3
= (int *) 0 ;
14717 PyObject
* obj0
= 0 ;
14718 char *kwnames
[] = {
14719 (char *) "self", NULL
14724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
14725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14729 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
14731 wxPyEndAllowThreads(__tstate
);
14732 if (PyErr_Occurred()) SWIG_fail
;
14734 Py_INCREF(Py_None
); resultobj
= Py_None
;
14736 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14737 resultobj
= t_output_helper(resultobj
,o
);
14740 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14741 resultobj
= t_output_helper(resultobj
,o
);
14749 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14750 PyObject
*resultobj
;
14751 wxDC
*arg1
= (wxDC
*) 0 ;
14754 PyObject
* obj0
= 0 ;
14755 PyObject
* obj1
= 0 ;
14756 PyObject
* obj2
= 0 ;
14757 char *kwnames
[] = {
14758 (char *) "self",(char *) "x",(char *) "y", NULL
14761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14764 arg2
= (int) SWIG_AsInt(obj1
);
14765 if (PyErr_Occurred()) SWIG_fail
;
14766 arg3
= (int) SWIG_AsInt(obj2
);
14767 if (PyErr_Occurred()) SWIG_fail
;
14769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14770 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
14772 wxPyEndAllowThreads(__tstate
);
14773 if (PyErr_Occurred()) SWIG_fail
;
14775 Py_INCREF(Py_None
); resultobj
= Py_None
;
14782 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14783 PyObject
*resultobj
;
14784 wxDC
*arg1
= (wxDC
*) 0 ;
14786 PyObject
* obj0
= 0 ;
14787 char *kwnames
[] = {
14788 (char *) "self", NULL
14791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
14792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14796 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
14798 wxPyEndAllowThreads(__tstate
);
14799 if (PyErr_Occurred()) SWIG_fail
;
14802 wxPoint
* resultptr
;
14803 resultptr
= new wxPoint((wxPoint
&) result
);
14804 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14812 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14813 PyObject
*resultobj
;
14814 wxDC
*arg1
= (wxDC
*) 0 ;
14815 int *arg2
= (int *) 0 ;
14816 int *arg3
= (int *) 0 ;
14819 PyObject
* obj0
= 0 ;
14820 char *kwnames
[] = {
14821 (char *) "self", NULL
14826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
14827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14831 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
14833 wxPyEndAllowThreads(__tstate
);
14834 if (PyErr_Occurred()) SWIG_fail
;
14836 Py_INCREF(Py_None
); resultobj
= Py_None
;
14838 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14839 resultobj
= t_output_helper(resultobj
,o
);
14842 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14843 resultobj
= t_output_helper(resultobj
,o
);
14851 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14852 PyObject
*resultobj
;
14853 wxDC
*arg1
= (wxDC
*) 0 ;
14856 PyObject
* obj0
= 0 ;
14857 PyObject
* obj1
= 0 ;
14858 PyObject
* obj2
= 0 ;
14859 char *kwnames
[] = {
14860 (char *) "self",(char *) "x",(char *) "y", NULL
14863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14866 arg2
= (int) SWIG_AsInt(obj1
);
14867 if (PyErr_Occurred()) SWIG_fail
;
14868 arg3
= (int) SWIG_AsInt(obj2
);
14869 if (PyErr_Occurred()) SWIG_fail
;
14871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14872 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
14874 wxPyEndAllowThreads(__tstate
);
14875 if (PyErr_Occurred()) SWIG_fail
;
14877 Py_INCREF(Py_None
); resultobj
= Py_None
;
14884 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14885 PyObject
*resultobj
;
14886 wxDC
*arg1
= (wxDC
*) 0 ;
14889 PyObject
* obj0
= 0 ;
14890 PyObject
* obj1
= 0 ;
14891 PyObject
* obj2
= 0 ;
14892 char *kwnames
[] = {
14893 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14899 arg2
= (bool) SWIG_AsBool(obj1
);
14900 if (PyErr_Occurred()) SWIG_fail
;
14901 arg3
= (bool) SWIG_AsBool(obj2
);
14902 if (PyErr_Occurred()) SWIG_fail
;
14904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14905 (arg1
)->SetAxisOrientation(arg2
,arg3
);
14907 wxPyEndAllowThreads(__tstate
);
14908 if (PyErr_Occurred()) SWIG_fail
;
14910 Py_INCREF(Py_None
); resultobj
= Py_None
;
14917 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14918 PyObject
*resultobj
;
14919 wxDC
*arg1
= (wxDC
*) 0 ;
14921 PyObject
* obj0
= 0 ;
14922 char *kwnames
[] = {
14923 (char *) "self", NULL
14926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
14927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14931 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
14933 wxPyEndAllowThreads(__tstate
);
14934 if (PyErr_Occurred()) SWIG_fail
;
14936 resultobj
= SWIG_FromInt((int)result
);
14943 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14944 PyObject
*resultobj
;
14945 wxDC
*arg1
= (wxDC
*) 0 ;
14947 PyObject
* obj0
= 0 ;
14948 PyObject
* obj1
= 0 ;
14949 char *kwnames
[] = {
14950 (char *) "self",(char *) "function", NULL
14953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
14954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14956 arg2
= (int) SWIG_AsInt(obj1
);
14957 if (PyErr_Occurred()) SWIG_fail
;
14959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14960 (arg1
)->SetLogicalFunction(arg2
);
14962 wxPyEndAllowThreads(__tstate
);
14963 if (PyErr_Occurred()) SWIG_fail
;
14965 Py_INCREF(Py_None
); resultobj
= Py_None
;
14972 static PyObject
*_wrap_DC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14973 PyObject
*resultobj
;
14974 wxDC
*arg1
= (wxDC
*) 0 ;
14976 PyObject
* obj0
= 0 ;
14977 PyObject
* obj1
= 0 ;
14978 char *kwnames
[] = {
14979 (char *) "self",(char *) "opt", NULL
14982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
14983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14985 arg2
= (bool) SWIG_AsBool(obj1
);
14986 if (PyErr_Occurred()) SWIG_fail
;
14988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14989 (arg1
)->SetOptimization(arg2
);
14991 wxPyEndAllowThreads(__tstate
);
14992 if (PyErr_Occurred()) SWIG_fail
;
14994 Py_INCREF(Py_None
); resultobj
= Py_None
;
15001 static PyObject
*_wrap_DC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15002 PyObject
*resultobj
;
15003 wxDC
*arg1
= (wxDC
*) 0 ;
15005 PyObject
* obj0
= 0 ;
15006 char *kwnames
[] = {
15007 (char *) "self", NULL
15010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
15011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15015 result
= (bool)(arg1
)->GetOptimization();
15017 wxPyEndAllowThreads(__tstate
);
15018 if (PyErr_Occurred()) SWIG_fail
;
15021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15029 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15030 PyObject
*resultobj
;
15031 wxDC
*arg1
= (wxDC
*) 0 ;
15034 PyObject
* obj0
= 0 ;
15035 PyObject
* obj1
= 0 ;
15036 PyObject
* obj2
= 0 ;
15037 char *kwnames
[] = {
15038 (char *) "self",(char *) "x",(char *) "y", NULL
15041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15044 arg2
= (int) SWIG_AsInt(obj1
);
15045 if (PyErr_Occurred()) SWIG_fail
;
15046 arg3
= (int) SWIG_AsInt(obj2
);
15047 if (PyErr_Occurred()) SWIG_fail
;
15049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15050 (arg1
)->CalcBoundingBox(arg2
,arg3
);
15052 wxPyEndAllowThreads(__tstate
);
15053 if (PyErr_Occurred()) SWIG_fail
;
15055 Py_INCREF(Py_None
); resultobj
= Py_None
;
15062 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15063 PyObject
*resultobj
;
15064 wxDC
*arg1
= (wxDC
*) 0 ;
15065 PyObject
* obj0
= 0 ;
15066 char *kwnames
[] = {
15067 (char *) "self", NULL
15070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
15071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15075 (arg1
)->ResetBoundingBox();
15077 wxPyEndAllowThreads(__tstate
);
15078 if (PyErr_Occurred()) SWIG_fail
;
15080 Py_INCREF(Py_None
); resultobj
= Py_None
;
15087 static PyObject
*_wrap_DC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15088 PyObject
*resultobj
;
15089 wxDC
*arg1
= (wxDC
*) 0 ;
15091 PyObject
* obj0
= 0 ;
15092 char *kwnames
[] = {
15093 (char *) "self", NULL
15096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
15097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15101 result
= (int)((wxDC
const *)arg1
)->MinX();
15103 wxPyEndAllowThreads(__tstate
);
15104 if (PyErr_Occurred()) SWIG_fail
;
15106 resultobj
= SWIG_FromInt((int)result
);
15113 static PyObject
*_wrap_DC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15114 PyObject
*resultobj
;
15115 wxDC
*arg1
= (wxDC
*) 0 ;
15117 PyObject
* obj0
= 0 ;
15118 char *kwnames
[] = {
15119 (char *) "self", NULL
15122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
15123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15127 result
= (int)((wxDC
const *)arg1
)->MaxX();
15129 wxPyEndAllowThreads(__tstate
);
15130 if (PyErr_Occurred()) SWIG_fail
;
15132 resultobj
= SWIG_FromInt((int)result
);
15139 static PyObject
*_wrap_DC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15140 PyObject
*resultobj
;
15141 wxDC
*arg1
= (wxDC
*) 0 ;
15143 PyObject
* obj0
= 0 ;
15144 char *kwnames
[] = {
15145 (char *) "self", NULL
15148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
15149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15153 result
= (int)((wxDC
const *)arg1
)->MinY();
15155 wxPyEndAllowThreads(__tstate
);
15156 if (PyErr_Occurred()) SWIG_fail
;
15158 resultobj
= SWIG_FromInt((int)result
);
15165 static PyObject
*_wrap_DC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15166 PyObject
*resultobj
;
15167 wxDC
*arg1
= (wxDC
*) 0 ;
15169 PyObject
* obj0
= 0 ;
15170 char *kwnames
[] = {
15171 (char *) "self", NULL
15174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
15175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15179 result
= (int)((wxDC
const *)arg1
)->MaxY();
15181 wxPyEndAllowThreads(__tstate
);
15182 if (PyErr_Occurred()) SWIG_fail
;
15184 resultobj
= SWIG_FromInt((int)result
);
15191 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15192 PyObject
*resultobj
;
15193 wxDC
*arg1
= (wxDC
*) 0 ;
15194 int *arg2
= (int *) 0 ;
15195 int *arg3
= (int *) 0 ;
15196 int *arg4
= (int *) 0 ;
15197 int *arg5
= (int *) 0 ;
15202 PyObject
* obj0
= 0 ;
15203 char *kwnames
[] = {
15204 (char *) "self", NULL
15211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
15212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15216 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
15218 wxPyEndAllowThreads(__tstate
);
15219 if (PyErr_Occurred()) SWIG_fail
;
15221 Py_INCREF(Py_None
); resultobj
= Py_None
;
15223 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15224 resultobj
= t_output_helper(resultobj
,o
);
15227 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15228 resultobj
= t_output_helper(resultobj
,o
);
15231 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
15232 resultobj
= t_output_helper(resultobj
,o
);
15235 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
15236 resultobj
= t_output_helper(resultobj
,o
);
15244 static PyObject
*_wrap_DC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15245 PyObject
*resultobj
;
15246 wxDC
*arg1
= (wxDC
*) 0 ;
15247 PyObject
*arg2
= (PyObject
*) 0 ;
15248 PyObject
*arg3
= (PyObject
*) 0 ;
15249 PyObject
*arg4
= (PyObject
*) 0 ;
15251 PyObject
* obj0
= 0 ;
15252 PyObject
* obj1
= 0 ;
15253 PyObject
* obj2
= 0 ;
15254 PyObject
* obj3
= 0 ;
15255 char *kwnames
[] = {
15256 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15267 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
15269 wxPyEndAllowThreads(__tstate
);
15270 if (PyErr_Occurred()) SWIG_fail
;
15272 resultobj
= result
;
15279 static PyObject
*_wrap_DC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15280 PyObject
*resultobj
;
15281 wxDC
*arg1
= (wxDC
*) 0 ;
15282 PyObject
*arg2
= (PyObject
*) 0 ;
15283 PyObject
*arg3
= (PyObject
*) 0 ;
15284 PyObject
*arg4
= (PyObject
*) 0 ;
15286 PyObject
* obj0
= 0 ;
15287 PyObject
* obj1
= 0 ;
15288 PyObject
* obj2
= 0 ;
15289 PyObject
* obj3
= 0 ;
15290 char *kwnames
[] = {
15291 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15302 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
15304 wxPyEndAllowThreads(__tstate
);
15305 if (PyErr_Occurred()) SWIG_fail
;
15307 resultobj
= result
;
15314 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15315 PyObject
*resultobj
;
15316 wxDC
*arg1
= (wxDC
*) 0 ;
15317 PyObject
*arg2
= (PyObject
*) 0 ;
15318 PyObject
*arg3
= (PyObject
*) 0 ;
15319 PyObject
*arg4
= (PyObject
*) 0 ;
15321 PyObject
* obj0
= 0 ;
15322 PyObject
* obj1
= 0 ;
15323 PyObject
* obj2
= 0 ;
15324 PyObject
* obj3
= 0 ;
15325 char *kwnames
[] = {
15326 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15337 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
15339 wxPyEndAllowThreads(__tstate
);
15340 if (PyErr_Occurred()) SWIG_fail
;
15342 resultobj
= result
;
15349 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15350 PyObject
*resultobj
;
15351 wxDC
*arg1
= (wxDC
*) 0 ;
15352 PyObject
*arg2
= (PyObject
*) 0 ;
15353 PyObject
*arg3
= (PyObject
*) 0 ;
15354 PyObject
*arg4
= (PyObject
*) 0 ;
15356 PyObject
* obj0
= 0 ;
15357 PyObject
* obj1
= 0 ;
15358 PyObject
* obj2
= 0 ;
15359 PyObject
* obj3
= 0 ;
15360 char *kwnames
[] = {
15361 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15372 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
15374 wxPyEndAllowThreads(__tstate
);
15375 if (PyErr_Occurred()) SWIG_fail
;
15377 resultobj
= result
;
15384 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15385 PyObject
*resultobj
;
15386 wxDC
*arg1
= (wxDC
*) 0 ;
15387 PyObject
*arg2
= (PyObject
*) 0 ;
15388 PyObject
*arg3
= (PyObject
*) 0 ;
15389 PyObject
*arg4
= (PyObject
*) 0 ;
15391 PyObject
* obj0
= 0 ;
15392 PyObject
* obj1
= 0 ;
15393 PyObject
* obj2
= 0 ;
15394 PyObject
* obj3
= 0 ;
15395 char *kwnames
[] = {
15396 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15407 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
15409 wxPyEndAllowThreads(__tstate
);
15410 if (PyErr_Occurred()) SWIG_fail
;
15412 resultobj
= result
;
15419 static PyObject
*_wrap_DC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15420 PyObject
*resultobj
;
15421 wxDC
*arg1
= (wxDC
*) 0 ;
15422 PyObject
*arg2
= (PyObject
*) 0 ;
15423 PyObject
*arg3
= (PyObject
*) 0 ;
15424 PyObject
*arg4
= (PyObject
*) 0 ;
15425 PyObject
*arg5
= (PyObject
*) 0 ;
15427 PyObject
* obj0
= 0 ;
15428 PyObject
* obj1
= 0 ;
15429 PyObject
* obj2
= 0 ;
15430 PyObject
* obj3
= 0 ;
15431 PyObject
* obj4
= 0 ;
15432 char *kwnames
[] = {
15433 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
15436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15445 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
15447 wxPyEndAllowThreads(__tstate
);
15448 if (PyErr_Occurred()) SWIG_fail
;
15450 resultobj
= result
;
15457 static PyObject
* DC_swigregister(PyObject
*self
, PyObject
*args
) {
15459 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15460 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
15462 return Py_BuildValue((char *)"");
15464 static PyObject
*_wrap_new_MemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15465 PyObject
*resultobj
;
15466 wxMemoryDC
*result
;
15467 char *kwnames
[] = {
15471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
15473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15474 result
= (wxMemoryDC
*)new wxMemoryDC();
15476 wxPyEndAllowThreads(__tstate
);
15477 if (PyErr_Occurred()) SWIG_fail
;
15479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15486 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15487 PyObject
*resultobj
;
15488 wxDC
*arg1
= (wxDC
*) 0 ;
15489 wxMemoryDC
*result
;
15490 PyObject
* obj0
= 0 ;
15491 char *kwnames
[] = {
15492 (char *) "oldDC", NULL
15495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
15496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15500 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
15502 wxPyEndAllowThreads(__tstate
);
15503 if (PyErr_Occurred()) SWIG_fail
;
15505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15512 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15513 PyObject
*resultobj
;
15514 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
15515 wxBitmap
*arg2
= 0 ;
15516 PyObject
* obj0
= 0 ;
15517 PyObject
* obj1
= 0 ;
15518 char *kwnames
[] = {
15519 (char *) "self",(char *) "bitmap", NULL
15522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
15524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15525 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15526 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15528 if (arg2
== NULL
) {
15529 PyErr_SetString(PyExc_TypeError
,"null reference");
15533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15534 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
15536 wxPyEndAllowThreads(__tstate
);
15537 if (PyErr_Occurred()) SWIG_fail
;
15539 Py_INCREF(Py_None
); resultobj
= Py_None
;
15546 static PyObject
* MemoryDC_swigregister(PyObject
*self
, PyObject
*args
) {
15548 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15549 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
15551 return Py_BuildValue((char *)"");
15553 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*self
, PyObject
*args
) {
15554 PyObject
*resultobj
;
15555 wxDC
*arg1
= (wxDC
*) 0 ;
15556 wxBitmap
*arg2
= 0 ;
15557 wxBufferedDC
*result
;
15558 PyObject
* obj0
= 0 ;
15559 PyObject
* obj1
= 0 ;
15561 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15564 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15565 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15567 if (arg2
== NULL
) {
15568 PyErr_SetString(PyExc_TypeError
,"null reference");
15572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15573 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
15575 wxPyEndAllowThreads(__tstate
);
15576 if (PyErr_Occurred()) SWIG_fail
;
15578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15585 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*self
, PyObject
*args
) {
15586 PyObject
*resultobj
;
15587 wxDC
*arg1
= (wxDC
*) 0 ;
15589 wxBufferedDC
*result
;
15591 PyObject
* obj0
= 0 ;
15592 PyObject
* obj1
= 0 ;
15594 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15599 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15603 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15605 wxPyEndAllowThreads(__tstate
);
15606 if (PyErr_Occurred()) SWIG_fail
;
15608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15615 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
15620 argc
= PyObject_Length(args
);
15621 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
15622 argv
[ii
] = PyTuple_GetItem(args
,ii
);
15628 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15638 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
15646 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
15654 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15663 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
15666 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
15671 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
15676 static PyObject
*_wrap_new_BufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
) {
15677 PyObject
*resultobj
;
15678 wxDC
*arg1
= (wxDC
*) 0 ;
15680 wxBufferedDC
*result
;
15682 PyObject
* obj0
= 0 ;
15683 PyObject
* obj1
= 0 ;
15685 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDCInternalBuffer",&obj0
,&obj1
)) goto fail
;
15686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15690 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15694 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15696 wxPyEndAllowThreads(__tstate
);
15697 if (PyErr_Occurred()) SWIG_fail
;
15699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15706 static PyObject
*_wrap_delete_BufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15707 PyObject
*resultobj
;
15708 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15709 PyObject
* obj0
= 0 ;
15710 char *kwnames
[] = {
15711 (char *) "self", NULL
15714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
15715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15721 wxPyEndAllowThreads(__tstate
);
15722 if (PyErr_Occurred()) SWIG_fail
;
15724 Py_INCREF(Py_None
); resultobj
= Py_None
;
15731 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15732 PyObject
*resultobj
;
15733 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15734 PyObject
* obj0
= 0 ;
15735 char *kwnames
[] = {
15736 (char *) "self", NULL
15739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
15740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15746 wxPyEndAllowThreads(__tstate
);
15747 if (PyErr_Occurred()) SWIG_fail
;
15749 Py_INCREF(Py_None
); resultobj
= Py_None
;
15756 static PyObject
* BufferedDC_swigregister(PyObject
*self
, PyObject
*args
) {
15758 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15759 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
15761 return Py_BuildValue((char *)"");
15763 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15764 PyObject
*resultobj
;
15765 wxWindow
*arg1
= (wxWindow
*) 0 ;
15766 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
15767 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
15768 wxBufferedPaintDC
*result
;
15769 PyObject
* obj0
= 0 ;
15770 PyObject
* obj1
= 0 ;
15771 char *kwnames
[] = {
15772 (char *) "window",(char *) "buffer", NULL
15775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15779 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15780 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15782 if (arg2
== NULL
) {
15783 PyErr_SetString(PyExc_TypeError
,"null reference");
15788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15789 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
15791 wxPyEndAllowThreads(__tstate
);
15792 if (PyErr_Occurred()) SWIG_fail
;
15794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
15801 static PyObject
* BufferedPaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15803 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15804 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
15806 return Py_BuildValue((char *)"");
15808 static PyObject
*_wrap_new_ScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15809 PyObject
*resultobj
;
15810 wxScreenDC
*result
;
15811 char *kwnames
[] = {
15815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
15817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15818 result
= (wxScreenDC
*)new wxScreenDC();
15820 wxPyEndAllowThreads(__tstate
);
15821 if (PyErr_Occurred()) SWIG_fail
;
15823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
15830 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15831 PyObject
*resultobj
;
15832 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15833 wxWindow
*arg2
= (wxWindow
*) 0 ;
15835 PyObject
* obj0
= 0 ;
15836 PyObject
* obj1
= 0 ;
15837 char *kwnames
[] = {
15838 (char *) "self",(char *) "window", NULL
15841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
15842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15844 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15848 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15850 wxPyEndAllowThreads(__tstate
);
15851 if (PyErr_Occurred()) SWIG_fail
;
15854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15862 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15863 PyObject
*resultobj
;
15864 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15865 wxRect
*arg2
= (wxRect
*) NULL
;
15867 PyObject
* obj0
= 0 ;
15868 PyObject
* obj1
= 0 ;
15869 char *kwnames
[] = {
15870 (char *) "self",(char *) "rect", NULL
15873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
15874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15877 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
15878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15882 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15884 wxPyEndAllowThreads(__tstate
);
15885 if (PyErr_Occurred()) SWIG_fail
;
15888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15896 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15897 PyObject
*resultobj
;
15898 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15900 PyObject
* obj0
= 0 ;
15901 char *kwnames
[] = {
15902 (char *) "self", NULL
15905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
15906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15910 result
= (bool)(arg1
)->EndDrawingOnTop();
15912 wxPyEndAllowThreads(__tstate
);
15913 if (PyErr_Occurred()) SWIG_fail
;
15916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15924 static PyObject
* ScreenDC_swigregister(PyObject
*self
, PyObject
*args
) {
15926 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15927 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
15929 return Py_BuildValue((char *)"");
15931 static PyObject
*_wrap_new_ClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15932 PyObject
*resultobj
;
15933 wxWindow
*arg1
= (wxWindow
*) 0 ;
15934 wxClientDC
*result
;
15935 PyObject
* obj0
= 0 ;
15936 char *kwnames
[] = {
15937 (char *) "win", NULL
15940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
15941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15945 result
= (wxClientDC
*)new wxClientDC(arg1
);
15947 wxPyEndAllowThreads(__tstate
);
15948 if (PyErr_Occurred()) SWIG_fail
;
15950 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
15957 static PyObject
* ClientDC_swigregister(PyObject
*self
, PyObject
*args
) {
15959 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15960 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
15962 return Py_BuildValue((char *)"");
15964 static PyObject
*_wrap_new_PaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15965 PyObject
*resultobj
;
15966 wxWindow
*arg1
= (wxWindow
*) 0 ;
15968 PyObject
* obj0
= 0 ;
15969 char *kwnames
[] = {
15970 (char *) "win", NULL
15973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
15974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15978 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
15980 wxPyEndAllowThreads(__tstate
);
15981 if (PyErr_Occurred()) SWIG_fail
;
15983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
15990 static PyObject
* PaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15992 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15993 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
15995 return Py_BuildValue((char *)"");
15997 static PyObject
*_wrap_new_WindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15998 PyObject
*resultobj
;
15999 wxWindow
*arg1
= (wxWindow
*) 0 ;
16000 wxWindowDC
*result
;
16001 PyObject
* obj0
= 0 ;
16002 char *kwnames
[] = {
16003 (char *) "win", NULL
16006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
16007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16011 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
16013 wxPyEndAllowThreads(__tstate
);
16014 if (PyErr_Occurred()) SWIG_fail
;
16016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
16023 static PyObject
* WindowDC_swigregister(PyObject
*self
, PyObject
*args
) {
16025 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16026 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
16028 return Py_BuildValue((char *)"");
16030 static PyObject
*_wrap_new_MirrorDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16031 PyObject
*resultobj
;
16034 wxMirrorDC
*result
;
16035 PyObject
* obj0
= 0 ;
16036 PyObject
* obj1
= 0 ;
16037 char *kwnames
[] = {
16038 (char *) "dc",(char *) "mirror", NULL
16041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
16042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
16043 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16045 if (arg1
== NULL
) {
16046 PyErr_SetString(PyExc_TypeError
,"null reference");
16049 arg2
= (bool) SWIG_AsBool(obj1
);
16050 if (PyErr_Occurred()) SWIG_fail
;
16052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16053 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
16055 wxPyEndAllowThreads(__tstate
);
16056 if (PyErr_Occurred()) SWIG_fail
;
16058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
16065 static PyObject
* MirrorDC_swigregister(PyObject
*self
, PyObject
*args
) {
16067 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16068 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
16070 return Py_BuildValue((char *)"");
16072 static PyObject
*_wrap_new_PostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16073 PyObject
*resultobj
;
16074 wxPrintData
*arg1
= 0 ;
16075 wxPostScriptDC
*result
;
16076 PyObject
* obj0
= 0 ;
16077 char *kwnames
[] = {
16078 (char *) "printData", NULL
16081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
16082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16083 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16085 if (arg1
== NULL
) {
16086 PyErr_SetString(PyExc_TypeError
,"null reference");
16090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16091 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
16093 wxPyEndAllowThreads(__tstate
);
16094 if (PyErr_Occurred()) SWIG_fail
;
16096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
16103 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16104 PyObject
*resultobj
;
16105 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
16106 wxPrintData
*result
;
16107 PyObject
* obj0
= 0 ;
16108 char *kwnames
[] = {
16109 (char *) "self", NULL
16112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
16113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
16114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16118 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
16119 result
= (wxPrintData
*) &_result_ref
;
16122 wxPyEndAllowThreads(__tstate
);
16123 if (PyErr_Occurred()) SWIG_fail
;
16125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
16132 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16133 PyObject
*resultobj
;
16134 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
16135 wxPrintData
*arg2
= 0 ;
16136 PyObject
* obj0
= 0 ;
16137 PyObject
* obj1
= 0 ;
16138 char *kwnames
[] = {
16139 (char *) "self",(char *) "data", NULL
16142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
16143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
16144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16145 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
16146 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16148 if (arg2
== NULL
) {
16149 PyErr_SetString(PyExc_TypeError
,"null reference");
16153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16154 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
16156 wxPyEndAllowThreads(__tstate
);
16157 if (PyErr_Occurred()) SWIG_fail
;
16159 Py_INCREF(Py_None
); resultobj
= Py_None
;
16166 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16167 PyObject
*resultobj
;
16169 PyObject
* obj0
= 0 ;
16170 char *kwnames
[] = {
16171 (char *) "ppi", NULL
16174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
16175 arg1
= (int) SWIG_AsInt(obj0
);
16176 if (PyErr_Occurred()) SWIG_fail
;
16178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16179 wxPostScriptDC::SetResolution(arg1
);
16181 wxPyEndAllowThreads(__tstate
);
16182 if (PyErr_Occurred()) SWIG_fail
;
16184 Py_INCREF(Py_None
); resultobj
= Py_None
;
16191 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16192 PyObject
*resultobj
;
16194 char *kwnames
[] = {
16198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
16200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16201 result
= (int)wxPostScriptDC::GetResolution();
16203 wxPyEndAllowThreads(__tstate
);
16204 if (PyErr_Occurred()) SWIG_fail
;
16206 resultobj
= SWIG_FromInt((int)result
);
16213 static PyObject
* PostScriptDC_swigregister(PyObject
*self
, PyObject
*args
) {
16215 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16216 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
16218 return Py_BuildValue((char *)"");
16220 static PyObject
*_wrap_new_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16221 PyObject
*resultobj
;
16222 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16223 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16224 wxMetaFile
*result
;
16225 bool temp1
= False
;
16226 PyObject
* obj0
= 0 ;
16227 char *kwnames
[] = {
16228 (char *) "filename", NULL
16231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
16234 arg1
= wxString_in_helper(obj0
);
16235 if (arg1
== NULL
) SWIG_fail
;
16240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16241 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
16243 wxPyEndAllowThreads(__tstate
);
16244 if (PyErr_Occurred()) SWIG_fail
;
16246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
16261 static PyObject
*_wrap_delete_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16262 PyObject
*resultobj
;
16263 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16264 PyObject
* obj0
= 0 ;
16265 char *kwnames
[] = {
16266 (char *) "self", NULL
16269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
;
16270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16276 wxPyEndAllowThreads(__tstate
);
16277 if (PyErr_Occurred()) SWIG_fail
;
16279 Py_INCREF(Py_None
); resultobj
= Py_None
;
16286 static PyObject
*_wrap_MetaFile_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16287 PyObject
*resultobj
;
16288 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16290 PyObject
* obj0
= 0 ;
16291 char *kwnames
[] = {
16292 (char *) "self", NULL
16295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
;
16296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16300 result
= (bool)(arg1
)->Ok();
16302 wxPyEndAllowThreads(__tstate
);
16303 if (PyErr_Occurred()) SWIG_fail
;
16306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16314 static PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16315 PyObject
*resultobj
;
16316 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16317 int arg2
= (int) 0 ;
16318 int arg3
= (int) 0 ;
16320 PyObject
* obj0
= 0 ;
16321 PyObject
* obj1
= 0 ;
16322 PyObject
* obj2
= 0 ;
16323 char *kwnames
[] = {
16324 (char *) "self",(char *) "width",(char *) "height", NULL
16327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16331 arg2
= (int) SWIG_AsInt(obj1
);
16332 if (PyErr_Occurred()) SWIG_fail
;
16335 arg3
= (int) SWIG_AsInt(obj2
);
16336 if (PyErr_Occurred()) SWIG_fail
;
16339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16340 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
16342 wxPyEndAllowThreads(__tstate
);
16343 if (PyErr_Occurred()) SWIG_fail
;
16346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16354 static PyObject
*_wrap_MetaFile_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16355 PyObject
*resultobj
;
16356 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16358 PyObject
* obj0
= 0 ;
16359 char *kwnames
[] = {
16360 (char *) "self", NULL
16363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
;
16364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16368 result
= (arg1
)->GetSize();
16370 wxPyEndAllowThreads(__tstate
);
16371 if (PyErr_Occurred()) SWIG_fail
;
16374 wxSize
* resultptr
;
16375 resultptr
= new wxSize((wxSize
&) result
);
16376 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16384 static PyObject
*_wrap_MetaFile_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16385 PyObject
*resultobj
;
16386 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16388 PyObject
* obj0
= 0 ;
16389 char *kwnames
[] = {
16390 (char *) "self", NULL
16393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
;
16394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16398 result
= (int)(arg1
)->GetWidth();
16400 wxPyEndAllowThreads(__tstate
);
16401 if (PyErr_Occurred()) SWIG_fail
;
16403 resultobj
= SWIG_FromInt((int)result
);
16410 static PyObject
*_wrap_MetaFile_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16411 PyObject
*resultobj
;
16412 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16414 PyObject
* obj0
= 0 ;
16415 char *kwnames
[] = {
16416 (char *) "self", NULL
16419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
;
16420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16424 result
= (int)(arg1
)->GetHeight();
16426 wxPyEndAllowThreads(__tstate
);
16427 if (PyErr_Occurred()) SWIG_fail
;
16429 resultobj
= SWIG_FromInt((int)result
);
16436 static PyObject
*_wrap_MetaFile_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16437 PyObject
*resultobj
;
16438 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16440 PyObject
* obj0
= 0 ;
16441 char *kwnames
[] = {
16442 (char *) "self", NULL
16445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetFileName",kwnames
,&obj0
)) goto fail
;
16446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16451 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
16452 result
= (wxString
*) &_result_ref
;
16455 wxPyEndAllowThreads(__tstate
);
16456 if (PyErr_Occurred()) SWIG_fail
;
16460 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16462 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16471 static PyObject
* MetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
16473 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16474 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
16476 return Py_BuildValue((char *)"");
16478 static PyObject
*_wrap_new_MetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16479 PyObject
*resultobj
;
16480 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16481 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16482 int arg2
= (int) 0 ;
16483 int arg3
= (int) 0 ;
16484 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16485 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16486 wxMetaFileDC
*result
;
16487 bool temp1
= False
;
16488 bool temp4
= False
;
16489 PyObject
* obj0
= 0 ;
16490 PyObject
* obj1
= 0 ;
16491 PyObject
* obj2
= 0 ;
16492 PyObject
* obj3
= 0 ;
16493 char *kwnames
[] = {
16494 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
16497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16500 arg1
= wxString_in_helper(obj0
);
16501 if (arg1
== NULL
) SWIG_fail
;
16506 arg2
= (int) SWIG_AsInt(obj1
);
16507 if (PyErr_Occurred()) SWIG_fail
;
16510 arg3
= (int) SWIG_AsInt(obj2
);
16511 if (PyErr_Occurred()) SWIG_fail
;
16515 arg4
= wxString_in_helper(obj3
);
16516 if (arg4
== NULL
) SWIG_fail
;
16521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16522 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
16524 wxPyEndAllowThreads(__tstate
);
16525 if (PyErr_Occurred()) SWIG_fail
;
16527 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
16550 static PyObject
*_wrap_MetaFileDC_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16551 PyObject
*resultobj
;
16552 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
16553 wxMetaFile
*result
;
16554 PyObject
* obj0
= 0 ;
16555 char *kwnames
[] = {
16556 (char *) "self", NULL
16559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
;
16560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFileDC
,
16561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16564 result
= (wxMetaFile
*)(arg1
)->Close();
16566 wxPyEndAllowThreads(__tstate
);
16567 if (PyErr_Occurred()) SWIG_fail
;
16569 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 0);
16576 static PyObject
* MetaFileDC_swigregister(PyObject
*self
, PyObject
*args
) {
16578 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16579 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
16581 return Py_BuildValue((char *)"");
16583 static PyObject
*_wrap_new_PrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16584 PyObject
*resultobj
;
16585 wxPrintData
*arg1
= 0 ;
16586 wxPrinterDC
*result
;
16587 PyObject
* obj0
= 0 ;
16588 char *kwnames
[] = {
16589 (char *) "printData", NULL
16592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
16593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16594 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16596 if (arg1
== NULL
) {
16597 PyErr_SetString(PyExc_TypeError
,"null reference");
16601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16602 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
16604 wxPyEndAllowThreads(__tstate
);
16605 if (PyErr_Occurred()) SWIG_fail
;
16607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
16614 static PyObject
* PrinterDC_swigregister(PyObject
*self
, PyObject
*args
) {
16616 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16617 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
16619 return Py_BuildValue((char *)"");
16621 static PyObject
*_wrap_new_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16622 PyObject
*resultobj
;
16625 int arg3
= (int) True
;
16626 int arg4
= (int) 1 ;
16627 wxImageList
*result
;
16628 PyObject
* obj0
= 0 ;
16629 PyObject
* obj1
= 0 ;
16630 PyObject
* obj2
= 0 ;
16631 PyObject
* obj3
= 0 ;
16632 char *kwnames
[] = {
16633 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
16636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16637 arg1
= (int) SWIG_AsInt(obj0
);
16638 if (PyErr_Occurred()) SWIG_fail
;
16639 arg2
= (int) SWIG_AsInt(obj1
);
16640 if (PyErr_Occurred()) SWIG_fail
;
16642 arg3
= (int) SWIG_AsInt(obj2
);
16643 if (PyErr_Occurred()) SWIG_fail
;
16646 arg4
= (int) SWIG_AsInt(obj3
);
16647 if (PyErr_Occurred()) SWIG_fail
;
16650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16651 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
16653 wxPyEndAllowThreads(__tstate
);
16654 if (PyErr_Occurred()) SWIG_fail
;
16657 resultobj
= wxPyMake_wxObject(result
);
16665 static PyObject
*_wrap_delete_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16666 PyObject
*resultobj
;
16667 wxImageList
*arg1
= (wxImageList
*) 0 ;
16668 PyObject
* obj0
= 0 ;
16669 char *kwnames
[] = {
16670 (char *) "self", NULL
16673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
16674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16680 wxPyEndAllowThreads(__tstate
);
16681 if (PyErr_Occurred()) SWIG_fail
;
16683 Py_INCREF(Py_None
); resultobj
= Py_None
;
16690 static PyObject
*_wrap_ImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16691 PyObject
*resultobj
;
16692 wxImageList
*arg1
= (wxImageList
*) 0 ;
16693 wxBitmap
*arg2
= 0 ;
16694 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
16695 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
16697 PyObject
* obj0
= 0 ;
16698 PyObject
* obj1
= 0 ;
16699 PyObject
* obj2
= 0 ;
16700 char *kwnames
[] = {
16701 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
16704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16707 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16708 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16710 if (arg2
== NULL
) {
16711 PyErr_SetString(PyExc_TypeError
,"null reference");
16715 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16716 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16718 if (arg3
== NULL
) {
16719 PyErr_SetString(PyExc_TypeError
,"null reference");
16724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16725 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
16727 wxPyEndAllowThreads(__tstate
);
16728 if (PyErr_Occurred()) SWIG_fail
;
16730 resultobj
= SWIG_FromInt((int)result
);
16737 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16738 PyObject
*resultobj
;
16739 wxImageList
*arg1
= (wxImageList
*) 0 ;
16740 wxBitmap
*arg2
= 0 ;
16741 wxColour
*arg3
= 0 ;
16744 PyObject
* obj0
= 0 ;
16745 PyObject
* obj1
= 0 ;
16746 PyObject
* obj2
= 0 ;
16747 char *kwnames
[] = {
16748 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
16751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16754 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16755 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16757 if (arg2
== NULL
) {
16758 PyErr_SetString(PyExc_TypeError
,"null reference");
16763 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16767 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
16769 wxPyEndAllowThreads(__tstate
);
16770 if (PyErr_Occurred()) SWIG_fail
;
16772 resultobj
= SWIG_FromInt((int)result
);
16779 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16780 PyObject
*resultobj
;
16781 wxImageList
*arg1
= (wxImageList
*) 0 ;
16784 PyObject
* obj0
= 0 ;
16785 PyObject
* obj1
= 0 ;
16786 char *kwnames
[] = {
16787 (char *) "self",(char *) "icon", NULL
16790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
16791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16793 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
16794 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16796 if (arg2
== NULL
) {
16797 PyErr_SetString(PyExc_TypeError
,"null reference");
16801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16802 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
16804 wxPyEndAllowThreads(__tstate
);
16805 if (PyErr_Occurred()) SWIG_fail
;
16807 resultobj
= SWIG_FromInt((int)result
);
16814 static PyObject
*_wrap_ImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16815 PyObject
*resultobj
;
16816 wxImageList
*arg1
= (wxImageList
*) 0 ;
16818 wxBitmap
*arg3
= 0 ;
16819 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
16820 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
16822 PyObject
* obj0
= 0 ;
16823 PyObject
* obj1
= 0 ;
16824 PyObject
* obj2
= 0 ;
16825 PyObject
* obj3
= 0 ;
16826 char *kwnames
[] = {
16827 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
16830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16833 arg2
= (int) SWIG_AsInt(obj1
);
16834 if (PyErr_Occurred()) SWIG_fail
;
16835 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16836 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16838 if (arg3
== NULL
) {
16839 PyErr_SetString(PyExc_TypeError
,"null reference");
16843 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
16844 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16846 if (arg4
== NULL
) {
16847 PyErr_SetString(PyExc_TypeError
,"null reference");
16852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16853 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
16855 wxPyEndAllowThreads(__tstate
);
16856 if (PyErr_Occurred()) SWIG_fail
;
16859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16867 static PyObject
*_wrap_ImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16868 PyObject
*resultobj
;
16869 wxImageList
*arg1
= (wxImageList
*) 0 ;
16874 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
16875 bool arg7
= (bool) (bool)False
;
16877 PyObject
* obj0
= 0 ;
16878 PyObject
* obj1
= 0 ;
16879 PyObject
* obj2
= 0 ;
16880 PyObject
* obj3
= 0 ;
16881 PyObject
* obj4
= 0 ;
16882 PyObject
* obj5
= 0 ;
16883 PyObject
* obj6
= 0 ;
16884 char *kwnames
[] = {
16885 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
16888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16891 arg2
= (int) SWIG_AsInt(obj1
);
16892 if (PyErr_Occurred()) SWIG_fail
;
16893 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
16894 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16896 if (arg3
== NULL
) {
16897 PyErr_SetString(PyExc_TypeError
,"null reference");
16900 arg4
= (int) SWIG_AsInt(obj3
);
16901 if (PyErr_Occurred()) SWIG_fail
;
16902 arg5
= (int) SWIG_AsInt(obj4
);
16903 if (PyErr_Occurred()) SWIG_fail
;
16905 arg6
= (int) SWIG_AsInt(obj5
);
16906 if (PyErr_Occurred()) SWIG_fail
;
16909 arg7
= (bool const) SWIG_AsBool(obj6
);
16910 if (PyErr_Occurred()) SWIG_fail
;
16913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16914 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
16916 wxPyEndAllowThreads(__tstate
);
16917 if (PyErr_Occurred()) SWIG_fail
;
16920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16928 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16929 PyObject
*resultobj
;
16930 wxImageList
*arg1
= (wxImageList
*) 0 ;
16932 PyObject
* obj0
= 0 ;
16933 char *kwnames
[] = {
16934 (char *) "self", NULL
16937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
16938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16942 result
= (int)(arg1
)->GetImageCount();
16944 wxPyEndAllowThreads(__tstate
);
16945 if (PyErr_Occurred()) SWIG_fail
;
16947 resultobj
= SWIG_FromInt((int)result
);
16954 static PyObject
*_wrap_ImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16955 PyObject
*resultobj
;
16956 wxImageList
*arg1
= (wxImageList
*) 0 ;
16959 PyObject
* obj0
= 0 ;
16960 PyObject
* obj1
= 0 ;
16961 char *kwnames
[] = {
16962 (char *) "self",(char *) "index", NULL
16965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
16966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16968 arg2
= (int) SWIG_AsInt(obj1
);
16969 if (PyErr_Occurred()) SWIG_fail
;
16971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16972 result
= (bool)(arg1
)->Remove(arg2
);
16974 wxPyEndAllowThreads(__tstate
);
16975 if (PyErr_Occurred()) SWIG_fail
;
16978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16986 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16987 PyObject
*resultobj
;
16988 wxImageList
*arg1
= (wxImageList
*) 0 ;
16990 PyObject
* obj0
= 0 ;
16991 char *kwnames
[] = {
16992 (char *) "self", NULL
16995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
16996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17000 result
= (bool)(arg1
)->RemoveAll();
17002 wxPyEndAllowThreads(__tstate
);
17003 if (PyErr_Occurred()) SWIG_fail
;
17006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17014 static PyObject
*_wrap_ImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17015 PyObject
*resultobj
;
17016 wxImageList
*arg1
= (wxImageList
*) 0 ;
17022 PyObject
* obj0
= 0 ;
17023 PyObject
* obj1
= 0 ;
17024 char *kwnames
[] = {
17025 (char *) "self",(char *) "index", NULL
17030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17033 arg2
= (int) SWIG_AsInt(obj1
);
17034 if (PyErr_Occurred()) SWIG_fail
;
17036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17037 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
17039 wxPyEndAllowThreads(__tstate
);
17040 if (PyErr_Occurred()) SWIG_fail
;
17042 Py_INCREF(Py_None
); resultobj
= Py_None
;
17044 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17045 resultobj
= t_output_helper(resultobj
,o
);
17048 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
17049 resultobj
= t_output_helper(resultobj
,o
);
17057 static PyObject
* ImageList_swigregister(PyObject
*self
, PyObject
*args
) {
17059 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17060 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
17062 return Py_BuildValue((char *)"");
17064 static int _wrap_NORMAL_FONT_set(PyObject
*_val
) {
17065 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
17070 static PyObject
*_wrap_NORMAL_FONT_get() {
17073 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
17078 static int _wrap_SMALL_FONT_set(PyObject
*_val
) {
17079 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
17084 static PyObject
*_wrap_SMALL_FONT_get() {
17087 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
17092 static int _wrap_ITALIC_FONT_set(PyObject
*_val
) {
17093 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
17098 static PyObject
*_wrap_ITALIC_FONT_get() {
17101 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
17106 static int _wrap_SWISS_FONT_set(PyObject
*_val
) {
17107 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
17112 static PyObject
*_wrap_SWISS_FONT_get() {
17115 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
17120 static int _wrap_RED_PEN_set(PyObject
*_val
) {
17121 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
17126 static PyObject
*_wrap_RED_PEN_get() {
17129 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
17134 static int _wrap_CYAN_PEN_set(PyObject
*_val
) {
17135 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
17140 static PyObject
*_wrap_CYAN_PEN_get() {
17143 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
17148 static int _wrap_GREEN_PEN_set(PyObject
*_val
) {
17149 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
17154 static PyObject
*_wrap_GREEN_PEN_get() {
17157 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
17162 static int _wrap_BLACK_PEN_set(PyObject
*_val
) {
17163 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
17168 static PyObject
*_wrap_BLACK_PEN_get() {
17171 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
17176 static int _wrap_WHITE_PEN_set(PyObject
*_val
) {
17177 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
17182 static PyObject
*_wrap_WHITE_PEN_get() {
17185 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
17190 static int _wrap_TRANSPARENT_PEN_set(PyObject
*_val
) {
17191 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
17196 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
17199 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
17204 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*_val
) {
17205 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
17210 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
17213 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
17218 static int _wrap_GREY_PEN_set(PyObject
*_val
) {
17219 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
17224 static PyObject
*_wrap_GREY_PEN_get() {
17227 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17232 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*_val
) {
17233 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
17238 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
17241 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17246 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*_val
) {
17247 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
17252 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
17255 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17260 static int _wrap_BLUE_BRUSH_set(PyObject
*_val
) {
17261 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
17266 static PyObject
*_wrap_BLUE_BRUSH_get() {
17269 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17274 static int _wrap_GREEN_BRUSH_set(PyObject
*_val
) {
17275 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
17280 static PyObject
*_wrap_GREEN_BRUSH_get() {
17283 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17288 static int _wrap_WHITE_BRUSH_set(PyObject
*_val
) {
17289 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
17294 static PyObject
*_wrap_WHITE_BRUSH_get() {
17297 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17302 static int _wrap_BLACK_BRUSH_set(PyObject
*_val
) {
17303 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
17308 static PyObject
*_wrap_BLACK_BRUSH_get() {
17311 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17316 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*_val
) {
17317 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
17322 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
17325 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17330 static int _wrap_CYAN_BRUSH_set(PyObject
*_val
) {
17331 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
17336 static PyObject
*_wrap_CYAN_BRUSH_get() {
17339 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17344 static int _wrap_RED_BRUSH_set(PyObject
*_val
) {
17345 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
17350 static PyObject
*_wrap_RED_BRUSH_get() {
17353 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17358 static int _wrap_GREY_BRUSH_set(PyObject
*_val
) {
17359 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
17364 static PyObject
*_wrap_GREY_BRUSH_get() {
17367 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17372 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*_val
) {
17373 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
17378 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
17381 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17386 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*_val
) {
17387 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
17392 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
17395 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17400 static int _wrap_BLACK_set(PyObject
*_val
) {
17401 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
17406 static PyObject
*_wrap_BLACK_get() {
17409 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
17414 static int _wrap_WHITE_set(PyObject
*_val
) {
17415 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
17420 static PyObject
*_wrap_WHITE_get() {
17423 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
17428 static int _wrap_RED_set(PyObject
*_val
) {
17429 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
17434 static PyObject
*_wrap_RED_get() {
17437 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
17442 static int _wrap_BLUE_set(PyObject
*_val
) {
17443 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
17448 static PyObject
*_wrap_BLUE_get() {
17451 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
17456 static int _wrap_GREEN_set(PyObject
*_val
) {
17457 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
17462 static PyObject
*_wrap_GREEN_get() {
17465 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
17470 static int _wrap_CYAN_set(PyObject
*_val
) {
17471 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
17476 static PyObject
*_wrap_CYAN_get() {
17479 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
17484 static int _wrap_LIGHT_GREY_set(PyObject
*_val
) {
17485 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
17490 static PyObject
*_wrap_LIGHT_GREY_get() {
17493 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
17498 static int _wrap_STANDARD_CURSOR_set(PyObject
*_val
) {
17499 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
17504 static PyObject
*_wrap_STANDARD_CURSOR_get() {
17507 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17512 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*_val
) {
17513 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
17518 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
17521 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17526 static int _wrap_CROSS_CURSOR_set(PyObject
*_val
) {
17527 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
17532 static PyObject
*_wrap_CROSS_CURSOR_get() {
17535 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17540 static int _wrap_NullBitmap_set(PyObject
*_val
) {
17541 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
17546 static PyObject
*_wrap_NullBitmap_get() {
17549 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
17554 static int _wrap_NullIcon_set(PyObject
*_val
) {
17555 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
17560 static PyObject
*_wrap_NullIcon_get() {
17563 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
17568 static int _wrap_NullCursor_set(PyObject
*_val
) {
17569 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
17574 static PyObject
*_wrap_NullCursor_get() {
17577 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
17582 static int _wrap_NullPen_set(PyObject
*_val
) {
17583 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
17588 static PyObject
*_wrap_NullPen_get() {
17591 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
17596 static int _wrap_NullBrush_set(PyObject
*_val
) {
17597 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
17602 static PyObject
*_wrap_NullBrush_get() {
17605 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
17610 static int _wrap_NullPalette_set(PyObject
*_val
) {
17611 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
17616 static PyObject
*_wrap_NullPalette_get() {
17619 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
17624 static int _wrap_NullFont_set(PyObject
*_val
) {
17625 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
17630 static PyObject
*_wrap_NullFont_get() {
17633 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
17638 static int _wrap_NullColour_set(PyObject
*_val
) {
17639 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
17644 static PyObject
*_wrap_NullColour_get() {
17647 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
17652 static PyObject
*_wrap_PenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17653 PyObject
*resultobj
;
17654 wxPenList
*arg1
= (wxPenList
*) 0 ;
17655 wxPen
*arg2
= (wxPen
*) 0 ;
17656 PyObject
* obj0
= 0 ;
17657 PyObject
* obj1
= 0 ;
17658 char *kwnames
[] = {
17659 (char *) "self",(char *) "pen", NULL
17662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
17663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17665 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17669 (arg1
)->AddPen(arg2
);
17671 wxPyEndAllowThreads(__tstate
);
17672 if (PyErr_Occurred()) SWIG_fail
;
17674 Py_INCREF(Py_None
); resultobj
= Py_None
;
17681 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17682 PyObject
*resultobj
;
17683 wxPenList
*arg1
= (wxPenList
*) 0 ;
17684 wxColour
*arg2
= 0 ;
17689 PyObject
* obj0
= 0 ;
17690 PyObject
* obj1
= 0 ;
17691 PyObject
* obj2
= 0 ;
17692 PyObject
* obj3
= 0 ;
17693 char *kwnames
[] = {
17694 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
17697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17702 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17704 arg3
= (int) SWIG_AsInt(obj2
);
17705 if (PyErr_Occurred()) SWIG_fail
;
17706 arg4
= (int) SWIG_AsInt(obj3
);
17707 if (PyErr_Occurred()) SWIG_fail
;
17709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17710 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
17712 wxPyEndAllowThreads(__tstate
);
17713 if (PyErr_Occurred()) SWIG_fail
;
17715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
17722 static PyObject
*_wrap_PenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17723 PyObject
*resultobj
;
17724 wxPenList
*arg1
= (wxPenList
*) 0 ;
17725 wxPen
*arg2
= (wxPen
*) 0 ;
17726 PyObject
* obj0
= 0 ;
17727 PyObject
* obj1
= 0 ;
17728 char *kwnames
[] = {
17729 (char *) "self",(char *) "pen", NULL
17732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
17733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17735 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17739 (arg1
)->RemovePen(arg2
);
17741 wxPyEndAllowThreads(__tstate
);
17742 if (PyErr_Occurred()) SWIG_fail
;
17744 Py_INCREF(Py_None
); resultobj
= Py_None
;
17751 static PyObject
*_wrap_PenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17752 PyObject
*resultobj
;
17753 wxPenList
*arg1
= (wxPenList
*) 0 ;
17755 PyObject
* obj0
= 0 ;
17756 char *kwnames
[] = {
17757 (char *) "self", NULL
17760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
17761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17765 result
= (int)(arg1
)->GetCount();
17767 wxPyEndAllowThreads(__tstate
);
17768 if (PyErr_Occurred()) SWIG_fail
;
17770 resultobj
= SWIG_FromInt((int)result
);
17777 static PyObject
* PenList_swigregister(PyObject
*self
, PyObject
*args
) {
17779 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17780 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
17782 return Py_BuildValue((char *)"");
17784 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17785 PyObject
*resultobj
;
17786 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17787 wxBrush
*arg2
= (wxBrush
*) 0 ;
17788 PyObject
* obj0
= 0 ;
17789 PyObject
* obj1
= 0 ;
17790 char *kwnames
[] = {
17791 (char *) "self",(char *) "brush", NULL
17794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17797 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17801 (arg1
)->AddBrush(arg2
);
17803 wxPyEndAllowThreads(__tstate
);
17804 if (PyErr_Occurred()) SWIG_fail
;
17806 Py_INCREF(Py_None
); resultobj
= Py_None
;
17813 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17814 PyObject
*resultobj
;
17815 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17816 wxColour
*arg2
= 0 ;
17820 PyObject
* obj0
= 0 ;
17821 PyObject
* obj1
= 0 ;
17822 PyObject
* obj2
= 0 ;
17823 char *kwnames
[] = {
17824 (char *) "self",(char *) "colour",(char *) "style", NULL
17827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17832 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17834 arg3
= (int) SWIG_AsInt(obj2
);
17835 if (PyErr_Occurred()) SWIG_fail
;
17837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17838 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
17840 wxPyEndAllowThreads(__tstate
);
17841 if (PyErr_Occurred()) SWIG_fail
;
17843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
17850 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17851 PyObject
*resultobj
;
17852 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17853 wxBrush
*arg2
= (wxBrush
*) 0 ;
17854 PyObject
* obj0
= 0 ;
17855 PyObject
* obj1
= 0 ;
17856 char *kwnames
[] = {
17857 (char *) "self",(char *) "brush", NULL
17860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17863 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17867 (arg1
)->RemoveBrush(arg2
);
17869 wxPyEndAllowThreads(__tstate
);
17870 if (PyErr_Occurred()) SWIG_fail
;
17872 Py_INCREF(Py_None
); resultobj
= Py_None
;
17879 static PyObject
*_wrap_BrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17880 PyObject
*resultobj
;
17881 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17883 PyObject
* obj0
= 0 ;
17884 char *kwnames
[] = {
17885 (char *) "self", NULL
17888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
17889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17893 result
= (int)(arg1
)->GetCount();
17895 wxPyEndAllowThreads(__tstate
);
17896 if (PyErr_Occurred()) SWIG_fail
;
17898 resultobj
= SWIG_FromInt((int)result
);
17905 static PyObject
* BrushList_swigregister(PyObject
*self
, PyObject
*args
) {
17907 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17908 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
17910 return Py_BuildValue((char *)"");
17912 static PyObject
*_wrap_new_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17913 PyObject
*resultobj
;
17914 wxColourDatabase
*result
;
17915 char *kwnames
[] = {
17919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
17921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17922 result
= (wxColourDatabase
*)new wxColourDatabase();
17924 wxPyEndAllowThreads(__tstate
);
17925 if (PyErr_Occurred()) SWIG_fail
;
17927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
17934 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17935 PyObject
*resultobj
;
17936 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17937 PyObject
* obj0
= 0 ;
17938 char *kwnames
[] = {
17939 (char *) "self", NULL
17942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
17943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17949 wxPyEndAllowThreads(__tstate
);
17950 if (PyErr_Occurred()) SWIG_fail
;
17952 Py_INCREF(Py_None
); resultobj
= Py_None
;
17959 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17960 PyObject
*resultobj
;
17961 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17962 wxString
*arg2
= 0 ;
17964 bool temp2
= False
;
17965 PyObject
* obj0
= 0 ;
17966 PyObject
* obj1
= 0 ;
17967 char *kwnames
[] = {
17968 (char *) "self",(char *) "name", NULL
17971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
17972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17975 arg2
= wxString_in_helper(obj1
);
17976 if (arg2
== NULL
) SWIG_fail
;
17980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17981 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
17983 wxPyEndAllowThreads(__tstate
);
17984 if (PyErr_Occurred()) SWIG_fail
;
17987 wxColour
* resultptr
;
17988 resultptr
= new wxColour((wxColour
&) result
);
17989 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18005 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18006 PyObject
*resultobj
;
18007 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18008 wxColour
*arg2
= 0 ;
18011 PyObject
* obj0
= 0 ;
18012 PyObject
* obj1
= 0 ;
18013 char *kwnames
[] = {
18014 (char *) "self",(char *) "colour", NULL
18017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
18018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18022 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18026 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
18028 wxPyEndAllowThreads(__tstate
);
18029 if (PyErr_Occurred()) SWIG_fail
;
18033 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18035 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18044 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18045 PyObject
*resultobj
;
18046 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18047 wxString
*arg2
= 0 ;
18048 wxColour
*arg3
= 0 ;
18049 bool temp2
= False
;
18051 PyObject
* obj0
= 0 ;
18052 PyObject
* obj1
= 0 ;
18053 PyObject
* obj2
= 0 ;
18054 char *kwnames
[] = {
18055 (char *) "self",(char *) "name",(char *) "colour", NULL
18058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18062 arg2
= wxString_in_helper(obj1
);
18063 if (arg2
== NULL
) SWIG_fail
;
18068 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18072 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
18074 wxPyEndAllowThreads(__tstate
);
18075 if (PyErr_Occurred()) SWIG_fail
;
18077 Py_INCREF(Py_None
); resultobj
= Py_None
;
18092 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18093 PyObject
*resultobj
;
18094 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18095 wxString
*arg2
= 0 ;
18099 bool temp2
= False
;
18100 PyObject
* obj0
= 0 ;
18101 PyObject
* obj1
= 0 ;
18102 PyObject
* obj2
= 0 ;
18103 PyObject
* obj3
= 0 ;
18104 PyObject
* obj4
= 0 ;
18105 char *kwnames
[] = {
18106 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
18109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18113 arg2
= wxString_in_helper(obj1
);
18114 if (arg2
== NULL
) SWIG_fail
;
18117 arg3
= (int) SWIG_AsInt(obj2
);
18118 if (PyErr_Occurred()) SWIG_fail
;
18119 arg4
= (int) SWIG_AsInt(obj3
);
18120 if (PyErr_Occurred()) SWIG_fail
;
18121 arg5
= (int) SWIG_AsInt(obj4
);
18122 if (PyErr_Occurred()) SWIG_fail
;
18124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18125 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
18127 wxPyEndAllowThreads(__tstate
);
18128 if (PyErr_Occurred()) SWIG_fail
;
18130 Py_INCREF(Py_None
); resultobj
= Py_None
;
18145 static PyObject
* ColourDatabase_swigregister(PyObject
*self
, PyObject
*args
) {
18147 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18148 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
18150 return Py_BuildValue((char *)"");
18152 static PyObject
*_wrap_FontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18153 PyObject
*resultobj
;
18154 wxFontList
*arg1
= (wxFontList
*) 0 ;
18155 wxFont
*arg2
= (wxFont
*) 0 ;
18156 PyObject
* obj0
= 0 ;
18157 PyObject
* obj1
= 0 ;
18158 char *kwnames
[] = {
18159 (char *) "self",(char *) "font", NULL
18162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18165 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18169 (arg1
)->AddFont(arg2
);
18171 wxPyEndAllowThreads(__tstate
);
18172 if (PyErr_Occurred()) SWIG_fail
;
18174 Py_INCREF(Py_None
); resultobj
= Py_None
;
18181 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18182 PyObject
*resultobj
;
18183 wxFontList
*arg1
= (wxFontList
*) 0 ;
18188 bool arg6
= (bool) False
;
18189 wxString
const &arg7_defvalue
= wxPyEmptyString
;
18190 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18191 int arg8
= (int) wxFONTENCODING_DEFAULT
;
18193 bool temp7
= False
;
18194 PyObject
* obj0
= 0 ;
18195 PyObject
* obj1
= 0 ;
18196 PyObject
* obj2
= 0 ;
18197 PyObject
* obj3
= 0 ;
18198 PyObject
* obj4
= 0 ;
18199 PyObject
* obj5
= 0 ;
18200 PyObject
* obj6
= 0 ;
18201 PyObject
* obj7
= 0 ;
18202 char *kwnames
[] = {
18203 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
18206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
18207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18209 arg2
= (int) SWIG_AsInt(obj1
);
18210 if (PyErr_Occurred()) SWIG_fail
;
18211 arg3
= (int) SWIG_AsInt(obj2
);
18212 if (PyErr_Occurred()) SWIG_fail
;
18213 arg4
= (int) SWIG_AsInt(obj3
);
18214 if (PyErr_Occurred()) SWIG_fail
;
18215 arg5
= (int) SWIG_AsInt(obj4
);
18216 if (PyErr_Occurred()) SWIG_fail
;
18218 arg6
= (bool) SWIG_AsBool(obj5
);
18219 if (PyErr_Occurred()) SWIG_fail
;
18223 arg7
= wxString_in_helper(obj6
);
18224 if (arg7
== NULL
) SWIG_fail
;
18229 arg8
= (wxFontEncoding
) SWIG_AsInt(obj7
);
18230 if (PyErr_Occurred()) SWIG_fail
;
18233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18234 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
18236 wxPyEndAllowThreads(__tstate
);
18237 if (PyErr_Occurred()) SWIG_fail
;
18239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
18254 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18255 PyObject
*resultobj
;
18256 wxFontList
*arg1
= (wxFontList
*) 0 ;
18257 wxFont
*arg2
= (wxFont
*) 0 ;
18258 PyObject
* obj0
= 0 ;
18259 PyObject
* obj1
= 0 ;
18260 char *kwnames
[] = {
18261 (char *) "self",(char *) "font", NULL
18264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18267 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18271 (arg1
)->RemoveFont(arg2
);
18273 wxPyEndAllowThreads(__tstate
);
18274 if (PyErr_Occurred()) SWIG_fail
;
18276 Py_INCREF(Py_None
); resultobj
= Py_None
;
18283 static PyObject
*_wrap_FontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18284 PyObject
*resultobj
;
18285 wxFontList
*arg1
= (wxFontList
*) 0 ;
18287 PyObject
* obj0
= 0 ;
18288 char *kwnames
[] = {
18289 (char *) "self", NULL
18292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
18293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18297 result
= (int)(arg1
)->GetCount();
18299 wxPyEndAllowThreads(__tstate
);
18300 if (PyErr_Occurred()) SWIG_fail
;
18302 resultobj
= SWIG_FromInt((int)result
);
18309 static PyObject
* FontList_swigregister(PyObject
*self
, PyObject
*args
) {
18311 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18312 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
18314 return Py_BuildValue((char *)"");
18316 static int _wrap_TheFontList_set(PyObject
*_val
) {
18317 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
18322 static PyObject
*_wrap_TheFontList_get() {
18325 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
18330 static int _wrap_ThePenList_set(PyObject
*_val
) {
18331 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
18336 static PyObject
*_wrap_ThePenList_get() {
18339 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
18344 static int _wrap_TheBrushList_set(PyObject
*_val
) {
18345 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
18350 static PyObject
*_wrap_TheBrushList_get() {
18353 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
18358 static int _wrap_TheColourDatabase_set(PyObject
*_val
) {
18359 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
18364 static PyObject
*_wrap_TheColourDatabase_get() {
18367 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
18372 static PyObject
*_wrap_new_Effects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18373 PyObject
*resultobj
;
18375 char *kwnames
[] = {
18379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
18381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18382 result
= (wxEffects
*)new wxEffects();
18384 wxPyEndAllowThreads(__tstate
);
18385 if (PyErr_Occurred()) SWIG_fail
;
18387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
18394 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18395 PyObject
*resultobj
;
18396 wxEffects
*arg1
= (wxEffects
*) 0 ;
18398 PyObject
* obj0
= 0 ;
18399 char *kwnames
[] = {
18400 (char *) "self", NULL
18403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
18404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18408 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
18410 wxPyEndAllowThreads(__tstate
);
18411 if (PyErr_Occurred()) SWIG_fail
;
18414 wxColour
* resultptr
;
18415 resultptr
= new wxColour((wxColour
&) result
);
18416 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18424 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18425 PyObject
*resultobj
;
18426 wxEffects
*arg1
= (wxEffects
*) 0 ;
18428 PyObject
* obj0
= 0 ;
18429 char *kwnames
[] = {
18430 (char *) "self", NULL
18433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
18434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18438 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
18440 wxPyEndAllowThreads(__tstate
);
18441 if (PyErr_Occurred()) SWIG_fail
;
18444 wxColour
* resultptr
;
18445 resultptr
= new wxColour((wxColour
&) result
);
18446 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18454 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18455 PyObject
*resultobj
;
18456 wxEffects
*arg1
= (wxEffects
*) 0 ;
18458 PyObject
* obj0
= 0 ;
18459 char *kwnames
[] = {
18460 (char *) "self", NULL
18463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
18464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18468 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
18470 wxPyEndAllowThreads(__tstate
);
18471 if (PyErr_Occurred()) SWIG_fail
;
18474 wxColour
* resultptr
;
18475 resultptr
= new wxColour((wxColour
&) result
);
18476 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18484 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18485 PyObject
*resultobj
;
18486 wxEffects
*arg1
= (wxEffects
*) 0 ;
18488 PyObject
* obj0
= 0 ;
18489 char *kwnames
[] = {
18490 (char *) "self", NULL
18493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
18494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18498 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
18500 wxPyEndAllowThreads(__tstate
);
18501 if (PyErr_Occurred()) SWIG_fail
;
18504 wxColour
* resultptr
;
18505 resultptr
= new wxColour((wxColour
&) result
);
18506 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18514 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18515 PyObject
*resultobj
;
18516 wxEffects
*arg1
= (wxEffects
*) 0 ;
18518 PyObject
* obj0
= 0 ;
18519 char *kwnames
[] = {
18520 (char *) "self", NULL
18523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
18524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18528 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
18530 wxPyEndAllowThreads(__tstate
);
18531 if (PyErr_Occurred()) SWIG_fail
;
18534 wxColour
* resultptr
;
18535 resultptr
= new wxColour((wxColour
&) result
);
18536 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18544 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18545 PyObject
*resultobj
;
18546 wxEffects
*arg1
= (wxEffects
*) 0 ;
18547 wxColour
*arg2
= 0 ;
18549 PyObject
* obj0
= 0 ;
18550 PyObject
* obj1
= 0 ;
18551 char *kwnames
[] = {
18552 (char *) "self",(char *) "c", NULL
18555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18560 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18564 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
18566 wxPyEndAllowThreads(__tstate
);
18567 if (PyErr_Occurred()) SWIG_fail
;
18569 Py_INCREF(Py_None
); resultobj
= Py_None
;
18576 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18577 PyObject
*resultobj
;
18578 wxEffects
*arg1
= (wxEffects
*) 0 ;
18579 wxColour
*arg2
= 0 ;
18581 PyObject
* obj0
= 0 ;
18582 PyObject
* obj1
= 0 ;
18583 char *kwnames
[] = {
18584 (char *) "self",(char *) "c", NULL
18587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18592 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18596 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
18598 wxPyEndAllowThreads(__tstate
);
18599 if (PyErr_Occurred()) SWIG_fail
;
18601 Py_INCREF(Py_None
); resultobj
= Py_None
;
18608 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18609 PyObject
*resultobj
;
18610 wxEffects
*arg1
= (wxEffects
*) 0 ;
18611 wxColour
*arg2
= 0 ;
18613 PyObject
* obj0
= 0 ;
18614 PyObject
* obj1
= 0 ;
18615 char *kwnames
[] = {
18616 (char *) "self",(char *) "c", NULL
18619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18624 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18628 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
18630 wxPyEndAllowThreads(__tstate
);
18631 if (PyErr_Occurred()) SWIG_fail
;
18633 Py_INCREF(Py_None
); resultobj
= Py_None
;
18640 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18641 PyObject
*resultobj
;
18642 wxEffects
*arg1
= (wxEffects
*) 0 ;
18643 wxColour
*arg2
= 0 ;
18645 PyObject
* obj0
= 0 ;
18646 PyObject
* obj1
= 0 ;
18647 char *kwnames
[] = {
18648 (char *) "self",(char *) "c", NULL
18651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18656 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18660 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
18662 wxPyEndAllowThreads(__tstate
);
18663 if (PyErr_Occurred()) SWIG_fail
;
18665 Py_INCREF(Py_None
); resultobj
= Py_None
;
18672 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18673 PyObject
*resultobj
;
18674 wxEffects
*arg1
= (wxEffects
*) 0 ;
18675 wxColour
*arg2
= 0 ;
18677 PyObject
* obj0
= 0 ;
18678 PyObject
* obj1
= 0 ;
18679 char *kwnames
[] = {
18680 (char *) "self",(char *) "c", NULL
18683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18688 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18692 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
18694 wxPyEndAllowThreads(__tstate
);
18695 if (PyErr_Occurred()) SWIG_fail
;
18697 Py_INCREF(Py_None
); resultobj
= Py_None
;
18704 static PyObject
*_wrap_Effects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18705 PyObject
*resultobj
;
18706 wxEffects
*arg1
= (wxEffects
*) 0 ;
18707 wxColour
*arg2
= 0 ;
18708 wxColour
*arg3
= 0 ;
18709 wxColour
*arg4
= 0 ;
18710 wxColour
*arg5
= 0 ;
18711 wxColour
*arg6
= 0 ;
18717 PyObject
* obj0
= 0 ;
18718 PyObject
* obj1
= 0 ;
18719 PyObject
* obj2
= 0 ;
18720 PyObject
* obj3
= 0 ;
18721 PyObject
* obj4
= 0 ;
18722 PyObject
* obj5
= 0 ;
18723 char *kwnames
[] = {
18724 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
18727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18732 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18736 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18740 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18744 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
18748 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
18751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18752 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
18754 wxPyEndAllowThreads(__tstate
);
18755 if (PyErr_Occurred()) SWIG_fail
;
18757 Py_INCREF(Py_None
); resultobj
= Py_None
;
18764 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18765 PyObject
*resultobj
;
18766 wxEffects
*arg1
= (wxEffects
*) 0 ;
18769 int arg4
= (int) 1 ;
18771 PyObject
* obj0
= 0 ;
18772 PyObject
* obj1
= 0 ;
18773 PyObject
* obj2
= 0 ;
18774 PyObject
* obj3
= 0 ;
18775 char *kwnames
[] = {
18776 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
18779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18782 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18783 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18785 if (arg2
== NULL
) {
18786 PyErr_SetString(PyExc_TypeError
,"null reference");
18791 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
18794 arg4
= (int) SWIG_AsInt(obj3
);
18795 if (PyErr_Occurred()) SWIG_fail
;
18798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18799 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
18801 wxPyEndAllowThreads(__tstate
);
18802 if (PyErr_Occurred()) SWIG_fail
;
18804 Py_INCREF(Py_None
); resultobj
= Py_None
;
18811 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18812 PyObject
*resultobj
;
18813 wxEffects
*arg1
= (wxEffects
*) 0 ;
18816 wxBitmap
*arg4
= 0 ;
18819 PyObject
* obj0
= 0 ;
18820 PyObject
* obj1
= 0 ;
18821 PyObject
* obj2
= 0 ;
18822 PyObject
* obj3
= 0 ;
18823 char *kwnames
[] = {
18824 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
18827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18832 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18834 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
18835 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18837 if (arg3
== NULL
) {
18838 PyErr_SetString(PyExc_TypeError
,"null reference");
18841 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
18842 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18844 if (arg4
== NULL
) {
18845 PyErr_SetString(PyExc_TypeError
,"null reference");
18849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18850 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
18852 wxPyEndAllowThreads(__tstate
);
18853 if (PyErr_Occurred()) SWIG_fail
;
18856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18864 static PyObject
* Effects_swigregister(PyObject
*self
, PyObject
*args
) {
18866 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18867 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
18869 return Py_BuildValue((char *)"");
18871 static PyMethodDef SwigMethods
[] = {
18872 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18873 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18874 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18875 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18876 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
18877 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
},
18878 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18879 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
},
18880 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
},
18881 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18882 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
},
18883 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
},
18884 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
18885 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18886 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
},
18887 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18888 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
},
18889 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18890 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18891 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18892 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
},
18893 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18894 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
},
18895 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18896 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18897 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18898 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18899 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18900 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
},
18901 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18902 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18903 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
18904 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18905 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18906 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18907 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18908 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18909 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
18910 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18911 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18912 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18913 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18914 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18915 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18916 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18917 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18918 { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS
| METH_KEYWORDS
},
18919 { (char *)"Pen_GetStipple", (PyCFunction
) _wrap_Pen_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18920 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18921 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
},
18922 { (char *)"new_PyPen", (PyCFunction
) _wrap_new_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
18923 { (char *)"delete_PyPen", (PyCFunction
) _wrap_delete_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
18924 { (char *)"PyPen_SetDashes", (PyCFunction
) _wrap_PyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18925 { (char *)"PyPen_swigregister", PyPen_swigregister
, METH_VARARGS
},
18926 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18927 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18928 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18929 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18930 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18931 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18932 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18933 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18934 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18935 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
},
18936 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18937 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18938 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18939 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18940 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18941 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18942 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
18943 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
18944 { (char *)"Bitmap_GetHandle", (PyCFunction
) _wrap_Bitmap_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
18945 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
18946 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18947 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18948 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18949 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18950 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
},
18951 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
18952 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
18953 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
18954 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18955 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
18956 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
18957 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18958 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18959 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18960 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18961 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
},
18962 { (char *)"Bitmap_GetQuality", (PyCFunction
) _wrap_Bitmap_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
18963 { (char *)"Bitmap_SetQuality", (PyCFunction
) _wrap_Bitmap_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
18964 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18965 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18966 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
},
18967 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
},
18968 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
},
18969 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18970 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18971 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
18972 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
18973 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18974 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18975 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
18976 { (char *)"Icon_GetHandle", (PyCFunction
) _wrap_Icon_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
18977 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
18978 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18979 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18980 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18981 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18982 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18983 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18984 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18985 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
18986 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18987 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
},
18988 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18989 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18990 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18991 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18992 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18993 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18994 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18995 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
},
18996 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
18997 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
18998 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18999 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
19000 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
19001 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
19002 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
19003 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
},
19004 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
19005 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
19006 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
},
19007 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
19008 { (char *)"Cursor_GetHandle", (PyCFunction
) _wrap_Cursor_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
19009 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
19010 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19011 { (char *)"Cursor_GetWidth", (PyCFunction
) _wrap_Cursor_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19012 { (char *)"Cursor_GetHeight", (PyCFunction
) _wrap_Cursor_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
19013 { (char *)"Cursor_GetDepth", (PyCFunction
) _wrap_Cursor_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
19014 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19015 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
19016 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
19017 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
19018 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
},
19019 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
},
19020 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19021 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
},
19022 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
},
19023 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
},
19024 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
},
19025 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
},
19026 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
19027 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
19028 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
19029 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
19030 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
19031 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
19032 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
19033 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
19034 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
},
19035 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
19036 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
19037 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
19038 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
19039 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
19040 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
},
19041 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
19042 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
19043 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19044 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19045 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
},
19046 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
19047 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
19048 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
19049 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
19050 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
19051 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19052 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
19053 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
19054 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
19055 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
19056 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
19057 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
19058 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
19059 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
},
19060 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
19061 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
19062 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
19063 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
},
19064 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
19065 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
19066 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
19067 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
19068 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
19069 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
19070 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19071 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
19072 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
19073 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
19074 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
19075 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
19076 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
19077 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19078 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
19079 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
19080 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
19081 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
19082 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
19083 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
},
19084 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
},
19085 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
},
19086 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
},
19087 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
},
19088 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
19089 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
19090 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
19091 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
19092 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
},
19093 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19094 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19095 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
19096 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
19097 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
19098 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
19099 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19100 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
},
19101 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19102 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
19103 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
19104 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
19105 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
19106 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
19107 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19108 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
19109 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
19110 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
19111 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
},
19112 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
},
19113 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
},
19114 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
19115 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
},
19116 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
},
19117 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19118 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
},
19119 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
},
19120 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
19121 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
19122 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
19123 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
19124 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
19125 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
19126 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19127 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
19128 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
19129 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
19130 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
19131 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
19132 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
19133 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
19134 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
19135 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
19136 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
19137 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19138 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
19139 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
},
19140 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
19141 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
19142 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
19143 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
19144 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
19145 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
19146 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19147 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19148 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
},
19149 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
19150 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
19151 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
19152 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
19153 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
19154 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
19155 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
19156 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
},
19157 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
19158 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
19159 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
19160 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
19161 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
19162 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
19163 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
},
19164 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
},
19165 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
},
19166 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
},
19167 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
},
19168 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
19169 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19170 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
19171 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
19172 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
19173 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
19174 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
19175 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
19176 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
19177 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
19178 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
19179 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
19180 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
},
19181 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
19182 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
19183 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
19184 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
19185 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
},
19186 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
19187 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
},
19188 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
19189 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
19190 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
19191 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
19192 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
19193 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
19194 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
},
19195 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
},
19196 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
},
19197 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
19198 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
19199 { (char *)"DC_FloodFillXY", (PyCFunction
) _wrap_DC_FloodFillXY
, METH_VARARGS
| METH_KEYWORDS
},
19200 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
19201 { (char *)"DC_GetPixelXY", (PyCFunction
) _wrap_DC_GetPixelXY
, METH_VARARGS
| METH_KEYWORDS
},
19202 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
19203 { (char *)"DC_DrawLineXY", (PyCFunction
) _wrap_DC_DrawLineXY
, METH_VARARGS
| METH_KEYWORDS
},
19204 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
19205 { (char *)"DC_CrossHairXY", (PyCFunction
) _wrap_DC_CrossHairXY
, METH_VARARGS
| METH_KEYWORDS
},
19206 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
19207 { (char *)"DC_DrawArcXY", (PyCFunction
) _wrap_DC_DrawArcXY
, METH_VARARGS
| METH_KEYWORDS
},
19208 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
19209 { (char *)"DC_DrawCheckMarkXY", (PyCFunction
) _wrap_DC_DrawCheckMarkXY
, METH_VARARGS
| METH_KEYWORDS
},
19210 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
},
19211 { (char *)"DC_DrawEllipticArcXY", (PyCFunction
) _wrap_DC_DrawEllipticArcXY
, METH_VARARGS
| METH_KEYWORDS
},
19212 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
19213 { (char *)"DC_DrawPointXY", (PyCFunction
) _wrap_DC_DrawPointXY
, METH_VARARGS
| METH_KEYWORDS
},
19214 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
19215 { (char *)"DC_DrawRectangleXY", (PyCFunction
) _wrap_DC_DrawRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
19216 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
19217 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
19218 { (char *)"DC_DrawRoundedRectangleXY", (PyCFunction
) _wrap_DC_DrawRoundedRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
19219 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
19220 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
19221 { (char *)"DC_DrawCircleXY", (PyCFunction
) _wrap_DC_DrawCircleXY
, METH_VARARGS
| METH_KEYWORDS
},
19222 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
19223 { (char *)"DC_DrawEllipseXY", (PyCFunction
) _wrap_DC_DrawEllipseXY
, METH_VARARGS
| METH_KEYWORDS
},
19224 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
19225 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
},
19226 { (char *)"DC_DrawIconXY", (PyCFunction
) _wrap_DC_DrawIconXY
, METH_VARARGS
| METH_KEYWORDS
},
19227 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
19228 { (char *)"DC_DrawBitmapXY", (PyCFunction
) _wrap_DC_DrawBitmapXY
, METH_VARARGS
| METH_KEYWORDS
},
19229 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19230 { (char *)"DC_DrawTextXY", (PyCFunction
) _wrap_DC_DrawTextXY
, METH_VARARGS
| METH_KEYWORDS
},
19231 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
19232 { (char *)"DC_DrawRotatedTextXY", (PyCFunction
) _wrap_DC_DrawRotatedTextXY
, METH_VARARGS
| METH_KEYWORDS
},
19233 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
19234 { (char *)"DC_BlitXY", (PyCFunction
) _wrap_DC_BlitXY
, METH_VARARGS
| METH_KEYWORDS
},
19235 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
19236 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
19237 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
19238 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
19239 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
19240 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
19241 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
19242 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
19243 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
19244 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
19245 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
19246 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
19247 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
19248 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
19249 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
19250 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
19251 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
19252 { (char *)"DC_SetClippingRegionXY", (PyCFunction
) _wrap_DC_SetClippingRegionXY
, METH_VARARGS
| METH_KEYWORDS
},
19253 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
19254 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
19255 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
19256 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
19257 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
19258 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
19259 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
19260 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
19261 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
19262 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
19263 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
19264 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
},
19265 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
19266 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
19267 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
19268 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
},
19269 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
19270 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
19271 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
19272 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
19273 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
19274 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
19275 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
19276 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
19277 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19278 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
19279 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
19280 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
19281 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19282 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
19283 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
19284 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
19285 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
19286 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
19287 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
19288 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
19289 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
19290 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
19291 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
19292 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
19293 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
19294 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
19295 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
19296 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
19297 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
19298 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
19299 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
19300 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
19301 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
19302 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
19303 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
19304 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
19305 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
19306 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
19307 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
19308 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
19309 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
19310 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
19311 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
19312 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
19313 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
19314 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
19315 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
19316 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
19317 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
19318 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
19319 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
19320 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
19321 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
},
19322 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
19323 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
19324 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
19325 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
},
19326 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
},
19327 { (char *)"new_BufferedDCInternalBuffer", _wrap_new_BufferedDCInternalBuffer
, METH_VARARGS
},
19328 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
19329 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
19330 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
},
19331 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
19332 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
},
19333 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
19334 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
19335 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
19336 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
19337 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
},
19338 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
},
19339 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
},
19340 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
},
19341 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
},
19342 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
},
19343 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
},
19344 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
19345 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
},
19346 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
19347 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
19348 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
19349 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
19350 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
19351 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
},
19352 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
19353 { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
19354 { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19355 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
},
19356 { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
19357 { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19358 { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
19359 { (char *)"MetaFile_GetFileName", (PyCFunction
) _wrap_MetaFile_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
19360 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
},
19361 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
19362 { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
},
19363 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
},
19364 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
19365 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
},
19366 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
19367 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
19368 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
19369 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
19370 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
19371 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
19372 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
19373 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
19374 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
19375 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
19376 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
19377 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
},
19378 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
19379 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
19380 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
19381 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
19382 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
},
19383 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
19384 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
19385 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
19386 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
19387 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
},
19388 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
19389 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
19390 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
},
19391 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
19392 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
19393 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
19394 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
},
19395 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
19396 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
19397 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
19398 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
19399 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
},
19400 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
},
19401 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
19402 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
19403 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
19404 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
19405 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
19406 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
19407 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
19408 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
19409 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
19410 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
19411 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
},
19412 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
19413 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19414 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
},
19419 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
19421 static void *_p_wxControlTo_p_wxWindow(void *x
) {
19422 return (void *)((wxWindow
*) ((wxControl
*) x
));
19424 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
19425 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
19427 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
19428 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
19430 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
19431 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
19433 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
19434 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19436 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
19437 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
19439 static void *_p_wxPenTo_p_wxObject(void *x
) {
19440 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
19442 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
19443 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
19445 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
19446 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
19448 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
19449 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
19451 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
19452 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
19454 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
19455 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
19457 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
19458 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
19460 static void *_p_wxIconTo_p_wxObject(void *x
) {
19461 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
19463 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
19464 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
19466 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
19467 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
19469 static void *_p_wxSizerTo_p_wxObject(void *x
) {
19470 return (void *)((wxObject
*) ((wxSizer
*) x
));
19472 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
19473 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
19475 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
19476 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
19478 static void *_p_wxPenListTo_p_wxObject(void *x
) {
19479 return (void *)((wxObject
*) ((wxPenList
*) x
));
19481 static void *_p_wxEventTo_p_wxObject(void *x
) {
19482 return (void *)((wxObject
*) ((wxEvent
*) x
));
19484 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
19485 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
19487 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
19488 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
19490 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
19491 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
19493 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
19494 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
19496 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
19497 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
19499 static void *_p_wxDCTo_p_wxObject(void *x
) {
19500 return (void *)((wxObject
*) ((wxDC
*) x
));
19502 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
19503 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
19505 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
19506 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
19508 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
19509 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
19511 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
19512 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
19514 static void *_p_wxControlTo_p_wxObject(void *x
) {
19515 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
19517 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
19518 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
19520 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
19521 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
19523 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
19524 return (void *)((wxObject
*) ((wxFSFile
*) x
));
19526 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
19527 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
19529 static void *_p_wxRegionTo_p_wxObject(void *x
) {
19530 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
19532 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
19533 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
19535 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
19536 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
19538 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
19539 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
19541 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
19542 return (void *)((wxObject
*) ((wxEffects
*) x
));
19544 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
19545 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
19547 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
19548 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
19550 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
19551 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
19553 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
19554 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
19556 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
19557 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
19559 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
19560 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
19562 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
19563 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
19565 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
19566 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
19568 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
19569 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
19571 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
19572 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
19574 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
19575 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
19577 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
19578 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
19580 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
19581 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
19583 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
19584 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
19586 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
19587 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
19589 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
19590 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
19592 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
19593 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
19595 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
19596 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
19598 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
19599 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
19601 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
19602 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
19604 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
19605 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
19607 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
19608 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
19610 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
19611 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
19613 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
19614 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
19616 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
19617 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
19619 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
19620 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
19622 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
19623 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19625 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
19626 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
19628 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
19629 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
19631 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
19632 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
19634 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
19635 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
19637 static void *_p_wxImageTo_p_wxObject(void *x
) {
19638 return (void *)((wxObject
*) ((wxImage
*) x
));
19640 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
19641 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
19643 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
19644 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
19646 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
19647 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
19649 static void *_p_wxImageListTo_p_wxObject(void *x
) {
19650 return (void *)((wxObject
*) ((wxImageList
*) x
));
19652 static void *_p_wxCursorTo_p_wxObject(void *x
) {
19653 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
19655 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
19656 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
19658 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
19659 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
19661 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
19662 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19664 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
19665 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
19667 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
19668 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
19670 static void *_p_wxWindowTo_p_wxObject(void *x
) {
19671 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
19673 static void *_p_wxMenuTo_p_wxObject(void *x
) {
19674 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
19676 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
19677 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
19679 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
19680 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
19682 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
19683 return (void *)((wxObject
*) ((wxBrushList
*) x
));
19685 static void *_p_wxPyPenTo_p_wxObject(void *x
) {
19686 return (void *)((wxObject
*) (wxGDIObject
*)(wxPen
*) ((wxPyPen
*) x
));
19688 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
19689 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
19691 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
19692 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
19694 static void *_p_wxMaskTo_p_wxObject(void *x
) {
19695 return (void *)((wxObject
*) ((wxMask
*) x
));
19697 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
19698 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19700 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
19701 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
19703 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
19704 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
19706 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
19707 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
19709 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
19710 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
19712 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
19713 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
19715 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
19716 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19718 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
19719 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
19721 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
19722 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
19724 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
19725 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
19727 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
19728 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19730 static void *_p_wxFontTo_p_wxObject(void *x
) {
19731 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
19733 static void *_p_wxBrushTo_p_wxObject(void *x
) {
19734 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
19736 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
19737 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
19739 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
19740 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19742 static void *_p_wxColourTo_p_wxObject(void *x
) {
19743 return (void *)((wxObject
*) ((wxColour
*) x
));
19745 static void *_p_wxFontListTo_p_wxObject(void *x
) {
19746 return (void *)((wxObject
*) ((wxFontList
*) x
));
19748 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
19749 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
19751 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
19752 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
19754 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
19755 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19757 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
19758 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
19760 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
19761 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
19763 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
19764 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
19766 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
19767 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
19769 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
19770 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
19772 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
19773 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
19775 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
19776 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19778 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
19779 return (void *)((wxDC
*) ((wxClientDC
*) x
));
19781 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
19782 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
19784 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
19785 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
19787 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
19788 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
19790 static void *_p_wxPyPenTo_p_wxGDIObject(void *x
) {
19791 return (void *)((wxGDIObject
*) (wxPen
*) ((wxPyPen
*) x
));
19793 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
19794 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
19796 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
19797 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
19799 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
19800 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
19802 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
19803 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
19805 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
19806 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
19808 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
19809 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
19811 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
19812 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
19814 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
19815 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
19817 static void *_p_wxPyPenTo_p_wxPen(void *x
) {
19818 return (void *)((wxPen
*) ((wxPyPen
*) x
));
19820 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}};
19821 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}};
19822 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}};
19823 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}};
19824 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}};
19825 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}};
19826 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}};
19827 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}};
19828 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}};
19829 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}};
19830 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}};
19831 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}};
19832 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}};
19833 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}};
19834 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}};
19835 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}};
19836 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}};
19837 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}};
19838 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}};
19839 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}};
19840 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}};
19841 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}};
19842 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}};
19843 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}};
19844 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}};
19845 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}};
19846 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}};
19847 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}};
19848 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}};
19849 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}};
19850 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}};
19851 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}};
19852 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}};
19853 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}};
19854 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}};
19855 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}};
19856 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}};
19857 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}};
19858 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}};
19859 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}};
19860 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}};
19861 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}};
19862 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}};
19863 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}};
19864 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}};
19865 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}};
19866 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}};
19867 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}};
19868 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}};
19869 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}};
19870 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}};
19871 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}};
19872 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}};
19873 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}};
19874 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}};
19875 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}};
19877 static swig_type_info
*swig_types_initial
[] = {
19878 _swigt__p_wxPostScriptDC
,
19880 _swigt__p_wxColour
,
19882 _swigt__p_wxMirrorDC
,
19884 _swigt__p_wxPyFontEnumerator
,
19886 _swigt__p_wxIconLocation
,
19888 _swigt__p_wxMetaFileDC
,
19891 _swigt__p_wxWindow
,
19894 _swigt__p_wxMemoryDC
,
19895 _swigt__p_wxFontMapper
,
19896 _swigt__p_wxEffects
,
19897 _swigt__p_wxNativeEncodingInfo
,
19898 _swigt__p_wxPalette
,
19899 _swigt__p_wxBitmap
,
19900 _swigt__p_wxObject
,
19901 _swigt__p_wxRegionIterator
,
19903 _swigt__p_wxString
,
19904 _swigt__p_wxPrinterDC
,
19905 _swigt__p_wxIconBundle
,
19908 _swigt__p_wxScreenDC
,
19909 _swigt__p_wxCursor
,
19910 _swigt__p_wxClientDC
,
19911 _swigt__p_wxBufferedDC
,
19912 _swigt__p_wxImageList
,
19913 _swigt__p_unsigned_char
,
19914 _swigt__p_wxGDIObject
,
19916 _swigt__p_wxLocale
,
19917 _swigt__p_wxRegion
,
19918 _swigt__p_wxLanguageInfo
,
19919 _swigt__p_wxConfigBase
,
19920 _swigt__p_wxWindowDC
,
19921 _swigt__p_wxPrintData
,
19922 _swigt__p_wxBrushList
,
19923 _swigt__p_wxFontList
,
19925 _swigt__p_wxBufferedPaintDC
,
19926 _swigt__p_wxPaintDC
,
19927 _swigt__p_wxPenList
,
19930 _swigt__p_wxMetaFile
,
19931 _swigt__p_wxNativeFontInfo
,
19932 _swigt__p_wxEncodingConverter
,
19933 _swigt__p_wxColourDatabase
,
19938 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19940 static swig_const_info swig_const_table
[] = {
19950 SWIGEXPORT(void) SWIG_init(void) {
19951 static PyObject
*SWIG_globals
= 0;
19952 static int typeinit
= 0;
19955 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
19956 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
19957 d
= PyModule_GetDict(m
);
19960 for (i
= 0; swig_types_initial
[i
]; i
++) {
19961 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
19965 SWIG_InstallConstants(d
,swig_const_table
);
19967 PyDict_SetItemString(d
,"OutRegion", SWIG_FromInt((int)wxOutRegion
));
19968 PyDict_SetItemString(d
,"PartRegion", SWIG_FromInt((int)wxPartRegion
));
19969 PyDict_SetItemString(d
,"InRegion", SWIG_FromInt((int)wxInRegion
));
19970 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_FromInt((int)wxFONTFAMILY_DEFAULT
));
19971 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_FromInt((int)wxFONTFAMILY_DECORATIVE
));
19972 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_FromInt((int)wxFONTFAMILY_ROMAN
));
19973 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_FromInt((int)wxFONTFAMILY_SCRIPT
));
19974 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_FromInt((int)wxFONTFAMILY_SWISS
));
19975 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_FromInt((int)wxFONTFAMILY_MODERN
));
19976 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_FromInt((int)wxFONTFAMILY_TELETYPE
));
19977 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_FromInt((int)wxFONTFAMILY_MAX
));
19978 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_FromInt((int)wxFONTFAMILY_UNKNOWN
));
19979 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_FromInt((int)wxFONTSTYLE_NORMAL
));
19980 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_FromInt((int)wxFONTSTYLE_ITALIC
));
19981 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_FromInt((int)wxFONTSTYLE_SLANT
));
19982 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_FromInt((int)wxFONTSTYLE_MAX
));
19983 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_FromInt((int)wxFONTWEIGHT_NORMAL
));
19984 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_FromInt((int)wxFONTWEIGHT_LIGHT
));
19985 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_FromInt((int)wxFONTWEIGHT_BOLD
));
19986 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_FromInt((int)wxFONTWEIGHT_MAX
));
19987 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_FromInt((int)wxFONTFLAG_DEFAULT
));
19988 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_FromInt((int)wxFONTFLAG_ITALIC
));
19989 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_FromInt((int)wxFONTFLAG_SLANT
));
19990 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_FromInt((int)wxFONTFLAG_LIGHT
));
19991 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_FromInt((int)wxFONTFLAG_BOLD
));
19992 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_ANTIALIASED
));
19993 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_NOT_ANTIALIASED
));
19994 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_FromInt((int)wxFONTFLAG_UNDERLINED
));
19995 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_FromInt((int)wxFONTFLAG_STRIKETHROUGH
));
19996 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_FromInt((int)wxFONTFLAG_MASK
));
19997 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_FromInt((int)wxFONTENCODING_SYSTEM
));
19998 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_FromInt((int)wxFONTENCODING_DEFAULT
));
19999 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_FromInt((int)wxFONTENCODING_ISO8859_1
));
20000 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_FromInt((int)wxFONTENCODING_ISO8859_2
));
20001 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_FromInt((int)wxFONTENCODING_ISO8859_3
));
20002 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_FromInt((int)wxFONTENCODING_ISO8859_4
));
20003 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_FromInt((int)wxFONTENCODING_ISO8859_5
));
20004 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_FromInt((int)wxFONTENCODING_ISO8859_6
));
20005 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_FromInt((int)wxFONTENCODING_ISO8859_7
));
20006 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_FromInt((int)wxFONTENCODING_ISO8859_8
));
20007 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_FromInt((int)wxFONTENCODING_ISO8859_9
));
20008 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_FromInt((int)wxFONTENCODING_ISO8859_10
));
20009 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_FromInt((int)wxFONTENCODING_ISO8859_11
));
20010 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_FromInt((int)wxFONTENCODING_ISO8859_12
));
20011 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_FromInt((int)wxFONTENCODING_ISO8859_13
));
20012 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_FromInt((int)wxFONTENCODING_ISO8859_14
));
20013 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_FromInt((int)wxFONTENCODING_ISO8859_15
));
20014 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_FromInt((int)wxFONTENCODING_ISO8859_MAX
));
20015 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_FromInt((int)wxFONTENCODING_KOI8
));
20016 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_FromInt((int)wxFONTENCODING_ALTERNATIVE
));
20017 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_FromInt((int)wxFONTENCODING_BULGARIAN
));
20018 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_FromInt((int)wxFONTENCODING_CP437
));
20019 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_FromInt((int)wxFONTENCODING_CP850
));
20020 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_FromInt((int)wxFONTENCODING_CP852
));
20021 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_FromInt((int)wxFONTENCODING_CP855
));
20022 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_FromInt((int)wxFONTENCODING_CP866
));
20023 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_FromInt((int)wxFONTENCODING_CP874
));
20024 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_FromInt((int)wxFONTENCODING_CP932
));
20025 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_FromInt((int)wxFONTENCODING_CP936
));
20026 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_FromInt((int)wxFONTENCODING_CP949
));
20027 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_FromInt((int)wxFONTENCODING_CP950
));
20028 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_FromInt((int)wxFONTENCODING_CP1250
));
20029 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_FromInt((int)wxFONTENCODING_CP1251
));
20030 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_FromInt((int)wxFONTENCODING_CP1252
));
20031 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_FromInt((int)wxFONTENCODING_CP1253
));
20032 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_FromInt((int)wxFONTENCODING_CP1254
));
20033 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_FromInt((int)wxFONTENCODING_CP1255
));
20034 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_FromInt((int)wxFONTENCODING_CP1256
));
20035 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_FromInt((int)wxFONTENCODING_CP1257
));
20036 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_FromInt((int)wxFONTENCODING_CP12_MAX
));
20037 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_FromInt((int)wxFONTENCODING_UTF7
));
20038 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_FromInt((int)wxFONTENCODING_UTF8
));
20039 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_FromInt((int)wxFONTENCODING_EUC_JP
));
20040 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_FromInt((int)wxFONTENCODING_UTF16BE
));
20041 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_FromInt((int)wxFONTENCODING_UTF16LE
));
20042 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_FromInt((int)wxFONTENCODING_UTF32BE
));
20043 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_FromInt((int)wxFONTENCODING_UTF32LE
));
20044 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_FromInt((int)wxFONTENCODING_MACROMAN
));
20045 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_FromInt((int)wxFONTENCODING_MACJAPANESE
));
20046 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_FromInt((int)wxFONTENCODING_MACCHINESETRAD
));
20047 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_FromInt((int)wxFONTENCODING_MACKOREAN
));
20048 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_FromInt((int)wxFONTENCODING_MACARABIC
));
20049 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_FromInt((int)wxFONTENCODING_MACHEBREW
));
20050 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_FromInt((int)wxFONTENCODING_MACGREEK
));
20051 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_FromInt((int)wxFONTENCODING_MACCYRILLIC
));
20052 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_FromInt((int)wxFONTENCODING_MACDEVANAGARI
));
20053 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_FromInt((int)wxFONTENCODING_MACGURMUKHI
));
20054 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_FromInt((int)wxFONTENCODING_MACGUJARATI
));
20055 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_FromInt((int)wxFONTENCODING_MACORIYA
));
20056 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_FromInt((int)wxFONTENCODING_MACBENGALI
));
20057 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_FromInt((int)wxFONTENCODING_MACTAMIL
));
20058 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_FromInt((int)wxFONTENCODING_MACTELUGU
));
20059 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_FromInt((int)wxFONTENCODING_MACKANNADA
));
20060 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_FromInt((int)wxFONTENCODING_MACMALAJALAM
));
20061 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_FromInt((int)wxFONTENCODING_MACSINHALESE
));
20062 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_FromInt((int)wxFONTENCODING_MACBURMESE
));
20063 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_FromInt((int)wxFONTENCODING_MACKHMER
));
20064 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_FromInt((int)wxFONTENCODING_MACTHAI
));
20065 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_FromInt((int)wxFONTENCODING_MACLAOTIAN
));
20066 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_FromInt((int)wxFONTENCODING_MACGEORGIAN
));
20067 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_FromInt((int)wxFONTENCODING_MACARMENIAN
));
20068 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_FromInt((int)wxFONTENCODING_MACCHINESESIMP
));
20069 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_FromInt((int)wxFONTENCODING_MACTIBETAN
));
20070 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_FromInt((int)wxFONTENCODING_MACMONGOLIAN
));
20071 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_FromInt((int)wxFONTENCODING_MACETHIOPIC
));
20072 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_FromInt((int)wxFONTENCODING_MACCENTRALEUR
));
20073 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_FromInt((int)wxFONTENCODING_MACVIATNAMESE
));
20074 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_FromInt((int)wxFONTENCODING_MACARABICEXT
));
20075 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_FromInt((int)wxFONTENCODING_MACSYMBOL
));
20076 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_FromInt((int)wxFONTENCODING_MACDINGBATS
));
20077 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_FromInt((int)wxFONTENCODING_MACTURKISH
));
20078 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_FromInt((int)wxFONTENCODING_MACCROATIAN
));
20079 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_FromInt((int)wxFONTENCODING_MACICELANDIC
));
20080 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_FromInt((int)wxFONTENCODING_MACROMANIAN
));
20081 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_FromInt((int)wxFONTENCODING_MACCELTIC
));
20082 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_FromInt((int)wxFONTENCODING_MACGAELIC
));
20083 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_FromInt((int)wxFONTENCODING_MACKEYBOARD
));
20084 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_FromInt((int)wxFONTENCODING_MACMIN
));
20085 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_FromInt((int)wxFONTENCODING_MACMAX
));
20086 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_FromInt((int)wxFONTENCODING_MAX
));
20087 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_FromInt((int)wxFONTENCODING_UTF16
));
20088 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_FromInt((int)wxFONTENCODING_UTF32
));
20089 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_FromInt((int)wxFONTENCODING_UNICODE
));
20090 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_FromInt((int)wxFONTENCODING_GB2312
));
20091 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_FromInt((int)wxFONTENCODING_BIG5
));
20092 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_FromInt((int)wxFONTENCODING_SHIFT_JIS
));
20094 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
20096 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_FromInt((int)wxLANGUAGE_DEFAULT
));
20097 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_FromInt((int)wxLANGUAGE_UNKNOWN
));
20098 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_FromInt((int)wxLANGUAGE_ABKHAZIAN
));
20099 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_FromInt((int)wxLANGUAGE_AFAR
));
20100 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_FromInt((int)wxLANGUAGE_AFRIKAANS
));
20101 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_FromInt((int)wxLANGUAGE_ALBANIAN
));
20102 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_FromInt((int)wxLANGUAGE_AMHARIC
));
20103 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_FromInt((int)wxLANGUAGE_ARABIC
));
20104 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_ALGERIA
));
20105 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_BAHRAIN
));
20106 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_EGYPT
));
20107 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_FromInt((int)wxLANGUAGE_ARABIC_IRAQ
));
20108 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_JORDAN
));
20109 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_KUWAIT
));
20110 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LEBANON
));
20111 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LIBYA
));
20112 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_FromInt((int)wxLANGUAGE_ARABIC_MOROCCO
));
20113 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_OMAN
));
20114 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_FromInt((int)wxLANGUAGE_ARABIC_QATAR
));
20115 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
20116 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SUDAN
));
20117 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SYRIA
));
20118 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_TUNISIA
));
20119 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_FromInt((int)wxLANGUAGE_ARABIC_UAE
));
20120 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_YEMEN
));
20121 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_FromInt((int)wxLANGUAGE_ARMENIAN
));
20122 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_FromInt((int)wxLANGUAGE_ASSAMESE
));
20123 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_FromInt((int)wxLANGUAGE_AYMARA
));
20124 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_FromInt((int)wxLANGUAGE_AZERI
));
20125 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_AZERI_CYRILLIC
));
20126 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_FromInt((int)wxLANGUAGE_AZERI_LATIN
));
20127 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_FromInt((int)wxLANGUAGE_BASHKIR
));
20128 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_FromInt((int)wxLANGUAGE_BASQUE
));
20129 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_FromInt((int)wxLANGUAGE_BELARUSIAN
));
20130 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_FromInt((int)wxLANGUAGE_BENGALI
));
20131 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_FromInt((int)wxLANGUAGE_BHUTANI
));
20132 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_FromInt((int)wxLANGUAGE_BIHARI
));
20133 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_FromInt((int)wxLANGUAGE_BISLAMA
));
20134 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_FromInt((int)wxLANGUAGE_BRETON
));
20135 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_FromInt((int)wxLANGUAGE_BULGARIAN
));
20136 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_FromInt((int)wxLANGUAGE_BURMESE
));
20137 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_FromInt((int)wxLANGUAGE_CAMBODIAN
));
20138 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_FromInt((int)wxLANGUAGE_CATALAN
));
20139 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_FromInt((int)wxLANGUAGE_CHINESE
));
20140 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
20141 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
20142 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_FromInt((int)wxLANGUAGE_CHINESE_HONGKONG
));
20143 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_FromInt((int)wxLANGUAGE_CHINESE_MACAU
));
20144 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SINGAPORE
));
20145 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TAIWAN
));
20146 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_FromInt((int)wxLANGUAGE_CORSICAN
));
20147 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_CROATIAN
));
20148 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_FromInt((int)wxLANGUAGE_CZECH
));
20149 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_FromInt((int)wxLANGUAGE_DANISH
));
20150 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_FromInt((int)wxLANGUAGE_DUTCH
));
20151 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_DUTCH_BELGIAN
));
20152 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_FromInt((int)wxLANGUAGE_ENGLISH
));
20153 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_UK
));
20154 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_US
));
20155 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
20156 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BELIZE
));
20157 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
20158 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CANADA
));
20159 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
20160 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_DENMARK
));
20161 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_EIRE
));
20162 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_JAMAICA
));
20163 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
20164 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
20165 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
20166 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
20167 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
20168 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_FromInt((int)wxLANGUAGE_ESPERANTO
));
20169 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_FromInt((int)wxLANGUAGE_ESTONIAN
));
20170 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_FromInt((int)wxLANGUAGE_FAEROESE
));
20171 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_FromInt((int)wxLANGUAGE_FARSI
));
20172 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_FromInt((int)wxLANGUAGE_FIJI
));
20173 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_FromInt((int)wxLANGUAGE_FINNISH
));
20174 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_FromInt((int)wxLANGUAGE_FRENCH
));
20175 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_BELGIAN
));
20176 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_CANADIAN
));
20177 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
20178 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_FromInt((int)wxLANGUAGE_FRENCH_MONACO
));
20179 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_FromInt((int)wxLANGUAGE_FRENCH_SWISS
));
20180 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_FromInt((int)wxLANGUAGE_FRISIAN
));
20181 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_FromInt((int)wxLANGUAGE_GALICIAN
));
20182 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_FromInt((int)wxLANGUAGE_GEORGIAN
));
20183 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN
));
20184 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
20185 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_FromInt((int)wxLANGUAGE_GERMAN_BELGIUM
));
20186 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
20187 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
20188 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_GERMAN_SWISS
));
20189 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_FromInt((int)wxLANGUAGE_GREEK
));
20190 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_FromInt((int)wxLANGUAGE_GREENLANDIC
));
20191 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_FromInt((int)wxLANGUAGE_GUARANI
));
20192 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_FromInt((int)wxLANGUAGE_GUJARATI
));
20193 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_FromInt((int)wxLANGUAGE_HAUSA
));
20194 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_FromInt((int)wxLANGUAGE_HEBREW
));
20195 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_FromInt((int)wxLANGUAGE_HINDI
));
20196 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_FromInt((int)wxLANGUAGE_HUNGARIAN
));
20197 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_FromInt((int)wxLANGUAGE_ICELANDIC
));
20198 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_FromInt((int)wxLANGUAGE_INDONESIAN
));
20199 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUA
));
20200 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUE
));
20201 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_FromInt((int)wxLANGUAGE_INUKTITUT
));
20202 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_FromInt((int)wxLANGUAGE_INUPIAK
));
20203 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_FromInt((int)wxLANGUAGE_IRISH
));
20204 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_FromInt((int)wxLANGUAGE_ITALIAN
));
20205 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_ITALIAN_SWISS
));
20206 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_FromInt((int)wxLANGUAGE_JAPANESE
));
20207 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_FromInt((int)wxLANGUAGE_JAVANESE
));
20208 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_FromInt((int)wxLANGUAGE_KANNADA
));
20209 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI
));
20210 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI_INDIA
));
20211 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_FromInt((int)wxLANGUAGE_KAZAKH
));
20212 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_FromInt((int)wxLANGUAGE_KERNEWEK
));
20213 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_FromInt((int)wxLANGUAGE_KINYARWANDA
));
20214 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_FromInt((int)wxLANGUAGE_KIRGHIZ
));
20215 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_FromInt((int)wxLANGUAGE_KIRUNDI
));
20216 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_FromInt((int)wxLANGUAGE_KONKANI
));
20217 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_FromInt((int)wxLANGUAGE_KOREAN
));
20218 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_FromInt((int)wxLANGUAGE_KURDISH
));
20219 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_FromInt((int)wxLANGUAGE_LAOTHIAN
));
20220 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_FromInt((int)wxLANGUAGE_LATIN
));
20221 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_FromInt((int)wxLANGUAGE_LATVIAN
));
20222 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_FromInt((int)wxLANGUAGE_LINGALA
));
20223 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_FromInt((int)wxLANGUAGE_LITHUANIAN
));
20224 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_FromInt((int)wxLANGUAGE_MACEDONIAN
));
20225 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_FromInt((int)wxLANGUAGE_MALAGASY
));
20226 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_FromInt((int)wxLANGUAGE_MALAY
));
20227 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_FromInt((int)wxLANGUAGE_MALAYALAM
));
20228 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_FromInt((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
20229 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_FromInt((int)wxLANGUAGE_MALAY_MALAYSIA
));
20230 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_FromInt((int)wxLANGUAGE_MALTESE
));
20231 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_FromInt((int)wxLANGUAGE_MANIPURI
));
20232 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_FromInt((int)wxLANGUAGE_MAORI
));
20233 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_FromInt((int)wxLANGUAGE_MARATHI
));
20234 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_FromInt((int)wxLANGUAGE_MOLDAVIAN
));
20235 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_FromInt((int)wxLANGUAGE_MONGOLIAN
));
20236 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_FromInt((int)wxLANGUAGE_NAURU
));
20237 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_FromInt((int)wxLANGUAGE_NEPALI
));
20238 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_FromInt((int)wxLANGUAGE_NEPALI_INDIA
));
20239 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
20240 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
20241 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_FromInt((int)wxLANGUAGE_OCCITAN
));
20242 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_FromInt((int)wxLANGUAGE_ORIYA
));
20243 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_FromInt((int)wxLANGUAGE_OROMO
));
20244 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_FromInt((int)wxLANGUAGE_PASHTO
));
20245 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_FromInt((int)wxLANGUAGE_POLISH
));
20246 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE
));
20247 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
20248 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_FromInt((int)wxLANGUAGE_PUNJABI
));
20249 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_FromInt((int)wxLANGUAGE_QUECHUA
));
20250 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_FromInt((int)wxLANGUAGE_RHAETO_ROMANCE
));
20251 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_FromInt((int)wxLANGUAGE_ROMANIAN
));
20252 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN
));
20253 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
20254 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_FromInt((int)wxLANGUAGE_SAMOAN
));
20255 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_FromInt((int)wxLANGUAGE_SANGHO
));
20256 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_FromInt((int)wxLANGUAGE_SANSKRIT
));
20257 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_FromInt((int)wxLANGUAGE_SCOTS_GAELIC
));
20258 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN
));
20259 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
20260 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_LATIN
));
20261 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_SERBO_CROATIAN
));
20262 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_FromInt((int)wxLANGUAGE_SESOTHO
));
20263 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_FromInt((int)wxLANGUAGE_SETSWANA
));
20264 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_FromInt((int)wxLANGUAGE_SHONA
));
20265 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_FromInt((int)wxLANGUAGE_SINDHI
));
20266 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_FromInt((int)wxLANGUAGE_SINHALESE
));
20267 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_FromInt((int)wxLANGUAGE_SISWATI
));
20268 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_FromInt((int)wxLANGUAGE_SLOVAK
));
20269 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_FromInt((int)wxLANGUAGE_SLOVENIAN
));
20270 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_FromInt((int)wxLANGUAGE_SOMALI
));
20271 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_FromInt((int)wxLANGUAGE_SPANISH
));
20272 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ARGENTINA
));
20273 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_BOLIVIA
));
20274 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_FromInt((int)wxLANGUAGE_SPANISH_CHILE
));
20275 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COLOMBIA
));
20276 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
20277 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_FromInt((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
20278 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ECUADOR
));
20279 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
20280 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_GUATEMALA
));
20281 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_FromInt((int)wxLANGUAGE_SPANISH_HONDURAS
));
20282 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MEXICAN
));
20283 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MODERN
));
20284 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_NICARAGUA
));
20285 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PANAMA
));
20286 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PARAGUAY
));
20287 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PERU
));
20288 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
20289 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_URUGUAY
));
20290 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_FromInt((int)wxLANGUAGE_SPANISH_US
));
20291 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_VENEZUELA
));
20292 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_FromInt((int)wxLANGUAGE_SUNDANESE
));
20293 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_FromInt((int)wxLANGUAGE_SWAHILI
));
20294 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_FromInt((int)wxLANGUAGE_SWEDISH
));
20295 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_FromInt((int)wxLANGUAGE_SWEDISH_FINLAND
));
20296 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_FromInt((int)wxLANGUAGE_TAGALOG
));
20297 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_FromInt((int)wxLANGUAGE_TAJIK
));
20298 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_FromInt((int)wxLANGUAGE_TAMIL
));
20299 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_FromInt((int)wxLANGUAGE_TATAR
));
20300 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_FromInt((int)wxLANGUAGE_TELUGU
));
20301 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_FromInt((int)wxLANGUAGE_THAI
));
20302 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_FromInt((int)wxLANGUAGE_TIBETAN
));
20303 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_FromInt((int)wxLANGUAGE_TIGRINYA
));
20304 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_FromInt((int)wxLANGUAGE_TONGA
));
20305 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_FromInt((int)wxLANGUAGE_TSONGA
));
20306 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_FromInt((int)wxLANGUAGE_TURKISH
));
20307 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_FromInt((int)wxLANGUAGE_TURKMEN
));
20308 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_FromInt((int)wxLANGUAGE_TWI
));
20309 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_FromInt((int)wxLANGUAGE_UIGHUR
));
20310 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_FromInt((int)wxLANGUAGE_UKRAINIAN
));
20311 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_FromInt((int)wxLANGUAGE_URDU
));
20312 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_FromInt((int)wxLANGUAGE_URDU_INDIA
));
20313 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_FromInt((int)wxLANGUAGE_URDU_PAKISTAN
));
20314 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_FromInt((int)wxLANGUAGE_UZBEK
));
20315 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_UZBEK_CYRILLIC
));
20316 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_FromInt((int)wxLANGUAGE_UZBEK_LATIN
));
20317 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_FromInt((int)wxLANGUAGE_VIETNAMESE
));
20318 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_FromInt((int)wxLANGUAGE_VOLAPUK
));
20319 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_FromInt((int)wxLANGUAGE_WELSH
));
20320 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_FromInt((int)wxLANGUAGE_WOLOF
));
20321 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_FromInt((int)wxLANGUAGE_XHOSA
));
20322 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_FromInt((int)wxLANGUAGE_YIDDISH
));
20323 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_FromInt((int)wxLANGUAGE_YORUBA
));
20324 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_FromInt((int)wxLANGUAGE_ZHUANG
));
20325 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_FromInt((int)wxLANGUAGE_ZULU
));
20326 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_FromInt((int)wxLANGUAGE_USER_DEFINED
));
20327 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_FromInt((int)wxLOCALE_CAT_NUMBER
));
20328 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_FromInt((int)wxLOCALE_CAT_DATE
));
20329 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_FromInt((int)wxLOCALE_CAT_MONEY
));
20330 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_FromInt((int)wxLOCALE_CAT_MAX
));
20331 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_FromInt((int)wxLOCALE_THOUSANDS_SEP
));
20332 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_FromInt((int)wxLOCALE_DECIMAL_POINT
));
20333 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_FromInt((int)wxLOCALE_LOAD_DEFAULT
));
20334 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_FromInt((int)wxLOCALE_CONV_ENCODING
));
20335 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_FromInt((int)wxCONVERT_STRICT
));
20336 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_FromInt((int)wxCONVERT_SUBSTITUTE
));
20337 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_FromInt((int)wxPLATFORM_CURRENT
));
20338 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_FromInt((int)wxPLATFORM_UNIX
));
20339 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_FromInt((int)wxPLATFORM_WINDOWS
));
20340 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_FromInt((int)wxPLATFORM_OS2
));
20341 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_FromInt((int)wxPLATFORM_MAC
));
20342 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_FromInt((int)wxIMAGELIST_DRAW_NORMAL
));
20343 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_FromInt((int)wxIMAGELIST_DRAW_TRANSPARENT
));
20344 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_FromInt((int)wxIMAGELIST_DRAW_SELECTED
));
20345 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_FromInt((int)wxIMAGELIST_DRAW_FOCUSED
));
20346 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_FromInt((int)wxIMAGE_LIST_NORMAL
));
20347 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_FromInt((int)wxIMAGE_LIST_SMALL
));
20348 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_FromInt((int)wxIMAGE_LIST_STATE
));
20349 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
20350 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
20351 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
20352 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
20353 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
20354 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
20355 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
20356 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
20357 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
20358 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
20359 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
20360 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
20361 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
20362 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
20363 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
20364 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
20365 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
20366 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
20367 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
20368 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
20369 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
20370 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
20371 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
20372 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
20373 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
20374 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
20375 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
20376 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
20377 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
20378 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
20379 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
20380 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
20381 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
20382 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
20383 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
20384 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
20385 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
20386 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
20387 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
20388 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
20389 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
20390 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
20391 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
20392 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
20393 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
20394 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
20395 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
20397 // Work around a chicken/egg problem in drawlist.cpp
20398 wxPyDrawList_SetAPIPtr();