int count = self->GetDashes(&dashes);
bool blocked = wxPyBeginBlockThreads();
PyObject* retval = PyList_New(0);
int count = self->GetDashes(&dashes);
bool blocked = wxPyBeginBlockThreads();
PyObject* retval = PyList_New(0);
- for (int x=0; x<count; x++)
- PyList_Append(retval, PyInt_FromLong(dashes[x]));
+ for (int x=0; x<count; x++) {
+ PyObject* pyint = PyInt_FromLong(dashes[x]);
+ PyList_Append(retval, pyint);
+ Py_DECREF(pyint);
+ }
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GDIObject",kwnames)) goto fail;
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GDIObject",kwnames)) goto fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxGDIObject *)new wxGDIObject();
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxGDIObject *)new wxGDIObject();
wxPyEndAllowThreads(__tstate);
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_Colour",kwnames,&obj0,&obj1,&obj2)) goto fail;
if (obj0) {
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_Colour",kwnames,&obj0,&obj1,&obj2)) goto fail;
if (obj0) {
static PyObject *_wrap_Colour_Red(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxColour *arg1 = (wxColour *) 0 ;
static PyObject *_wrap_Colour_Red(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxColour *arg1 = (wxColour *) 0 ;
static PyObject *_wrap_Colour_Green(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxColour *arg1 = (wxColour *) 0 ;
static PyObject *_wrap_Colour_Green(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxColour *arg1 = (wxColour *) 0 ;
static PyObject *_wrap_Colour_Blue(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxColour *arg1 = (wxColour *) 0 ;
static PyObject *_wrap_Colour_Blue(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxColour *arg1 = (wxColour *) 0 ;
static PyObject *_wrap_Colour_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxColour *arg1 = (wxColour *) 0 ;
static PyObject *_wrap_Colour_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxColour *arg1 = (wxColour *) 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Colour_Set",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Colour_Set",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_unsigned_char,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
{
if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_unsigned_char,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxPalette *)new wxPalette(arg1,(unsigned char const *)arg2,(unsigned char const *)arg3,(unsigned char const *)arg4);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxPalette *)new wxPalette(arg1,(unsigned char const *)arg2,(unsigned char const *)arg3,(unsigned char const *)arg4);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxPen *)new wxPen(*arg1,arg2,arg3);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxPen *)new wxPen(*arg1,arg2,arg3);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxBrush *)new wxBrush((wxColour const &)*arg1,arg2);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxBrush *)new wxBrush((wxColour const &)*arg1,arg2);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxBitmap *)new wxBitmap((wxString const &)*arg1,(wxBitmapType )arg2);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxBitmap *)new wxBitmap((wxString const &)*arg1,(wxBitmapType )arg2);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxBitmap *)new wxBitmap(arg1,arg2,arg3);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxBitmap *)new wxBitmap(arg1,arg2,arg3);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxBitmap *)new wxBitmap((wxIcon const &)*arg1);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxBitmap *)new wxBitmap((wxIcon const &)*arg1);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxBitmap *)new wxBitmap((wxImage const &)*arg1,arg2);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxBitmap *)new wxBitmap((wxImage const &)*arg1,arg2);
wxPyEndAllowThreads(__tstate);
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BitmapFromXPMData",kwnames,&obj0)) goto fail;
arg1 = obj0;
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BitmapFromXPMData",kwnames,&obj0)) goto fail;
arg1 = obj0;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxBitmap *)new_wxBitmap(arg1);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxBitmap *)new_wxBitmap(arg1);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxBitmap *)new_wxBitmap(arg1,arg2,arg3,arg4);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxBitmap *)new_wxBitmap(arg1,arg2,arg3,arg4);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxMask *)new_wxMask((wxBitmap const &)*arg1,(wxColour const &)*arg2);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxMask *)new_wxMask((wxBitmap const &)*arg1,(wxColour const &)*arg2);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxIcon *)new wxIcon((wxString const &)*arg1,(wxBitmapType )arg2,arg3,arg4);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxIcon *)new wxIcon((wxString const &)*arg1,(wxBitmapType )arg2,arg3,arg4);
wxPyEndAllowThreads(__tstate);
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EmptyIcon",kwnames)) goto fail;
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EmptyIcon",kwnames)) goto fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxIcon *)new wxIcon();
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxIcon *)new wxIcon();
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxIcon *)new wxIcon((wxIconLocation const &)*arg1);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxIcon *)new wxIcon((wxIconLocation const &)*arg1);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxIcon *)new_wxIcon((wxBitmap const &)*arg1);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxIcon *)new_wxIcon((wxBitmap const &)*arg1);
wxPyEndAllowThreads(__tstate);
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_IconFromXPMData",kwnames,&obj0)) goto fail;
arg1 = obj0;
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_IconFromXPMData",kwnames,&obj0)) goto fail;
arg1 = obj0;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxIcon *)new_wxIcon(arg1);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxIcon *)new_wxIcon(arg1);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxCursor *)new_wxCursor((wxString const *)arg1,arg2,arg3,arg4);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxCursor *)new_wxCursor((wxString const *)arg1,arg2,arg3,arg4);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxCursor *)new wxCursor(arg1);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxCursor *)new wxCursor(arg1);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxCursor *)new wxCursor((wxImage const &)*arg1);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxCursor *)new wxCursor((wxImage const &)*arg1);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxRegion *)new wxRegion(arg1,arg2,arg3,arg4);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxRegion *)new wxRegion(arg1,arg2,arg3,arg4);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxRegion *)new wxRegion((wxBitmap const &)*arg1,(wxColour const &)*arg2,arg3);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxRegion *)new wxRegion((wxBitmap const &)*arg1,(wxColour const &)*arg2,arg3);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxRegion *)new wxRegion(arg1,arg2,arg3);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxRegion *)new wxRegion(arg1,arg2,arg3);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxRegionIterator *)new wxRegionIterator((wxRegion const &)*arg1);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxRegionIterator *)new wxRegionIterator((wxRegion const &)*arg1);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxFont *)new wxFont(arg1,arg2,arg3,arg4,arg5,(wxString const &)*arg6,(wxFontEncoding )arg7);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxFont *)new wxFont(arg1,arg2,arg3,arg4,arg5,(wxString const &)*arg6,(wxFontEncoding )arg7);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxFont *)new wxFont((wxNativeFontInfo const &)*arg1);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxFont *)new wxFont((wxNativeFontInfo const &)*arg1);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxFont *)new_wxFont((wxString const &)*arg1);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxFont *)new_wxFont((wxString const &)*arg1);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxFont *)new_wxFont(arg1,(wxFontFamily )arg2,arg3,(wxString const &)*arg4,(wxFontEncoding )arg5);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxFont *)new_wxFont(arg1,(wxFontFamily )arg2,arg3,(wxString const &)*arg4,(wxFontEncoding )arg5);
wxPyEndAllowThreads(__tstate);
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Font_GetDefaultEncoding",kwnames)) goto fail;
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Font_GetDefaultEncoding",kwnames)) goto fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (int)wxFont::GetDefaultEncoding();
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (int)wxFont::GetDefaultEncoding();
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxFont::SetDefaultEncoding((wxFontEncoding )arg1);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxFont::SetDefaultEncoding((wxFontEncoding )arg1);
wxPyEndAllowThreads(__tstate);
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontEnumerator",kwnames)) goto fail;
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontEnumerator",kwnames)) goto fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxPyFontEnumerator *)new wxPyFontEnumerator();
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxPyFontEnumerator *)new wxPyFontEnumerator();
wxPyEndAllowThreads(__tstate);
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MemoryDC",kwnames)) goto fail;
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MemoryDC",kwnames)) goto fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxMemoryDC *)new wxMemoryDC();
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxMemoryDC *)new wxMemoryDC();
wxPyEndAllowThreads(__tstate);
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
{
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxMemoryDC *)new wxMemoryDC(arg1);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxMemoryDC *)new wxMemoryDC(arg1);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxBufferedDC *)new wxBufferedDC(arg1,(wxBitmap const &)*arg2);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxBufferedDC *)new wxBufferedDC(arg1,(wxBitmap const &)*arg2);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxBufferedDC *)new wxBufferedDC(arg1,(wxSize const &)*arg2);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxBufferedDC *)new wxBufferedDC(arg1,(wxSize const &)*arg2);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxBufferedDC *)new wxBufferedDC(arg1,(wxSize const &)*arg2);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxBufferedDC *)new wxBufferedDC(arg1,(wxSize const &)*arg2);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxBufferedPaintDC *)new wxBufferedPaintDC(arg1,(wxBitmap const &)*arg2);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxBufferedPaintDC *)new wxBufferedPaintDC(arg1,(wxBitmap const &)*arg2);
wxPyEndAllowThreads(__tstate);
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ScreenDC",kwnames)) goto fail;
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ScreenDC",kwnames)) goto fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxScreenDC *)new wxScreenDC();
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxScreenDC *)new wxScreenDC();
wxPyEndAllowThreads(__tstate);
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
{
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxClientDC *)new wxClientDC(arg1);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxClientDC *)new wxClientDC(arg1);
wxPyEndAllowThreads(__tstate);
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
{
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxPaintDC *)new wxPaintDC(arg1);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxPaintDC *)new wxPaintDC(arg1);
wxPyEndAllowThreads(__tstate);
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
{
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxWindowDC *)new wxWindowDC(arg1);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxWindowDC *)new wxWindowDC(arg1);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxMirrorDC *)new wxMirrorDC(*arg1,arg2);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxMirrorDC *)new wxMirrorDC(*arg1,arg2);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxPostScriptDC *)new wxPostScriptDC((wxPrintData const &)*arg1);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxPostScriptDC *)new wxPostScriptDC((wxPrintData const &)*arg1);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxMetaFile *)new wxMetaFile((wxString const &)*arg1);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxMetaFile *)new wxMetaFile((wxString const &)*arg1);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxMetaFileDC *)new wxMetaFileDC((wxString const &)*arg1,arg2,arg3,(wxString const &)*arg4);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxMetaFileDC *)new wxMetaFileDC((wxString const &)*arg1,arg2,arg3,(wxString const &)*arg4);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxPrinterDC *)new wxPrinterDC((wxPrintData const &)*arg1);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxPrinterDC *)new wxPrinterDC((wxPrintData const &)*arg1);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxImageList *)new wxImageList(arg1,arg2,arg3,arg4);
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxImageList *)new wxImageList(arg1,arg2,arg3,arg4);
wxPyEndAllowThreads(__tstate);
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourDatabase",kwnames)) goto fail;
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourDatabase",kwnames)) goto fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxColourDatabase *)new wxColourDatabase();
wxPyEndAllowThreads(__tstate);
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxColourDatabase *)new wxColourDatabase();
wxPyEndAllowThreads(__tstate);