#include "helpers.h"
#include <wx/metafile.h>
+#include <wx/imaglist.h>
+#ifndef __WXMSW__
+#include <wx/dcps.h>
+#endif
static PyObject* l_output_helper(PyObject* target, PyObject* o) {
PyObject* o2;
}
+extern byte* byte_LIST_helper(PyObject* source);
extern int* int_LIST_helper(PyObject* source);
extern long* long_LIST_helper(PyObject* source);
extern char** string_LIST_helper(PyObject* source);
extern wxPoint* wxPoint_LIST_helper(PyObject* source);
extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
extern wxString* wxString_LIST_helper(PyObject* source);
-#ifdef __WXMSW__
extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
-#endif
static char* wxStringErrorMsg = "string type is required for parameter";
return new wxBitmap(width, height, depth);
}
- // This one won't own the reference, so Python won't call
- // the dtor, this is good for toolbars and such where
- // the parent will manage the bitmap.
+ // This one won't own the reference, so Python
+ // won't call the dtor, this is good for
+ // toolbars and such where the parent will
+ // manage the bitmap.
wxBitmap* wxNoRefBitmap(char* name, long flags) {
return new wxBitmap(name, flags);
}
wxMemoryDC* wxMemoryDCFromDC(wxDC* oldDC) {
return new wxMemoryDC(oldDC);
}
+
+#if 0
extern wxFont * wxNORMAL_FONT;
extern wxFont * wxSMALL_FONT;
extern wxFont * wxITALIC_FONT;
extern wxPalette wxNullPalette;
extern wxFont wxNullFont;
extern wxColour wxNullColour;
+
+#endif
static PyObject *_wrap_wxEmptyBitmap(PyObject *self, PyObject *args) {
PyObject * _resultobj;
wxBitmap * _result;
self = self;
if(!PyArg_ParseTuple(args,"ii|i:wxEmptyBitmap",&_arg0,&_arg1,&_arg2))
return NULL;
- _result = (wxBitmap *)wxEmptyBitmap(_arg0,_arg1,_arg2);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxBitmap *)wxEmptyBitmap(_arg0,_arg1,_arg2);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
self = self;
if(!PyArg_ParseTuple(args,"sl:wxNoRefBitmap",&_arg0,&_arg1))
return NULL;
- _result = (wxBitmap *)wxNoRefBitmap(_arg0,_arg1);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxBitmap *)wxNoRefBitmap(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- _result = (wxMask *)wxMaskColour(*_arg0,*_arg1);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxMask_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxMask *)wxMaskColour(*_arg0,*_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxMask_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
self = self;
if(!PyArg_ParseTuple(args,"i:wxStockCursor",&_arg0))
return NULL;
- _result = (wxCursor *)wxPyStockCursor(_arg0);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxCursor_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxCursor *)wxPyStockCursor(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxCursor_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
- _arg0 = new wxString(PyString_AsString(_obj0));
+ _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
}
- _result = (wxColour *)wxNamedColour(*_arg0);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxColour *)wxNamedColour(*_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
_resultobj = Py_BuildValue("s",_ptemp);
{
if (_obj0)
return NULL;
}
}
- _result = (wxMemoryDC *)wxMemoryDCFromDC(_arg0);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxMemoryDC_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxMemoryDC *)wxMemoryDCFromDC(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxMemoryDC_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
- _arg0 = new wxString(PyString_AsString(_obj0));
+ _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
}
- _result = (wxBitmap *)new_wxBitmap(*_arg0,_arg1);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxBitmap *)new_wxBitmap(*_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
_resultobj = Py_BuildValue("s",_ptemp);
{
if (_obj0)
return NULL;
}
}
- delete_wxBitmap(_arg0);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ delete_wxBitmap(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxBitmap_Create(_arg0,_arg1,_arg2,_arg3);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxBitmap_Create(_arg0,_arg1,_arg2,_arg3);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxBitmap_GetDepth(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxBitmap_GetDepth(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxBitmap_GetHeight(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxBitmap_GetHeight(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (wxPalette *)wxBitmap_GetPalette(_arg0);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxPalette_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxPalette *)wxBitmap_GetPalette(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxPalette_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- _result = (wxMask *)wxBitmap_GetMask(_arg0);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxMask_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxMask *)wxBitmap_GetMask(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxMask_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxBitmap_GetWidth(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxBitmap_GetWidth(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
- _arg1 = new wxString(PyString_AsString(_obj1));
+ _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
}
- _result = (bool )wxBitmap_LoadFile(_arg0,*_arg1,_arg2);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxBitmap_LoadFile(_arg0,*_arg1,_arg2);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
{
if (_obj1)
delete _arg1;
return NULL;
}
}
- _result = (bool )wxBitmap_Ok(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxBitmap_Ok(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
- _arg1 = new wxString(PyString_AsString(_obj1));
+ _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
}
if (_argc3) {
if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPalette_p")) {
return NULL;
}
}
- _result = (bool )wxBitmap_SaveFile(_arg0,*_arg1,_arg2,_arg3);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxBitmap_SaveFile(_arg0,*_arg1,_arg2,_arg3);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
{
if (_obj1)
delete _arg1;
return NULL;
}
}
- wxBitmap_SetDepth(_arg0,_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxBitmap_SetDepth(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxBitmap_SetHeight(_arg0,_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxBitmap_SetHeight(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxBitmap_SetMask(_arg0,_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxBitmap_SetMask(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxBitmap_SetPalette(_arg0,_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxBitmap_SetPalette(_arg0,*_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxBitmap_SetWidth(_arg0,_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxBitmap_SetWidth(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- _result = (wxMask *)new_wxMask(*_arg0);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxMask_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxMask *)new_wxMask(*_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxMask_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- delete_wxMask(_arg0);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ delete_wxMask(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
- _arg0 = new wxString(PyString_AsString(_obj0));
+ _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
}
- _result = (wxIcon *)new_wxIcon(*_arg0,_arg1,_arg2,_arg3);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxIcon_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxIcon *)new_wxIcon(*_arg0,_arg1,_arg2,_arg3);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxIcon_p");
_resultobj = Py_BuildValue("s",_ptemp);
{
if (_obj0)
return NULL;
}
}
- delete_wxIcon(_arg0);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ delete_wxIcon(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxIcon_GetDepth(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxIcon_GetDepth(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxIcon_GetHeight(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxIcon_GetHeight(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxIcon_GetWidth(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxIcon_GetWidth(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
- _arg1 = new wxString(PyString_AsString(_obj1));
+ _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
}
- _result = (bool )wxIcon_LoadFile(_arg0,*_arg1,_arg2);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxIcon_LoadFile(_arg0,*_arg1,_arg2);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
{
if (_obj1)
delete _arg1;
return NULL;
}
}
- _result = (bool )wxIcon_Ok(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxIcon_Ok(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- wxIcon_SetDepth(_arg0,_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxIcon_SetDepth(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxIcon_SetHeight(_arg0,_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxIcon_SetHeight(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxIcon_SetWidth(_arg0,_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxIcon_SetWidth(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
- _arg0 = new wxString(PyString_AsString(_obj0));
+ _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
}
- _result = (wxCursor *)new_wxCursor(*_arg0,_arg1,_arg2,_arg3);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxCursor_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxCursor *)new_wxCursor(*_arg0,_arg1,_arg2,_arg3);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxCursor_p");
_resultobj = Py_BuildValue("s",_ptemp);
{
if (_obj0)
return NULL;
}
}
- delete_wxCursor(_arg0);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ delete_wxCursor(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- _result = (bool )wxCursor_Ok(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxCursor_Ok(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
self = self;
if(!PyArg_ParseTuple(args,"iiii|is:new_wxFont",&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
return NULL;
- _result = (wxFont *)new_wxFont(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxFont *)new_wxFont(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- _result = new wxString (wxFont_GetFaceName(_arg0));
{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = new wxString (wxFont_GetFaceName(_arg0));
+
+ wxPy_END_ALLOW_THREADS;
+}{
_resultobj = PyString_FromString(WXSTRINGCAST *(_result));
}
{
return NULL;
}
}
- _result = (int )wxFont_GetFamily(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxFont_GetFamily(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxFont_GetFontId(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxFont_GetFontId(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxFont_GetPointSize(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxFont_GetPointSize(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxFont_GetStyle(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxFont_GetStyle(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (bool )wxFont_GetUnderlined(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxFont_GetUnderlined(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxFont_GetWeight(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxFont_GetWeight(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
- _arg1 = new wxString(PyString_AsString(_obj1));
+ _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
}
- wxFont_SetFaceName(_arg0,*_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxFont_SetFaceName(_arg0,*_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
{
if (_obj1)
return NULL;
}
}
- wxFont_SetFamily(_arg0,_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxFont_SetFamily(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxFont_SetPointSize(_arg0,_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxFont_SetPointSize(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxFont_SetStyle(_arg0,_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxFont_SetStyle(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
}
}
_arg1 = (bool ) tempbool1;
- wxFont_SetUnderlined(_arg0,_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxFont_SetUnderlined(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxFont_SetWeight(_arg0,_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxFont_SetWeight(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
self = self;
if(!PyArg_ParseTuple(args,"|bbb:new_wxColour",&_arg0,&_arg1,&_arg2))
return NULL;
- _result = (wxColour *)new_wxColour(_arg0,_arg1,_arg2);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxColour *)new_wxColour(_arg0,_arg1,_arg2);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- delete_wxColour(_arg0);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ delete_wxColour(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- _result = (unsigned char )wxColour_Red(_arg0);
- _resultobj = Py_BuildValue("b",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (unsigned char )wxColour_Red(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("b",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (unsigned char )wxColour_Green(_arg0);
- _resultobj = Py_BuildValue("b",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (unsigned char )wxColour_Green(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("b",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (unsigned char )wxColour_Blue(_arg0);
- _resultobj = Py_BuildValue("b",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (unsigned char )wxColour_Blue(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("b",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (bool )wxColour_Ok(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxColour_Ok(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- wxColour_Set(_arg0,_arg1,_arg2,_arg3);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxColour_Set(_arg0,_arg1,_arg2,_arg3);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- _result = (PyObject *)wxColour_Get(_arg0);
{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (PyObject *)wxColour_Get(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+}{
_resultobj = _result;
}
return _resultobj;
return NULL;
}
}
- _result = (wxPen *)new_wxPen(_arg0,_arg1,_arg2);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxPen *)new_wxPen(_arg0,_arg1,_arg2);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxPen_GetCap(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxPen_GetCap(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- wxColour & _result_ref = wxPen_GetColour(_arg0);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxColour & _result_ref = wxPen_GetColour(_arg0);
_result = (wxColour *) &_result_ref;
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
- _resultobj = Py_BuildValue("s",_ptemp);
- return _resultobj;
-}
-
-#define wxPen_GetDashes(_swigobj,_swigarg0) (_swigobj->GetDashes(_swigarg0))
-static PyObject *_wrap_wxPen_GetDashes(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- int _result;
- wxPen * _arg0;
- wxDash ** _arg1;
- char * _argc0 = 0;
- char * _argc1 = 0;
-
- self = self;
- if(!PyArg_ParseTuple(args,"ss:wxPen_GetDashes",&_argc0,&_argc1))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPen_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetDashes. Expected _wxPen_p.");
- return NULL;
- }
- }
- if (_argc1) {
- if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxDash_pp")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPen_GetDashes. Expected _wxDash_pp.");
- return NULL;
- }
- }
- _result = (int )wxPen_GetDashes(_arg0,_arg1);
- _resultobj = Py_BuildValue("i",_result);
- return _resultobj;
-}
-
-#define wxPen_GetStipple(_swigobj) (_swigobj->GetStipple())
-static PyObject *_wrap_wxPen_GetStipple(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- wxBitmap * _result;
- wxPen * _arg0;
- char * _argc0 = 0;
- char _ptemp[128];
- self = self;
- if(!PyArg_ParseTuple(args,"s:wxPen_GetStipple",&_argc0))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPen_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetStipple. Expected _wxPen_p.");
- return NULL;
- }
- }
- _result = (wxBitmap *)wxPen_GetStipple(_arg0);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxPen_GetJoin(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxPen_GetJoin(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxPen_GetStyle(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxPen_GetStyle(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxPen_GetWidth(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxPen_GetWidth(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (bool )wxPen_Ok(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxPen_Ok(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- wxPen_SetCap(_arg0,_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxPen_SetCap(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxPen_SetColour(_arg0,*_arg1);
- Py_INCREF(Py_None);
- _resultobj = Py_None;
- return _resultobj;
-}
-
-#define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
-static PyObject *_wrap_wxPen_SetDashes(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- wxPen * _arg0;
- int _arg1;
- wxDash * _arg2;
- char * _argc0 = 0;
- PyObject * _obj2 = 0;
-
- self = self;
- if(!PyArg_ParseTuple(args,"sO:wxPen_SetDashes",&_argc0,&_obj2))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPen_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
- return NULL;
- }
- }
- if (_obj2)
-{
- _arg2 = (unsigned long*)long_LIST_helper(_obj2);
- if (_arg2 == NULL) {
- return NULL;
- }
-}
{
- _arg1 = PyList_Size(_obj2);
-}
- wxPen_SetDashes(_arg0,_arg1,_arg2);
- Py_INCREF(Py_None);
- _resultobj = Py_None;
-{
- delete [] _arg2;
-}
- return _resultobj;
-}
-
-#define wxPen_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
-static PyObject *_wrap_wxPen_SetStipple(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- wxPen * _arg0;
- wxBitmap * _arg1;
- char * _argc0 = 0;
- char * _argc1 = 0;
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxPen_SetColour(_arg0,*_arg1);
- self = self;
- if(!PyArg_ParseTuple(args,"ss:wxPen_SetStipple",&_argc0,&_argc1))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPen_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetStipple. Expected _wxPen_p.");
- return NULL;
- }
- }
- if (_argc1) {
- if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxBitmap_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPen_SetStipple. Expected _wxBitmap_p.");
- return NULL;
- }
- }
- wxPen_SetStipple(_arg0,_arg1);
- Py_INCREF(Py_None);
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxPen_SetJoin(_arg0,_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxPen_SetJoin(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxPen_SetStyle(_arg0,_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxPen_SetStyle(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxPen_SetWidth(_arg0,_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxPen_SetWidth(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
-static wxBrush *new_wxBrush(wxColour *colour,int style) {
- return wxTheBrushList->FindOrCreateBrush(*colour, style);
- }
-
-static PyObject *_wrap_new_wxBrush(PyObject *self, PyObject *args) {
+#define wxPen_GetDashes(_swigobj,_swigarg0) (_swigobj->GetDashes(_swigarg0))
+static PyObject *_wrap_wxPen_GetDashes(PyObject *self, PyObject *args) {
PyObject * _resultobj;
- wxBrush * _result;
+ int _result;
+ wxPen * _arg0;
+ wxDash ** _arg1;
+ char * _argc0 = 0;
+ char * _argc1 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"ss:wxPen_GetDashes",&_argc0,&_argc1))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPen_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetDashes. Expected _wxPen_p.");
+ return NULL;
+ }
+ }
+ if (_argc1) {
+ if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxDash_pp")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPen_GetDashes. Expected _wxDash_pp.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxPen_GetDashes(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxPen_GetStipple(_swigobj) (_swigobj->GetStipple())
+static PyObject *_wrap_wxPen_GetStipple(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ wxBitmap * _result;
+ wxPen * _arg0;
+ char * _argc0 = 0;
+ char _ptemp[128];
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"s:wxPen_GetStipple",&_argc0))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPen_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetStipple. Expected _wxPen_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxBitmap *)wxPen_GetStipple(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
+ return _resultobj;
+}
+
+#define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxPen_SetDashes(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ wxPen * _arg0;
+ int _arg1;
+ wxDash * _arg2;
+ char * _argc0 = 0;
+ PyObject * _obj2 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"sO:wxPen_SetDashes",&_argc0,&_obj2))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPen_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
+ return NULL;
+ }
+ }
+ if (_obj2)
+{
+ _arg2 = (unsigned long*)long_LIST_helper(_obj2);
+ if (_arg2 == NULL) {
+ return NULL;
+ }
+}
+{
+ if (_obj2) {
+ _arg1 = PyList_Size(_obj2);
+ }
+ else {
+ _arg1 = 0;
+ }
+}
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxPen_SetDashes(_arg0,_arg1,_arg2);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+{
+ delete [] _arg2;
+}
+ return _resultobj;
+}
+
+#define wxPen_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
+static PyObject *_wrap_wxPen_SetStipple(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ wxPen * _arg0;
+ wxBitmap * _arg1;
+ char * _argc0 = 0;
+ char * _argc1 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"ss:wxPen_SetStipple",&_argc0,&_argc1))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPen_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetStipple. Expected _wxPen_p.");
+ return NULL;
+ }
+ }
+ if (_argc1) {
+ if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxBitmap_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPen_SetStipple. Expected _wxBitmap_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxPen_SetStipple(_arg0,*_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+static wxBrush *new_wxBrush(wxColour *colour,int style) {
+ return wxTheBrushList->FindOrCreateBrush(*colour, style);
+ }
+
+static PyObject *_wrap_new_wxBrush(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ wxBrush * _result;
wxColour * _arg0;
int _arg1 = (wxSOLID);
char * _argc0 = 0;
return NULL;
}
}
- _result = (wxBrush *)new_wxBrush(_arg0,_arg1);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxBrush *)new_wxBrush(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- wxColour & _result_ref = wxBrush_GetColour(_arg0);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxColour & _result_ref = wxBrush_GetColour(_arg0);
_result = (wxColour *) &_result_ref;
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- _result = (wxBitmap *)wxBrush_GetStipple(_arg0);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxBitmap *)wxBrush_GetStipple(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxBrush_GetStyle(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxBrush_GetStyle(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (bool )wxBrush_Ok(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxBrush_Ok(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- wxBrush_SetColour(_arg0,*_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxBrush_SetColour(_arg0,*_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxBrush_SetStipple(_arg0,_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxBrush_SetStipple(_arg0,*_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxBrush_SetStyle(_arg0,_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxBrush_SetStyle(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- delete_wxDC(_arg0);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ delete_wxDC(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxDC_BeginDrawing(_arg0);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxDC_BeginDrawing(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- _result = (bool )wxDC_Blit(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxDC_Blit(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- wxDC_Clear(_arg0);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxDC_Clear(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxDC_CrossHair(_arg0,_arg1,_arg2);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxDC_CrossHair(_arg0,_arg1,_arg2);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxDC_DestroyClippingRegion(_arg0);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxDC_DestroyClippingRegion(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- _result = (long )wxDC_DeviceToLogicalX(_arg0,_arg1);
- _resultobj = Py_BuildValue("l",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (long )wxDC_DeviceToLogicalX(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("l",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (long )wxDC_DeviceToLogicalXRel(_arg0,_arg1);
- _resultobj = Py_BuildValue("l",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (long )wxDC_DeviceToLogicalXRel(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("l",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (long )wxDC_DeviceToLogicalY(_arg0,_arg1);
- _resultobj = Py_BuildValue("l",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (long )wxDC_DeviceToLogicalY(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("l",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (long )wxDC_DeviceToLogicalYRel(_arg0,_arg1);
- _resultobj = Py_BuildValue("l",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (long )wxDC_DeviceToLogicalYRel(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("l",_result);
return _resultobj;
}
return NULL;
}
}
- wxDC_DrawArc(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxDC_DrawArc(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
+static PyObject *_wrap_wxDC_DrawCircle(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ wxDC * _arg0;
+ long _arg1;
+ long _arg2;
+ long _arg3;
+ char * _argc0 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"slll:wxDC_DrawCircle",&_argc0,&_arg1,&_arg2,&_arg3))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxDC_DrawCircle(_arg0,_arg1,_arg2,_arg3);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxDC_DrawEllipse(_arg0,_arg1,_arg2,_arg3,_arg4);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxDC_DrawEllipse(_arg0,_arg1,_arg2,_arg3,_arg4);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxDC_DrawEllipticArc(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxDC_DrawEllipticArc(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxDC_DrawIcon(_arg0,*_arg1,_arg2,_arg3);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxDC_DrawIcon(_arg0,*_arg1,_arg2,_arg3);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxDC_DrawLine(_arg0,_arg1,_arg2,_arg3,_arg4);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxDC_DrawLine(_arg0,_arg1,_arg2,_arg3,_arg4);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
}
}
{
- _arg1 = PyList_Size(_obj2);
+ if (_obj2) {
+ _arg1 = PyList_Size(_obj2);
+ }
+ else {
+ _arg1 = 0;
+ }
}
- wxDC_DrawLines(_arg0,_arg1,_arg2,_arg3,_arg4);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxDC_DrawLines(_arg0,_arg1,_arg2,_arg3,_arg4);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
{
delete [] _arg2;
}
}
{
- _arg1 = PyList_Size(_obj2);
+ if (_obj2) {
+ _arg1 = PyList_Size(_obj2);
+ }
+ else {
+ _arg1 = 0;
+ }
}
- wxDC_DrawPolygon(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxDC_DrawPolygon(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
{
delete [] _arg2;
return NULL;
}
}
- wxDC_DrawPoint(_arg0,_arg1,_arg2);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxDC_DrawPoint(_arg0,_arg1,_arg2);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxDC_DrawRectangle(_arg0,_arg1,_arg2,_arg3,_arg4);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxDC_DrawRectangle(_arg0,_arg1,_arg2,_arg3,_arg4);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxDC_DrawRoundedRectangle(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxDC_DrawRoundedRectangle(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
}
}
{
- _arg1 = PyList_Size(_obj2);
+ if (_obj2) {
+ _arg1 = PyList_Size(_obj2);
+ }
+ else {
+ _arg1 = 0;
+ }
}
- wxDC_DrawSpline(_arg0,_arg1,_arg2);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxDC_DrawSpline(_arg0,_arg1,_arg2);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
{
delete [] _arg2;
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
- _arg1 = new wxString(PyString_AsString(_obj1));
+ _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
}
- wxDC_DrawText(_arg0,*_arg1,_arg2,_arg3);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxDC_DrawText(_arg0,*_arg1,_arg2,_arg3);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
{
if (_obj1)
return NULL;
}
}
- wxDC_EndDoc(_arg0);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxDC_EndDoc(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxDC_EndDrawing(_arg0);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxDC_EndDrawing(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxDC_EndPage(_arg0);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxDC_EndPage(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
+static PyObject *_wrap_wxDC_FloodFill(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ wxDC * _arg0;
+ long _arg1;
+ long _arg2;
+ wxColour * _arg3;
+ int _arg4 = (wxFLOOD_SURFACE);
+ char * _argc0 = 0;
+ char * _argc3 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"slls|i:wxDC_FloodFill",&_argc0,&_arg1,&_arg2,&_argc3,&_arg4))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
+ return NULL;
+ }
+ }
+ if (_argc3) {
+ if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxColour_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxDC_FloodFill. Expected _wxColour_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxDC_FloodFill(_arg0,_arg1,_arg2,*_arg3,_arg4);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- _result = (wxBrush *)wxDC_GetBackground(_arg0);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxBrush & _result_ref = wxDC_GetBackground(_arg0);
+ _result = (wxBrush *) &_result_ref;
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- _result = (wxBrush *)wxDC_GetBrush(_arg0);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxBrush & _result_ref = wxDC_GetBrush(_arg0);
+ _result = (wxBrush *) &_result_ref;
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- _result = (long )wxDC_GetCharHeight(_arg0);
- _resultobj = Py_BuildValue("l",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (long )wxDC_GetCharHeight(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("l",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (long )wxDC_GetCharWidth(_arg0);
- _resultobj = Py_BuildValue("l",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (long )wxDC_GetCharWidth(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("l",_result);
return _resultobj;
}
return NULL;
}
}
- wxDC_GetClippingBox(_arg0,_arg1,_arg2,_arg3,_arg4);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxDC_GetClippingBox(_arg0,_arg1,_arg2,_arg3,_arg4);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
{
PyObject *o;
return NULL;
}
}
- _result = (wxFont *)wxDC_GetFont(_arg0);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxFont & _result_ref = wxDC_GetFont(_arg0);
+ _result = (wxFont *) &_result_ref;
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxDC_GetLogicalFunction(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxDC_GetLogicalFunction(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxDC_GetMapMode(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxDC_GetMapMode(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (bool )wxDC_GetOptimization(_arg0);
- _resultobj = Py_BuildValue("i",_result);
- return _resultobj;
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxDC_GetOptimization(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
}
#define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
return NULL;
}
}
- _result = (wxPen *)wxDC_GetPen(_arg0);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxPen & _result_ref = wxDC_GetPen(_arg0);
+ _result = (wxPen *) &_result_ref;
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- _result = (wxColour *)wxDC_GetPixel(_arg0,_arg1,_arg2);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxColour *)wxDC_GetPixel(_arg0,_arg1,_arg2);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
-#define wxDC_GetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
-static PyObject *_wrap_wxDC_GetSize(PyObject *self, PyObject *args) {
+#define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxDC_GetSizeTuple(PyObject *self, PyObject *args) {
PyObject * _resultobj;
wxDC * _arg0;
int * _arg1;
{
_arg2 = &temp0;
}
- if(!PyArg_ParseTuple(args,"s:wxDC_GetSize",&_argc0))
+ if(!PyArg_ParseTuple(args,"s:wxDC_GetSizeTuple",&_argc0))
return NULL;
if (_argc0) {
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
return NULL;
}
}
- wxDC_GetSize(_arg0,_arg1,_arg2);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxDC_GetSizeTuple(_arg0,_arg1,_arg2);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
{
PyObject *o;
return _resultobj;
}
+#define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
+static PyObject *_wrap_wxDC_GetSize(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ wxSize * _result;
+ wxDC * _arg0;
+ char * _argc0 = 0;
+ char _ptemp[128];
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"s:wxDC_GetSize",&_argc0))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = new wxSize (wxDC_GetSize(_arg0));
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
+ return _resultobj;
+}
+
#define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
static PyObject *_wrap_wxDC_GetTextBackground(PyObject *self, PyObject *args) {
PyObject * _resultobj;
return NULL;
}
}
- wxColour & _result_ref = wxDC_GetTextBackground(_arg0);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxColour & _result_ref = wxDC_GetTextBackground(_arg0);
_result = (wxColour *) &_result_ref;
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
-#define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
+#define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_wxDC_GetTextExtent(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ wxDC * _arg0;
+ wxString * _arg1;
+ long * _arg2;
+ long temp;
+ long * _arg3;
+ long temp0;
+ char * _argc0 = 0;
+ PyObject * _obj1 = 0;
+
+ self = self;
+{
+ _arg2 = &temp;
+}
+{
+ _arg3 = &temp0;
+}
+ if(!PyArg_ParseTuple(args,"sO:wxDC_GetTextExtent",&_argc0,&_obj1))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
+ return NULL;
+ }
+ }
+{
+ if (!PyString_Check(_obj1)) {
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
+ return NULL;
+ }
+ _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
+}
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxDC_GetTextExtent(_arg0,*_arg1,_arg2,_arg3);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+{
+ PyObject *o;
+ o = PyInt_FromLong((long) (*_arg2));
+ _resultobj = t_output_helper(_resultobj, o);
+}
+{
+ PyObject *o;
+ o = PyInt_FromLong((long) (*_arg3));
+ _resultobj = t_output_helper(_resultobj, o);
+}
+{
+ if (_obj1)
+ delete _arg1;
+}
+ return _resultobj;
+}
+
+#define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
+static PyObject *_wrap_wxDC_GetFullTextExtent(PyObject *self, PyObject *args) {
PyObject * _resultobj;
wxDC * _arg0;
wxString * _arg1;
long temp1;
long * _arg5;
long temp2;
+ wxFont * _arg6 = NULL;
char * _argc0 = 0;
PyObject * _obj1 = 0;
+ char * _argc6 = 0;
self = self;
{
{
_arg5 = &temp2;
}
- if(!PyArg_ParseTuple(args,"sO:wxDC_GetTextExtent",&_argc0,&_obj1))
+ if(!PyArg_ParseTuple(args,"sO|s:wxDC_GetFullTextExtent",&_argc0,&_obj1,&_argc6))
return NULL;
if (_argc0) {
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
return NULL;
}
}
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
- _arg1 = new wxString(PyString_AsString(_obj1));
+ _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
}
- wxDC_GetTextExtent(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
- Py_INCREF(Py_None);
+ if (_argc6) {
+ if (SWIG_GetPtr(_argc6,(void **) &_arg6,"_wxFont_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxDC_GetFullTextExtent(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
{
PyObject *o;
return NULL;
}
}
- wxColour & _result_ref = wxDC_GetTextForeground(_arg0);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxColour & _result_ref = wxDC_GetTextForeground(_arg0);
_result = (wxColour *) &_result_ref;
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- _result = (long )wxDC_LogicalToDeviceX(_arg0,_arg1);
- _resultobj = Py_BuildValue("l",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (long )wxDC_LogicalToDeviceX(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("l",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (long )wxDC_LogicalToDeviceXRel(_arg0,_arg1);
- _resultobj = Py_BuildValue("l",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (long )wxDC_LogicalToDeviceXRel(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("l",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (long )wxDC_LogicalToDeviceY(_arg0,_arg1);
- _resultobj = Py_BuildValue("l",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (long )wxDC_LogicalToDeviceY(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("l",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (long )wxDC_LogicalToDeviceYRel(_arg0,_arg1);
- _resultobj = Py_BuildValue("l",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (long )wxDC_LogicalToDeviceYRel(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("l",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (long )wxDC_MaxX(_arg0);
- _resultobj = Py_BuildValue("l",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (long )wxDC_MaxX(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("l",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (long )wxDC_MaxY(_arg0);
- _resultobj = Py_BuildValue("l",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (long )wxDC_MaxY(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("l",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (long )wxDC_MinX(_arg0);
- _resultobj = Py_BuildValue("l",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (long )wxDC_MinX(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("l",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (long )wxDC_MinY(_arg0);
- _resultobj = Py_BuildValue("l",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (long )wxDC_MinY(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("l",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (bool )wxDC_Ok(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxDC_Ok(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- wxDC_SetDeviceOrigin(_arg0,_arg1,_arg2);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxDC_SetDeviceOrigin(_arg0,_arg1,_arg2);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxDC_SetBackground(_arg0,*_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxDC_SetBackground(_arg0,*_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxDC_SetBackgroundMode(_arg0,_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxDC_SetBackgroundMode(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxDC_SetClippingRegion(_arg0,_arg1,_arg2,_arg3,_arg4);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxDC_SetClippingRegion(_arg0,_arg1,_arg2,_arg3,_arg4);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxDC_SetPalette(_arg0,*_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxDC_SetPalette(_arg0,*_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxDC_SetBrush(_arg0,*_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxDC_SetBrush(_arg0,*_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxDC_SetFont(_arg0,*_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxDC_SetFont(_arg0,*_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxDC_SetLogicalFunction(_arg0,_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxDC_SetLogicalFunction(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxDC_SetMapMode(_arg0,_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxDC_SetMapMode(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
}
}
_arg1 = (bool ) tempbool1;
- wxDC_SetOptimization(_arg0,_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxDC_SetOptimization(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxDC_SetPen(_arg0,*_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxDC_SetPen(_arg0,*_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxDC_SetTextBackground(_arg0,*_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxDC_SetTextBackground(_arg0,*_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxDC_SetTextForeground(_arg0,*_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxDC_SetTextForeground(_arg0,*_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxDC_SetUserScale(_arg0,_arg1,_arg2);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxDC_SetUserScale(_arg0,_arg1,_arg2);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
- _arg1 = new wxString(PyString_AsString(_obj1));
+ _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
}
- _result = (bool )wxDC_StartDoc(_arg0,*_arg1);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxDC_StartDoc(_arg0,*_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
{
if (_obj1)
delete _arg1;
return NULL;
}
}
- wxDC_StartPage(_arg0);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxDC_StartPage(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
-static void wxDC_DrawBitmap(wxDC *self,wxBitmap * bitmap,long x,long y,bool swapPalette) {
+static void wxDC_DrawBitmap(wxDC *self,wxBitmap & bitmap,long x,long y,bool swapPalette) {
wxMemoryDC* memDC = new wxMemoryDC;
memDC->SelectObject(bitmap);
if (swapPalette)
- self->SetPalette(bitmap->GetPalette());
- self->Blit(x, y, bitmap->GetWidth(), bitmap->GetHeight(), memDC,
+ self->SetPalette(*bitmap.GetPalette());
+ self->Blit(x, y, bitmap.GetWidth(), bitmap.GetHeight(), memDC,
0, 0, self->GetLogicalFunction());
memDC->SelectObject(wxNullBitmap);
delete memDC;
}
}
_arg4 = (bool ) tempbool4;
- wxDC_DrawBitmap(_arg0,_arg1,_arg2,_arg3,_arg4);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxDC_DrawBitmap(_arg0,*_arg1,_arg2,_arg3,_arg4);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
self = self;
if(!PyArg_ParseTuple(args,":new_wxMemoryDC"))
return NULL;
- _result = (wxMemoryDC *)new_wxMemoryDC();
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxMemoryDC_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxMemoryDC *)new_wxMemoryDC();
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxMemoryDC_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- wxMemoryDC_SelectObject(_arg0,*_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxMemoryDC_SelectObject(_arg0,*_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
self = self;
if(!PyArg_ParseTuple(args,":new_wxScreenDC"))
return NULL;
- _result = (wxScreenDC *)new_wxScreenDC();
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxScreenDC_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxScreenDC *)new_wxScreenDC();
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxScreenDC_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- _result = (bool )wxScreenDC_StartDrawingOnTop(_arg0,_arg1);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxScreenDC_StartDrawingOnTop(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (bool )wxScreenDC_StartDrawingOnTopRect(_arg0,_arg1);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxScreenDC_StartDrawingOnTopRect(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (bool )wxScreenDC_EndDrawingOnTop(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxScreenDC_EndDrawingOnTop(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (wxClientDC *)new_wxClientDC(_arg0);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxClientDC_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxClientDC *)new_wxClientDC(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxClientDC_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- _result = (wxPaintDC *)new_wxPaintDC(_arg0);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxPaintDC_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxPaintDC *)new_wxPaintDC(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxPaintDC_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
+ return _resultobj;
+}
+
+static void *SwigwxWindowDCTowxDC(void *ptr) {
+ wxWindowDC *src;
+ wxDC *dest;
+ src = (wxWindowDC *) ptr;
+ dest = (wxDC *) src;
+ return (void *) dest;
+}
+
+#define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
+static PyObject *_wrap_new_wxWindowDC(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ wxWindowDC * _result;
+ wxWindow * _arg0;
+ char * _argc0 = 0;
+ char _ptemp[128];
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"s:new_wxWindowDC",&_argc0))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxWindowDC *)new_wxWindowDC(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindowDC_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
- _arg0 = new wxString(PyString_AsString(_obj0));
+ _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
}
{
if (!PyString_Check(_obj1)) {
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
- _arg1 = new wxString(PyString_AsString(_obj1));
+ _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
}
{
if (!PyString_Check(_obj2)) {
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
- _arg2 = new wxString(PyString_AsString(_obj2));
+ _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
}
_arg3 = (bool ) tempbool3;
- _result = (wxPrinterDC *)new_wxPrinterDC(*_arg0,*_arg1,*_arg2,_arg3,_arg4);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrinterDC_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxPrinterDC *)new_wxPrinterDC(*_arg0,*_arg1,*_arg2,_arg3,_arg4);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrinterDC_p");
_resultobj = Py_BuildValue("s",_ptemp);
{
if (_obj0)
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
- _arg0 = new wxString(PyString_AsString(_obj0));
+ _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
}
- _result = (wxMetaFileDC *)new_wxMetaFileDC(*_arg0);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxMetaFileDC_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxMetaFileDC *)new_wxMetaFileDC(*_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxMetaFileDC_p");
_resultobj = Py_BuildValue("s",_ptemp);
{
if (_obj0)
return NULL;
}
}
- _result = (wxMetaFile *)wxMetaFileDC_Close(_arg0);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxMetaFile_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxMetaFile *)wxMetaFileDC_Close(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxMetaFile_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
-static PyMethodDef gdicMethods[] = {
- { "wxMetaFileDC_Close", _wrap_wxMetaFileDC_Close, 1 },
- { "new_wxMetaFileDC", _wrap_new_wxMetaFileDC, 1 },
- { "new_wxPrinterDC", _wrap_new_wxPrinterDC, 1 },
- { "new_wxPaintDC", _wrap_new_wxPaintDC, 1 },
- { "new_wxClientDC", _wrap_new_wxClientDC, 1 },
- { "wxScreenDC_EndDrawingOnTop", _wrap_wxScreenDC_EndDrawingOnTop, 1 },
- { "wxScreenDC_StartDrawingOnTopRect", _wrap_wxScreenDC_StartDrawingOnTopRect, 1 },
- { "wxScreenDC_StartDrawingOnTop", _wrap_wxScreenDC_StartDrawingOnTop, 1 },
- { "new_wxScreenDC", _wrap_new_wxScreenDC, 1 },
- { "wxMemoryDC_SelectObject", _wrap_wxMemoryDC_SelectObject, 1 },
- { "new_wxMemoryDC", _wrap_new_wxMemoryDC, 1 },
- { "wxDC_DrawBitmap", _wrap_wxDC_DrawBitmap, 1 },
- { "wxDC_StartPage", _wrap_wxDC_StartPage, 1 },
- { "wxDC_StartDoc", _wrap_wxDC_StartDoc, 1 },
- { "wxDC_SetUserScale", _wrap_wxDC_SetUserScale, 1 },
- { "wxDC_SetTextForeground", _wrap_wxDC_SetTextForeground, 1 },
- { "wxDC_SetTextBackground", _wrap_wxDC_SetTextBackground, 1 },
- { "wxDC_SetPen", _wrap_wxDC_SetPen, 1 },
- { "wxDC_SetOptimization", _wrap_wxDC_SetOptimization, 1 },
- { "wxDC_SetMapMode", _wrap_wxDC_SetMapMode, 1 },
- { "wxDC_SetLogicalFunction", _wrap_wxDC_SetLogicalFunction, 1 },
- { "wxDC_SetFont", _wrap_wxDC_SetFont, 1 },
- { "wxDC_SetBrush", _wrap_wxDC_SetBrush, 1 },
- { "wxDC_SetPalette", _wrap_wxDC_SetPalette, 1 },
- { "wxDC_SetClippingRegion", _wrap_wxDC_SetClippingRegion, 1 },
- { "wxDC_SetBackgroundMode", _wrap_wxDC_SetBackgroundMode, 1 },
- { "wxDC_SetBackground", _wrap_wxDC_SetBackground, 1 },
- { "wxDC_SetDeviceOrigin", _wrap_wxDC_SetDeviceOrigin, 1 },
- { "wxDC_Ok", _wrap_wxDC_Ok, 1 },
- { "wxDC_MinY", _wrap_wxDC_MinY, 1 },
- { "wxDC_MinX", _wrap_wxDC_MinX, 1 },
- { "wxDC_MaxY", _wrap_wxDC_MaxY, 1 },
- { "wxDC_MaxX", _wrap_wxDC_MaxX, 1 },
- { "wxDC_LogicalToDeviceYRel", _wrap_wxDC_LogicalToDeviceYRel, 1 },
- { "wxDC_LogicalToDeviceY", _wrap_wxDC_LogicalToDeviceY, 1 },
- { "wxDC_LogicalToDeviceXRel", _wrap_wxDC_LogicalToDeviceXRel, 1 },
- { "wxDC_LogicalToDeviceX", _wrap_wxDC_LogicalToDeviceX, 1 },
- { "wxDC_GetTextForeground", _wrap_wxDC_GetTextForeground, 1 },
- { "wxDC_GetTextExtent", _wrap_wxDC_GetTextExtent, 1 },
- { "wxDC_GetTextBackground", _wrap_wxDC_GetTextBackground, 1 },
- { "wxDC_GetSize", _wrap_wxDC_GetSize, 1 },
- { "wxDC_GetPixel", _wrap_wxDC_GetPixel, 1 },
- { "wxDC_GetPen", _wrap_wxDC_GetPen, 1 },
- { "wxDC_GetOptimization", _wrap_wxDC_GetOptimization, 1 },
- { "wxDC_GetMapMode", _wrap_wxDC_GetMapMode, 1 },
- { "wxDC_GetLogicalFunction", _wrap_wxDC_GetLogicalFunction, 1 },
- { "wxDC_GetFont", _wrap_wxDC_GetFont, 1 },
- { "wxDC_GetClippingBox", _wrap_wxDC_GetClippingBox, 1 },
- { "wxDC_GetCharWidth", _wrap_wxDC_GetCharWidth, 1 },
- { "wxDC_GetCharHeight", _wrap_wxDC_GetCharHeight, 1 },
- { "wxDC_GetBrush", _wrap_wxDC_GetBrush, 1 },
- { "wxDC_GetBackground", _wrap_wxDC_GetBackground, 1 },
- { "wxDC_EndPage", _wrap_wxDC_EndPage, 1 },
- { "wxDC_EndDrawing", _wrap_wxDC_EndDrawing, 1 },
- { "wxDC_EndDoc", _wrap_wxDC_EndDoc, 1 },
- { "wxDC_DrawText", _wrap_wxDC_DrawText, 1 },
- { "wxDC_DrawSpline", _wrap_wxDC_DrawSpline, 1 },
- { "wxDC_DrawRoundedRectangle", _wrap_wxDC_DrawRoundedRectangle, 1 },
- { "wxDC_DrawRectangle", _wrap_wxDC_DrawRectangle, 1 },
- { "wxDC_DrawPoint", _wrap_wxDC_DrawPoint, 1 },
- { "wxDC_DrawPolygon", _wrap_wxDC_DrawPolygon, 1 },
- { "wxDC_DrawLines", _wrap_wxDC_DrawLines, 1 },
- { "wxDC_DrawLine", _wrap_wxDC_DrawLine, 1 },
+#define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
+static PyObject *_wrap_new_wxPalette(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ wxPalette * _result;
+ int _arg0;
+ byte * _arg1;
+ byte * _arg2;
+ byte * _arg3;
+ PyObject * _obj1 = 0;
+ PyObject * _obj2 = 0;
+ PyObject * _obj3 = 0;
+ char _ptemp[128];
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"OOO:new_wxPalette",&_obj1,&_obj2,&_obj3))
+ return NULL;
+{
+ _arg1 = byte_LIST_helper(_obj1);
+ if (_arg1 == NULL) {
+ return NULL;
+ }
+}
+{
+ _arg2 = byte_LIST_helper(_obj2);
+ if (_arg2 == NULL) {
+ return NULL;
+ }
+}
+ if (_obj3)
+{
+ _arg3 = byte_LIST_helper(_obj3);
+ if (_arg3 == NULL) {
+ return NULL;
+ }
+}
+{
+ if (_obj1) {
+ _arg0 = PyList_Size(_obj1);
+ }
+ else {
+ _arg0 = 0;
+ }
+}
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxPalette *)new_wxPalette(_arg0,_arg1,_arg2,_arg3);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxPalette_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
+{
+ delete [] _arg1;
+}
+{
+ delete [] _arg2;
+}
+{
+ delete [] _arg3;
+}
+ return _resultobj;
+}
+
+#define delete_wxPalette(_swigobj) (delete _swigobj)
+static PyObject *_wrap_delete_wxPalette(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ wxPalette * _arg0;
+ char * _argc0 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"s:delete_wxPalette",&_argc0))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPalette_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ delete_wxPalette(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
+static PyObject *_wrap_wxPalette_GetPixel(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ int _result;
+ wxPalette * _arg0;
+ byte _arg1;
+ byte _arg2;
+ byte _arg3;
+ char * _argc0 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"sbbb:wxPalette_GetPixel",&_argc0,&_arg1,&_arg2,&_arg3))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPalette_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxPalette_GetPixel(_arg0,_arg1,_arg2,_arg3);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
+static PyObject *_wrap_wxPalette_GetRGB(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ bool _result;
+ wxPalette * _arg0;
+ int _arg1;
+ byte * _arg2;
+ byte * _arg3;
+ byte * _arg4;
+ char * _argc0 = 0;
+ char * _argc2 = 0;
+ char * _argc3 = 0;
+ char * _argc4 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"sisss:wxPalette_GetRGB",&_argc0,&_arg1,&_argc2,&_argc3,&_argc4))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPalette_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
+ return NULL;
+ }
+ }
+ if (_argc2) {
+ if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_byte_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPalette_GetRGB. Expected _byte_p.");
+ return NULL;
+ }
+ }
+ if (_argc3) {
+ if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_byte_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxPalette_GetRGB. Expected _byte_p.");
+ return NULL;
+ }
+ }
+ if (_argc4) {
+ if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_byte_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxPalette_GetRGB. Expected _byte_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxPalette_GetRGB(_arg0,_arg1,_arg2,_arg3,_arg4);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxPalette_Ok(_swigobj) (_swigobj->Ok())
+static PyObject *_wrap_wxPalette_Ok(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ bool _result;
+ wxPalette * _arg0;
+ char * _argc0 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"s:wxPalette_Ok",&_argc0))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPalette_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxPalette_Ok(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
+static PyObject *_wrap_new_wxImageList(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ wxImageList * _result;
+ int _arg0;
+ int _arg1;
+ bool _arg2 = (1);
+ int _arg3 = 1;
+ int tempbool2;
+ char _ptemp[128];
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"ii|ii:new_wxImageList",&_arg0,&_arg1,&tempbool2,&_arg3))
+ return NULL;
+ _arg2 = (bool ) tempbool2;
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxImageList *)new_wxImageList(_arg0,_arg1,_arg2,_arg3);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
+ return _resultobj;
+}
+
+#define delete_wxImageList(_swigobj) (delete _swigobj)
+static PyObject *_wrap_delete_wxImageList(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ wxImageList * _arg0;
+ char * _argc0 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"s:delete_wxImageList",&_argc0))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxImageList_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ delete_wxImageList(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxImageList_Add(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ int _result;
+ wxImageList * _arg0;
+ wxBitmap * _arg1;
+ wxBitmap * _arg2 = &wxNullBitmap;
+ char * _argc0 = 0;
+ char * _argc1 = 0;
+ char * _argc2 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"ss|s:wxImageList_Add",&_argc0,&_argc1,&_argc2))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxImageList_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
+ return NULL;
+ }
+ }
+ if (_argc1) {
+ if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxBitmap_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
+ return NULL;
+ }
+ }
+ if (_argc2) {
+ if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxBitmap_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxImageList_Add(_arg0,*_arg1,*_arg2);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxImageList_AddWithColourMask(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ int _result;
+ wxImageList * _arg0;
+ wxBitmap * _arg1;
+ wxColour * _arg2;
+ char * _argc0 = 0;
+ char * _argc1 = 0;
+ char * _argc2 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"sss:wxImageList_AddWithColourMask",&_argc0,&_argc1,&_argc2))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxImageList_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
+ return NULL;
+ }
+ }
+ if (_argc1) {
+ if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxBitmap_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
+ return NULL;
+ }
+ }
+ if (_argc2) {
+ if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxColour_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxImageList_AddWithColourMask. Expected _wxColour_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxImageList_AddWithColourMask(_arg0,*_arg1,*_arg2);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
+static PyObject *_wrap_wxImageList_AddIcon(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ int _result;
+ wxImageList * _arg0;
+ wxIcon * _arg1;
+ char * _argc0 = 0;
+ char * _argc1 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"ss:wxImageList_AddIcon",&_argc0,&_argc1))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxImageList_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
+ return NULL;
+ }
+ }
+ if (_argc1) {
+ if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxIcon_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxImageList_AddIcon(_arg0,*_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
+static PyObject *_wrap_wxImageList_Replace(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ bool _result;
+ wxImageList * _arg0;
+ int _arg1;
+ wxBitmap * _arg2;
+ wxBitmap * _arg3 = &wxNullBitmap;
+ char * _argc0 = 0;
+ char * _argc2 = 0;
+ char * _argc3 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"sis|s:wxImageList_Replace",&_argc0,&_arg1,&_argc2,&_argc3))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxImageList_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
+ return NULL;
+ }
+ }
+ if (_argc2) {
+ if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxBitmap_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
+ return NULL;
+ }
+ }
+ if (_argc3) {
+ if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxBitmap_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxImageList_Replace. Expected _wxBitmap_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxImageList_Replace(_arg0,_arg1,*_arg2,*_arg3);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxImageList_ReplaceIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->Replace(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxImageList_ReplaceIcon(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ bool _result;
+ wxImageList * _arg0;
+ int _arg1;
+ wxIcon * _arg2;
+ char * _argc0 = 0;
+ char * _argc2 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"sis:wxImageList_ReplaceIcon",&_argc0,&_arg1,&_argc2))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxImageList_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_ReplaceIcon. Expected _wxImageList_p.");
+ return NULL;
+ }
+ }
+ if (_argc2) {
+ if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxIcon_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxImageList_ReplaceIcon. Expected _wxIcon_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxImageList_ReplaceIcon(_arg0,_arg1,*_arg2);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
+static PyObject *_wrap_wxImageList_Draw(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ bool _result;
+ wxImageList * _arg0;
+ int _arg1;
+ wxDC * _arg2;
+ int _arg3;
+ int _arg4;
+ int _arg5 = (wxIMAGELIST_DRAW_NORMAL);
+ bool _arg6 = (0);
+ char * _argc0 = 0;
+ char * _argc2 = 0;
+ int tempbool6;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"sisii|ii:wxImageList_Draw",&_argc0,&_arg1,&_argc2,&_arg3,&_arg4,&_arg5,&tempbool6))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxImageList_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
+ return NULL;
+ }
+ }
+ if (_argc2) {
+ if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxDC_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
+ return NULL;
+ }
+ }
+ _arg6 = (bool ) tempbool6;
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxImageList_Draw(_arg0,_arg1,*_arg2,_arg3,_arg4,_arg5,_arg6);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
+static PyObject *_wrap_wxImageList_GetImageCount(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ int _result;
+ wxImageList * _arg0;
+ char * _argc0 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"s:wxImageList_GetImageCount",&_argc0))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxImageList_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxImageList_GetImageCount(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
+static PyObject *_wrap_wxImageList_Remove(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ bool _result;
+ wxImageList * _arg0;
+ int _arg1;
+ char * _argc0 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"si:wxImageList_Remove",&_argc0,&_arg1))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxImageList_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxImageList_Remove(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
+static PyObject *_wrap_wxImageList_RemoveAll(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ bool _result;
+ wxImageList * _arg0;
+ char * _argc0 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"s:wxImageList_RemoveAll",&_argc0))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxImageList_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxImageList_RemoveAll(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+static PyMethodDef gdicMethods[] = {
+ { "wxImageList_RemoveAll", _wrap_wxImageList_RemoveAll, 1 },
+ { "wxImageList_Remove", _wrap_wxImageList_Remove, 1 },
+ { "wxImageList_GetImageCount", _wrap_wxImageList_GetImageCount, 1 },
+ { "wxImageList_Draw", _wrap_wxImageList_Draw, 1 },
+ { "wxImageList_ReplaceIcon", _wrap_wxImageList_ReplaceIcon, 1 },
+ { "wxImageList_Replace", _wrap_wxImageList_Replace, 1 },
+ { "wxImageList_AddIcon", _wrap_wxImageList_AddIcon, 1 },
+ { "wxImageList_AddWithColourMask", _wrap_wxImageList_AddWithColourMask, 1 },
+ { "wxImageList_Add", _wrap_wxImageList_Add, 1 },
+ { "delete_wxImageList", _wrap_delete_wxImageList, 1 },
+ { "new_wxImageList", _wrap_new_wxImageList, 1 },
+ { "wxPalette_Ok", _wrap_wxPalette_Ok, 1 },
+ { "wxPalette_GetRGB", _wrap_wxPalette_GetRGB, 1 },
+ { "wxPalette_GetPixel", _wrap_wxPalette_GetPixel, 1 },
+ { "delete_wxPalette", _wrap_delete_wxPalette, 1 },
+ { "new_wxPalette", _wrap_new_wxPalette, 1 },
+ { "wxMetaFileDC_Close", _wrap_wxMetaFileDC_Close, 1 },
+ { "new_wxMetaFileDC", _wrap_new_wxMetaFileDC, 1 },
+ { "new_wxPrinterDC", _wrap_new_wxPrinterDC, 1 },
+ { "new_wxWindowDC", _wrap_new_wxWindowDC, 1 },
+ { "new_wxPaintDC", _wrap_new_wxPaintDC, 1 },
+ { "new_wxClientDC", _wrap_new_wxClientDC, 1 },
+ { "wxScreenDC_EndDrawingOnTop", _wrap_wxScreenDC_EndDrawingOnTop, 1 },
+ { "wxScreenDC_StartDrawingOnTopRect", _wrap_wxScreenDC_StartDrawingOnTopRect, 1 },
+ { "wxScreenDC_StartDrawingOnTop", _wrap_wxScreenDC_StartDrawingOnTop, 1 },
+ { "new_wxScreenDC", _wrap_new_wxScreenDC, 1 },
+ { "wxMemoryDC_SelectObject", _wrap_wxMemoryDC_SelectObject, 1 },
+ { "new_wxMemoryDC", _wrap_new_wxMemoryDC, 1 },
+ { "wxDC_DrawBitmap", _wrap_wxDC_DrawBitmap, 1 },
+ { "wxDC_StartPage", _wrap_wxDC_StartPage, 1 },
+ { "wxDC_StartDoc", _wrap_wxDC_StartDoc, 1 },
+ { "wxDC_SetUserScale", _wrap_wxDC_SetUserScale, 1 },
+ { "wxDC_SetTextForeground", _wrap_wxDC_SetTextForeground, 1 },
+ { "wxDC_SetTextBackground", _wrap_wxDC_SetTextBackground, 1 },
+ { "wxDC_SetPen", _wrap_wxDC_SetPen, 1 },
+ { "wxDC_SetOptimization", _wrap_wxDC_SetOptimization, 1 },
+ { "wxDC_SetMapMode", _wrap_wxDC_SetMapMode, 1 },
+ { "wxDC_SetLogicalFunction", _wrap_wxDC_SetLogicalFunction, 1 },
+ { "wxDC_SetFont", _wrap_wxDC_SetFont, 1 },
+ { "wxDC_SetBrush", _wrap_wxDC_SetBrush, 1 },
+ { "wxDC_SetPalette", _wrap_wxDC_SetPalette, 1 },
+ { "wxDC_SetClippingRegion", _wrap_wxDC_SetClippingRegion, 1 },
+ { "wxDC_SetBackgroundMode", _wrap_wxDC_SetBackgroundMode, 1 },
+ { "wxDC_SetBackground", _wrap_wxDC_SetBackground, 1 },
+ { "wxDC_SetDeviceOrigin", _wrap_wxDC_SetDeviceOrigin, 1 },
+ { "wxDC_Ok", _wrap_wxDC_Ok, 1 },
+ { "wxDC_MinY", _wrap_wxDC_MinY, 1 },
+ { "wxDC_MinX", _wrap_wxDC_MinX, 1 },
+ { "wxDC_MaxY", _wrap_wxDC_MaxY, 1 },
+ { "wxDC_MaxX", _wrap_wxDC_MaxX, 1 },
+ { "wxDC_LogicalToDeviceYRel", _wrap_wxDC_LogicalToDeviceYRel, 1 },
+ { "wxDC_LogicalToDeviceY", _wrap_wxDC_LogicalToDeviceY, 1 },
+ { "wxDC_LogicalToDeviceXRel", _wrap_wxDC_LogicalToDeviceXRel, 1 },
+ { "wxDC_LogicalToDeviceX", _wrap_wxDC_LogicalToDeviceX, 1 },
+ { "wxDC_GetTextForeground", _wrap_wxDC_GetTextForeground, 1 },
+ { "wxDC_GetFullTextExtent", _wrap_wxDC_GetFullTextExtent, 1 },
+ { "wxDC_GetTextExtent", _wrap_wxDC_GetTextExtent, 1 },
+ { "wxDC_GetTextBackground", _wrap_wxDC_GetTextBackground, 1 },
+ { "wxDC_GetSize", _wrap_wxDC_GetSize, 1 },
+ { "wxDC_GetSizeTuple", _wrap_wxDC_GetSizeTuple, 1 },
+ { "wxDC_GetPixel", _wrap_wxDC_GetPixel, 1 },
+ { "wxDC_GetPen", _wrap_wxDC_GetPen, 1 },
+ { "wxDC_GetOptimization", _wrap_wxDC_GetOptimization, 1 },
+ { "wxDC_GetMapMode", _wrap_wxDC_GetMapMode, 1 },
+ { "wxDC_GetLogicalFunction", _wrap_wxDC_GetLogicalFunction, 1 },
+ { "wxDC_GetFont", _wrap_wxDC_GetFont, 1 },
+ { "wxDC_GetClippingBox", _wrap_wxDC_GetClippingBox, 1 },
+ { "wxDC_GetCharWidth", _wrap_wxDC_GetCharWidth, 1 },
+ { "wxDC_GetCharHeight", _wrap_wxDC_GetCharHeight, 1 },
+ { "wxDC_GetBrush", _wrap_wxDC_GetBrush, 1 },
+ { "wxDC_GetBackground", _wrap_wxDC_GetBackground, 1 },
+ { "wxDC_FloodFill", _wrap_wxDC_FloodFill, 1 },
+ { "wxDC_EndPage", _wrap_wxDC_EndPage, 1 },
+ { "wxDC_EndDrawing", _wrap_wxDC_EndDrawing, 1 },
+ { "wxDC_EndDoc", _wrap_wxDC_EndDoc, 1 },
+ { "wxDC_DrawText", _wrap_wxDC_DrawText, 1 },
+ { "wxDC_DrawSpline", _wrap_wxDC_DrawSpline, 1 },
+ { "wxDC_DrawRoundedRectangle", _wrap_wxDC_DrawRoundedRectangle, 1 },
+ { "wxDC_DrawRectangle", _wrap_wxDC_DrawRectangle, 1 },
+ { "wxDC_DrawPoint", _wrap_wxDC_DrawPoint, 1 },
+ { "wxDC_DrawPolygon", _wrap_wxDC_DrawPolygon, 1 },
+ { "wxDC_DrawLines", _wrap_wxDC_DrawLines, 1 },
+ { "wxDC_DrawLine", _wrap_wxDC_DrawLine, 1 },
{ "wxDC_DrawIcon", _wrap_wxDC_DrawIcon, 1 },
{ "wxDC_DrawEllipticArc", _wrap_wxDC_DrawEllipticArc, 1 },
{ "wxDC_DrawEllipse", _wrap_wxDC_DrawEllipse, 1 },
+ { "wxDC_DrawCircle", _wrap_wxDC_DrawCircle, 1 },
{ "wxDC_DrawArc", _wrap_wxDC_DrawArc, 1 },
{ "wxDC_DeviceToLogicalYRel", _wrap_wxDC_DeviceToLogicalYRel, 1 },
{ "wxDC_DeviceToLogicalY", _wrap_wxDC_DeviceToLogicalY, 1 },
{ "wxBrush_GetStipple", _wrap_wxBrush_GetStipple, 1 },
{ "wxBrush_GetColour", _wrap_wxBrush_GetColour, 1 },
{ "new_wxBrush", _wrap_new_wxBrush, 1 },
+ { "wxPen_SetStipple", _wrap_wxPen_SetStipple, 1 },
+ { "wxPen_SetDashes", _wrap_wxPen_SetDashes, 1 },
+ { "wxPen_GetStipple", _wrap_wxPen_GetStipple, 1 },
+ { "wxPen_GetDashes", _wrap_wxPen_GetDashes, 1 },
{ "wxPen_SetWidth", _wrap_wxPen_SetWidth, 1 },
{ "wxPen_SetStyle", _wrap_wxPen_SetStyle, 1 },
{ "wxPen_SetJoin", _wrap_wxPen_SetJoin, 1 },
- { "wxPen_SetStipple", _wrap_wxPen_SetStipple, 1 },
- { "wxPen_SetDashes", _wrap_wxPen_SetDashes, 1 },
{ "wxPen_SetColour", _wrap_wxPen_SetColour, 1 },
{ "wxPen_SetCap", _wrap_wxPen_SetCap, 1 },
{ "wxPen_Ok", _wrap_wxPen_Ok, 1 },
{ "wxPen_GetWidth", _wrap_wxPen_GetWidth, 1 },
{ "wxPen_GetStyle", _wrap_wxPen_GetStyle, 1 },
{ "wxPen_GetJoin", _wrap_wxPen_GetJoin, 1 },
- { "wxPen_GetStipple", _wrap_wxPen_GetStipple, 1 },
- { "wxPen_GetDashes", _wrap_wxPen_GetDashes, 1 },
{ "wxPen_GetColour", _wrap_wxPen_GetColour, 1 },
{ "wxPen_GetCap", _wrap_wxPen_GetCap, 1 },
{ "new_wxPen", _wrap_new_wxPen, 1 },
SWIG_addvarlink(SWIG_globals,"wxNullPalette",_wrap_wxNullPalette_get, _wrap_wxNullPalette_set);
SWIG_addvarlink(SWIG_globals,"wxNullFont",_wrap_wxNullFont_get, _wrap_wxNullFont_set);
SWIG_addvarlink(SWIG_globals,"wxNullColour",_wrap_wxNullColour_get, _wrap_wxNullColour_set);
+ PyDict_SetItemString(d,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL));
+ PyDict_SetItemString(d,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT));
+ PyDict_SetItemString(d,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED));
+ PyDict_SetItemString(d,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED));
+ PyDict_SetItemString(d,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL));
+ PyDict_SetItemString(d,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL));
+ PyDict_SetItemString(d,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE));
/*
* These are the pointer type-equivalency mappings.
* (Used by the SWIG pointer type-checker).
*/
SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
SWIG_RegisterMapping("_signed_long","_long",0);
+ SWIG_RegisterMapping("_wxPrintQuality","_int",0);
+ SWIG_RegisterMapping("_wxPrintQuality","_signed_int",0);
+ SWIG_RegisterMapping("_wxPrintQuality","_unsigned_int",0);
+ SWIG_RegisterMapping("_wxPrintQuality","_wxWindowID",0);
+ SWIG_RegisterMapping("_wxPrintQuality","_uint",0);
+ SWIG_RegisterMapping("_wxPrintQuality","_EBool",0);
+ SWIG_RegisterMapping("_wxPrintQuality","_size_t",0);
+ SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
+ SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
SWIG_RegisterMapping("_byte","_unsigned_char",0);
SWIG_RegisterMapping("_long","_wxDash",0);
SWIG_RegisterMapping("_long","_unsigned_long",0);
SWIG_RegisterMapping("_long","_signed_long",0);
+ SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
SWIG_RegisterMapping("_wxDC","_class_wxMetaFileDC",SwigwxMetaFileDCTowxDC);
SWIG_RegisterMapping("_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC);
SWIG_RegisterMapping("_wxDC","_class_wxPrinterDC",SwigwxPrinterDCTowxDC);
SWIG_RegisterMapping("_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC);
+ SWIG_RegisterMapping("_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC);
+ SWIG_RegisterMapping("_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC);
SWIG_RegisterMapping("_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC);
SWIG_RegisterMapping("_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC);
SWIG_RegisterMapping("_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC);
SWIG_RegisterMapping("_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC);
SWIG_RegisterMapping("_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC);
SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
+ SWIG_RegisterMapping("_size_t","_wxPrintQuality",0);
+ SWIG_RegisterMapping("_size_t","_unsigned_int",0);
+ SWIG_RegisterMapping("_size_t","_int",0);
+ SWIG_RegisterMapping("_size_t","_wxWindowID",0);
+ SWIG_RegisterMapping("_size_t","_uint",0);
SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
SWIG_RegisterMapping("_wxPrinterDC","_class_wxPrinterDC",0);
+ SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
+ SWIG_RegisterMapping("_uint","_wxPrintQuality",0);
+ SWIG_RegisterMapping("_uint","_size_t",0);
SWIG_RegisterMapping("_uint","_unsigned_int",0);
SWIG_RegisterMapping("_uint","_int",0);
SWIG_RegisterMapping("_uint","_wxWindowID",0);
SWIG_RegisterMapping("_wxBitmap","_wxIcon",SwigwxIconTowxBitmap);
SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
+ SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
+ SWIG_RegisterMapping("_EBool","_wxPrintQuality",0);
SWIG_RegisterMapping("_EBool","_signed_int",0);
SWIG_RegisterMapping("_EBool","_int",0);
SWIG_RegisterMapping("_EBool","_wxWindowID",0);
+ SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
SWIG_RegisterMapping("_unsigned_long","_long",0);
SWIG_RegisterMapping("_class_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC);
SWIG_RegisterMapping("_class_wxDC","_class_wxPrinterDC",SwigwxPrinterDCTowxDC);
SWIG_RegisterMapping("_class_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC);
+ SWIG_RegisterMapping("_class_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC);
+ SWIG_RegisterMapping("_class_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC);
SWIG_RegisterMapping("_class_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC);
SWIG_RegisterMapping("_class_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC);
SWIG_RegisterMapping("_class_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC);
SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
+ SWIG_RegisterMapping("_signed_int","_wxPrintQuality",0);
SWIG_RegisterMapping("_signed_int","_EBool",0);
SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
SWIG_RegisterMapping("_signed_int","_int",0);
SWIG_RegisterMapping("_signed_short","_short",0);
SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
+ SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
SWIG_RegisterMapping("_unsigned_char","_byte",0);
SWIG_RegisterMapping("_class_wxMetaFileDC","_wxMetaFileDC",0);
+ SWIG_RegisterMapping("_unsigned_int","_wxPrintQuality",0);
+ SWIG_RegisterMapping("_unsigned_int","_size_t",0);
SWIG_RegisterMapping("_unsigned_int","_uint",0);
SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
SWIG_RegisterMapping("_unsigned_int","_int",0);
SWIG_RegisterMapping("_short","_WXTYPE",0);
SWIG_RegisterMapping("_short","_unsigned_short",0);
SWIG_RegisterMapping("_short","_signed_short",0);
+ SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
+ SWIG_RegisterMapping("_wxWindowID","_wxPrintQuality",0);
+ SWIG_RegisterMapping("_wxWindowID","_size_t",0);
SWIG_RegisterMapping("_wxWindowID","_EBool",0);
SWIG_RegisterMapping("_wxWindowID","_uint",0);
SWIG_RegisterMapping("_wxWindowID","_int",0);
SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
+ SWIG_RegisterMapping("_int","_wxPrintQuality",0);
+ SWIG_RegisterMapping("_int","_size_t",0);
SWIG_RegisterMapping("_int","_EBool",0);
SWIG_RegisterMapping("_int","_uint",0);
SWIG_RegisterMapping("_int","_wxWindowID",0);
SWIG_RegisterMapping("_int","_unsigned_int",0);
SWIG_RegisterMapping("_int","_signed_int",0);
SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
+ SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
SWIG_RegisterMapping("_class_wxPrinterDC","_wxPrinterDC",0);
SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
+ SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
+ SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
SWIG_RegisterMapping("_class_wxBitmap","_class_wxCursor",SwigwxCursorTowxBitmap);
SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
SWIG_RegisterMapping("_wxDash","_long",0);
+ SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
}