/*
 * Interface wrapper code.
 *
 * Generated by SIP 4.19.16
 *
 *     Copyright: (c) 2018 by Total Control Software
 *     License:   wxWindows License
 */

#include "sipAPI_aui.h"

        #include <wx/aui/dockart.h>

        #include <wx/font.h>
        #include <wx/colour.h>
        #include <wx/dc.h>
        #include <wx/window.h>
        #include <wx/gdicmn.h>
        #include <wx/aui/framemanager.h>


class sipwxAuiDockArt : public  ::wxAuiDockArt
{
public:
    sipwxAuiDockArt();
    sipwxAuiDockArt(const  ::wxAuiDockArt&);
    virtual ~sipwxAuiDockArt();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void SetMetric(int,int) SIP_OVERRIDE;
    void SetFont(int,const  ::wxFont&) SIP_OVERRIDE;
    void SetColour(int,const  ::wxColour&) SIP_OVERRIDE;
    int GetMetric(int) SIP_OVERRIDE;
     ::wxFont GetFont(int) SIP_OVERRIDE;
     ::wxColour GetColour(int) SIP_OVERRIDE;
    void DrawSash( ::wxDC&, ::wxWindow*,int,const  ::wxRect&) SIP_OVERRIDE;
    void DrawPaneButton( ::wxDC&, ::wxWindow*,int,int,const  ::wxRect&, ::wxAuiPaneInfo&) SIP_OVERRIDE;
    void DrawGripper( ::wxDC&, ::wxWindow*,const  ::wxRect&, ::wxAuiPaneInfo&) SIP_OVERRIDE;
    void DrawCaption( ::wxDC&, ::wxWindow*,const  ::wxString&,const  ::wxRect&, ::wxAuiPaneInfo&) SIP_OVERRIDE;
    void DrawBorder( ::wxDC&, ::wxWindow*,const  ::wxRect&, ::wxAuiPaneInfo&) SIP_OVERRIDE;
    void DrawBackground( ::wxDC&, ::wxWindow*,int,const  ::wxRect&) SIP_OVERRIDE;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipwxAuiDockArt(const sipwxAuiDockArt &);
    sipwxAuiDockArt &operator = (const sipwxAuiDockArt &);

    char sipPyMethods[12];
};

sipwxAuiDockArt::sipwxAuiDockArt():  ::wxAuiDockArt(), sipPySelf(SIP_NULLPTR)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipwxAuiDockArt::sipwxAuiDockArt(const  ::wxAuiDockArt& a0):  ::wxAuiDockArt(a0), sipPySelf(SIP_NULLPTR)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipwxAuiDockArt::~sipwxAuiDockArt()
{
    sipInstanceDestroyedEx(&sipPySelf);
}

void sipwxAuiDockArt::SetMetric(int id,int new_val)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_AuiDockArt,sipName_SetMetric);

    if (!sipMeth)
        return;

    extern void sipVH__aui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    sipVH__aui_15(sipGILState, 0, sipPySelf, sipMeth, id, new_val);
}

void sipwxAuiDockArt::SetFont(int id,const  ::wxFont& font)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,sipName_AuiDockArt,sipName_SetFont);

    if (!sipMeth)
        return;

    extern void sipVH__aui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,const  ::wxFont&);

    sipVH__aui_14(sipGILState, 0, sipPySelf, sipMeth, id, font);
}

void sipwxAuiDockArt::SetColour(int id,const  ::wxColour& colour)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,sipName_AuiDockArt,sipName_SetColour);

    if (!sipMeth)
        return;

    extern void sipVH__aui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,const  ::wxColour&);

    sipVH__aui_13(sipGILState, 0, sipPySelf, sipMeth, id, colour);
}

int sipwxAuiDockArt::GetMetric(int id)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,sipName_AuiDockArt,sipName_GetMetric);

    if (!sipMeth)
        return 0;

    extern int sipVH__aui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH__aui_12(sipGILState, 0, sipPySelf, sipMeth, id);
}

 ::wxFont sipwxAuiDockArt::GetFont(int id)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,sipName_AuiDockArt,sipName_GetFont);

    if (!sipMeth)
        return  ::wxFont();

    extern  ::wxFont sipVH__aui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH__aui_11(sipGILState, 0, sipPySelf, sipMeth, id);
}

 ::wxColour sipwxAuiDockArt::GetColour(int id)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,sipName_AuiDockArt,sipName_GetColour);

    if (!sipMeth)
        return  ::wxColour();

    extern  ::wxColour sipVH__aui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH__aui_10(sipGILState, 0, sipPySelf, sipMeth, id);
}

void sipwxAuiDockArt::DrawSash( ::wxDC& dc, ::wxWindow*window,int orientation,const  ::wxRect& rect)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,sipName_AuiDockArt,sipName_DrawSash);

    if (!sipMeth)
        return;

    extern void sipVH__aui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxDC&, ::wxWindow*,int,const  ::wxRect&);

    sipVH__aui_6(sipGILState, 0, sipPySelf, sipMeth, dc, window, orientation, rect);
}

void sipwxAuiDockArt::DrawPaneButton( ::wxDC& dc, ::wxWindow*window,int button,int button_state,const  ::wxRect& rect, ::wxAuiPaneInfo& pane)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,sipName_AuiDockArt,sipName_DrawPaneButton);

    if (!sipMeth)
        return;

    extern void sipVH__aui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxDC&, ::wxWindow*,int,int,const  ::wxRect&, ::wxAuiPaneInfo&);

    sipVH__aui_9(sipGILState, 0, sipPySelf, sipMeth, dc, window, button, button_state, rect, pane);
}

void sipwxAuiDockArt::DrawGripper( ::wxDC& dc, ::wxWindow*window,const  ::wxRect& rect, ::wxAuiPaneInfo& pane)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,sipName_AuiDockArt,sipName_DrawGripper);

    if (!sipMeth)
        return;

    extern void sipVH__aui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxDC&, ::wxWindow*,const  ::wxRect&, ::wxAuiPaneInfo&);

    sipVH__aui_7(sipGILState, 0, sipPySelf, sipMeth, dc, window, rect, pane);
}

void sipwxAuiDockArt::DrawCaption( ::wxDC& dc, ::wxWindow*window,const  ::wxString& text,const  ::wxRect& rect, ::wxAuiPaneInfo& pane)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,sipName_AuiDockArt,sipName_DrawCaption);

    if (!sipMeth)
        return;

    extern void sipVH__aui_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxDC&, ::wxWindow*,const  ::wxString&,const  ::wxRect&, ::wxAuiPaneInfo&);

    sipVH__aui_8(sipGILState, 0, sipPySelf, sipMeth, dc, window, text, rect, pane);
}

void sipwxAuiDockArt::DrawBorder( ::wxDC& dc, ::wxWindow*window,const  ::wxRect& rect, ::wxAuiPaneInfo& pane)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,sipName_AuiDockArt,sipName_DrawBorder);

    if (!sipMeth)
        return;

    extern void sipVH__aui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxDC&, ::wxWindow*,const  ::wxRect&, ::wxAuiPaneInfo&);

    sipVH__aui_7(sipGILState, 0, sipPySelf, sipMeth, dc, window, rect, pane);
}

void sipwxAuiDockArt::DrawBackground( ::wxDC& dc, ::wxWindow*window,int orientation,const  ::wxRect& rect)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,sipName_AuiDockArt,sipName_DrawBackground);

    if (!sipMeth)
        return;

    extern void sipVH__aui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxDC&, ::wxWindow*,int,const  ::wxRect&);

    sipVH__aui_6(sipGILState, 0, sipPySelf, sipMeth, dc, window, orientation, rect);
}


PyDoc_STRVAR(doc_wxAuiDockArt_DrawBackground, "DrawBackground(dc, window, orientation, rect)\n"
"\n"
"Draws a background.");

extern "C" {static PyObject *meth_wxAuiDockArt_DrawBackground(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_wxAuiDockArt_DrawBackground(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    PyObject *sipOrigSelf = sipSelf;

    {
         ::wxDC* dc;
         ::wxWindow* window;
        int orientation;
        const  ::wxRect* rect;
        int rectState = 0;
         ::wxAuiDockArt *sipCpp;

        static const char *sipKwdList[] = {
            sipName_dc,
            sipName_window,
            sipName_orientation,
            sipName_rect,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9J8iJ1", &sipSelf, sipType_wxAuiDockArt, &sipCpp, sipType_wxDC, &dc, sipType_wxWindow, &window, &orientation, sipType_wxRect, &rect, &rectState))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_AuiDockArt, sipName_DrawBackground);
                return SIP_NULLPTR;
            }

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipCpp->DrawBackground(*dc,window,orientation,*rect);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::wxRect *>(rect),sipType_wxRect,rectState);

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AuiDockArt, sipName_DrawBackground, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxAuiDockArt_DrawBorder, "DrawBorder(dc, window, rect, pane)\n"
"\n"
"Draws a border.");

extern "C" {static PyObject *meth_wxAuiDockArt_DrawBorder(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_wxAuiDockArt_DrawBorder(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    PyObject *sipOrigSelf = sipSelf;

    {
         ::wxDC* dc;
         ::wxWindow* window;
        const  ::wxRect* rect;
        int rectState = 0;
         ::wxAuiPaneInfo* pane;
         ::wxAuiDockArt *sipCpp;

        static const char *sipKwdList[] = {
            sipName_dc,
            sipName_window,
            sipName_rect,
            sipName_pane,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9J8J1J9", &sipSelf, sipType_wxAuiDockArt, &sipCpp, sipType_wxDC, &dc, sipType_wxWindow, &window, sipType_wxRect, &rect, &rectState, sipType_wxAuiPaneInfo, &pane))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_AuiDockArt, sipName_DrawBorder);
                return SIP_NULLPTR;
            }

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipCpp->DrawBorder(*dc,window,*rect,*pane);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::wxRect *>(rect),sipType_wxRect,rectState);

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AuiDockArt, sipName_DrawBorder, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxAuiDockArt_DrawCaption, "DrawCaption(dc, window, text, rect, pane)\n"
"\n"
"Draws a caption.");

extern "C" {static PyObject *meth_wxAuiDockArt_DrawCaption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_wxAuiDockArt_DrawCaption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    PyObject *sipOrigSelf = sipSelf;

    {
         ::wxDC* dc;
         ::wxWindow* window;
        const  ::wxString* text;
        int textState = 0;
        const  ::wxRect* rect;
        int rectState = 0;
         ::wxAuiPaneInfo* pane;
         ::wxAuiDockArt *sipCpp;

        static const char *sipKwdList[] = {
            sipName_dc,
            sipName_window,
            sipName_text,
            sipName_rect,
            sipName_pane,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9J8J1J1J9", &sipSelf, sipType_wxAuiDockArt, &sipCpp, sipType_wxDC, &dc, sipType_wxWindow, &window, sipType_wxString,&text, &textState, sipType_wxRect, &rect, &rectState, sipType_wxAuiPaneInfo, &pane))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_AuiDockArt, sipName_DrawCaption);
                return SIP_NULLPTR;
            }

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipCpp->DrawCaption(*dc,window,*text,*rect,*pane);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::wxString *>(text),sipType_wxString,textState);
            sipReleaseType(const_cast< ::wxRect *>(rect),sipType_wxRect,rectState);

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AuiDockArt, sipName_DrawCaption, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxAuiDockArt_DrawGripper, "DrawGripper(dc, window, rect, pane)\n"
"\n"
"Draws a gripper.");

extern "C" {static PyObject *meth_wxAuiDockArt_DrawGripper(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_wxAuiDockArt_DrawGripper(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    PyObject *sipOrigSelf = sipSelf;

    {
         ::wxDC* dc;
         ::wxWindow* window;
        const  ::wxRect* rect;
        int rectState = 0;
         ::wxAuiPaneInfo* pane;
         ::wxAuiDockArt *sipCpp;

        static const char *sipKwdList[] = {
            sipName_dc,
            sipName_window,
            sipName_rect,
            sipName_pane,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9J8J1J9", &sipSelf, sipType_wxAuiDockArt, &sipCpp, sipType_wxDC, &dc, sipType_wxWindow, &window, sipType_wxRect, &rect, &rectState, sipType_wxAuiPaneInfo, &pane))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_AuiDockArt, sipName_DrawGripper);
                return SIP_NULLPTR;
            }

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipCpp->DrawGripper(*dc,window,*rect,*pane);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::wxRect *>(rect),sipType_wxRect,rectState);

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AuiDockArt, sipName_DrawGripper, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxAuiDockArt_DrawPaneButton, "DrawPaneButton(dc, window, button, button_state, rect, pane)\n"
"\n"
"Draws a button in the pane's title bar.");

extern "C" {static PyObject *meth_wxAuiDockArt_DrawPaneButton(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_wxAuiDockArt_DrawPaneButton(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    PyObject *sipOrigSelf = sipSelf;

    {
         ::wxDC* dc;
         ::wxWindow* window;
        int button;
        int button_state;
        const  ::wxRect* rect;
        int rectState = 0;
         ::wxAuiPaneInfo* pane;
         ::wxAuiDockArt *sipCpp;

        static const char *sipKwdList[] = {
            sipName_dc,
            sipName_window,
            sipName_button,
            sipName_button_state,
            sipName_rect,
            sipName_pane,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9J8iiJ1J9", &sipSelf, sipType_wxAuiDockArt, &sipCpp, sipType_wxDC, &dc, sipType_wxWindow, &window, &button, &button_state, sipType_wxRect, &rect, &rectState, sipType_wxAuiPaneInfo, &pane))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_AuiDockArt, sipName_DrawPaneButton);
                return SIP_NULLPTR;
            }

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipCpp->DrawPaneButton(*dc,window,button,button_state,*rect,*pane);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::wxRect *>(rect),sipType_wxRect,rectState);

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AuiDockArt, sipName_DrawPaneButton, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxAuiDockArt_DrawSash, "DrawSash(dc, window, orientation, rect)\n"
"\n"
"Draws a sash between two windows.");

extern "C" {static PyObject *meth_wxAuiDockArt_DrawSash(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_wxAuiDockArt_DrawSash(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    PyObject *sipOrigSelf = sipSelf;

    {
         ::wxDC* dc;
         ::wxWindow* window;
        int orientation;
        const  ::wxRect* rect;
        int rectState = 0;
         ::wxAuiDockArt *sipCpp;

        static const char *sipKwdList[] = {
            sipName_dc,
            sipName_window,
            sipName_orientation,
            sipName_rect,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9J8iJ1", &sipSelf, sipType_wxAuiDockArt, &sipCpp, sipType_wxDC, &dc, sipType_wxWindow, &window, &orientation, sipType_wxRect, &rect, &rectState))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_AuiDockArt, sipName_DrawSash);
                return SIP_NULLPTR;
            }

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipCpp->DrawSash(*dc,window,orientation,*rect);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::wxRect *>(rect),sipType_wxRect,rectState);

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AuiDockArt, sipName_DrawSash, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxAuiDockArt_GetColour, "GetColour(id) -> wx.Colour\n"
"\n"
"Get the colour of a certain setting.");

extern "C" {static PyObject *meth_wxAuiDockArt_GetColour(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_wxAuiDockArt_GetColour(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    PyObject *sipOrigSelf = sipSelf;

    {
        int id;
         ::wxAuiDockArt *sipCpp;

        static const char *sipKwdList[] = {
            sipName_id,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi", &sipSelf, sipType_wxAuiDockArt, &sipCpp, &id))
        {
             ::wxColour*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_AuiDockArt, sipName_GetColour);
                return SIP_NULLPTR;
            }

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::wxColour(sipCpp->GetColour(id));
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return sipConvertFromNewType(sipRes,sipType_wxColour,SIP_NULLPTR);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AuiDockArt, sipName_GetColour, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxAuiDockArt_GetFont, "GetFont(id) -> wx.Font\n"
"\n"
"Get a font setting.");

extern "C" {static PyObject *meth_wxAuiDockArt_GetFont(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_wxAuiDockArt_GetFont(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    PyObject *sipOrigSelf = sipSelf;

    {
        int id;
         ::wxAuiDockArt *sipCpp;

        static const char *sipKwdList[] = {
            sipName_id,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi", &sipSelf, sipType_wxAuiDockArt, &sipCpp, &id))
        {
             ::wxFont*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_AuiDockArt, sipName_GetFont);
                return SIP_NULLPTR;
            }

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::wxFont(sipCpp->GetFont(id));
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return sipConvertFromNewType(sipRes,sipType_wxFont,SIP_NULLPTR);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AuiDockArt, sipName_GetFont, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxAuiDockArt_GetMetric, "GetMetric(id) -> int\n"
"\n"
"Get the value of a certain setting.");

extern "C" {static PyObject *meth_wxAuiDockArt_GetMetric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_wxAuiDockArt_GetMetric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    PyObject *sipOrigSelf = sipSelf;

    {
        int id;
         ::wxAuiDockArt *sipCpp;

        static const char *sipKwdList[] = {
            sipName_id,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi", &sipSelf, sipType_wxAuiDockArt, &sipCpp, &id))
        {
            int sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_AuiDockArt, sipName_GetMetric);
                return SIP_NULLPTR;
            }

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->GetMetric(id);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AuiDockArt, sipName_GetMetric, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxAuiDockArt_SetColour, "SetColour(id, colour)\n"
"\n"
"Set a certain setting with the value colour.");

extern "C" {static PyObject *meth_wxAuiDockArt_SetColour(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_wxAuiDockArt_SetColour(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    PyObject *sipOrigSelf = sipSelf;

    {
        int id;
        const  ::wxColour* colour;
        int colourState = 0;
         ::wxAuiDockArt *sipCpp;

        static const char *sipKwdList[] = {
            sipName_id,
            sipName_colour,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BiJ1", &sipSelf, sipType_wxAuiDockArt, &sipCpp, &id, sipType_wxColour, &colour, &colourState))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_AuiDockArt, sipName_SetColour);
                return SIP_NULLPTR;
            }

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipCpp->SetColour(id,*colour);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::wxColour *>(colour),sipType_wxColour,colourState);

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AuiDockArt, sipName_SetColour, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxAuiDockArt_SetFont, "SetFont(id, font)\n"
"\n"
"Set a font setting.");

extern "C" {static PyObject *meth_wxAuiDockArt_SetFont(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_wxAuiDockArt_SetFont(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    PyObject *sipOrigSelf = sipSelf;

    {
        int id;
        const  ::wxFont* font;
         ::wxAuiDockArt *sipCpp;

        static const char *sipKwdList[] = {
            sipName_id,
            sipName_font,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BiJ9", &sipSelf, sipType_wxAuiDockArt, &sipCpp, &id, sipType_wxFont, &font))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_AuiDockArt, sipName_SetFont);
                return SIP_NULLPTR;
            }

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipCpp->SetFont(id,*font);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AuiDockArt, sipName_SetFont, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxAuiDockArt_SetMetric, "SetMetric(id, new_val)\n"
"\n"
"Set a certain setting with the value new_val.");

extern "C" {static PyObject *meth_wxAuiDockArt_SetMetric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_wxAuiDockArt_SetMetric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    PyObject *sipOrigSelf = sipSelf;

    {
        int id;
        int new_val;
         ::wxAuiDockArt *sipCpp;

        static const char *sipKwdList[] = {
            sipName_id,
            sipName_new_val,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bii", &sipSelf, sipType_wxAuiDockArt, &sipCpp, &id, &new_val))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_AuiDockArt, sipName_SetMetric);
                return SIP_NULLPTR;
            }

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipCpp->SetMetric(id,new_val);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AuiDockArt, sipName_SetMetric, SIP_NULLPTR);

    return SIP_NULLPTR;
}


/* Call the instance's destructor. */
extern "C" {static void release_wxAuiDockArt(void *, int);}
static void release_wxAuiDockArt(void *sipCppV, int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipwxAuiDockArt *>(sipCppV);
    else
        delete reinterpret_cast< ::wxAuiDockArt *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_wxAuiDockArt(sipSimpleWrapper *);}
static void dealloc_wxAuiDockArt(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipwxAuiDockArt *>(sipGetAddress(sipSelf))->sipPySelf = SIP_NULLPTR;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_wxAuiDockArt(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_wxAuiDockArt(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_wxAuiDockArt(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipwxAuiDockArt *sipCpp = SIP_NULLPTR;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, sipUnused, ""))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipwxAuiDockArt();
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
            {
                delete sipCpp;
                return SIP_NULLPTR;
            }

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::wxAuiDockArt* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, sipUnused, "J9", sipType_wxAuiDockArt, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipwxAuiDockArt(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return SIP_NULLPTR;
}


static PyMethodDef methods_wxAuiDockArt[] = {
    {SIP_MLNAME_CAST(sipName_DrawBackground), SIP_MLMETH_CAST(meth_wxAuiDockArt_DrawBackground), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiDockArt_DrawBackground)},
    {SIP_MLNAME_CAST(sipName_DrawBorder), SIP_MLMETH_CAST(meth_wxAuiDockArt_DrawBorder), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiDockArt_DrawBorder)},
    {SIP_MLNAME_CAST(sipName_DrawCaption), SIP_MLMETH_CAST(meth_wxAuiDockArt_DrawCaption), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiDockArt_DrawCaption)},
    {SIP_MLNAME_CAST(sipName_DrawGripper), SIP_MLMETH_CAST(meth_wxAuiDockArt_DrawGripper), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiDockArt_DrawGripper)},
    {SIP_MLNAME_CAST(sipName_DrawPaneButton), SIP_MLMETH_CAST(meth_wxAuiDockArt_DrawPaneButton), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiDockArt_DrawPaneButton)},
    {SIP_MLNAME_CAST(sipName_DrawSash), SIP_MLMETH_CAST(meth_wxAuiDockArt_DrawSash), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiDockArt_DrawSash)},
    {SIP_MLNAME_CAST(sipName_GetColour), SIP_MLMETH_CAST(meth_wxAuiDockArt_GetColour), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiDockArt_GetColour)},
    {SIP_MLNAME_CAST(sipName_GetFont), SIP_MLMETH_CAST(meth_wxAuiDockArt_GetFont), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiDockArt_GetFont)},
    {SIP_MLNAME_CAST(sipName_GetMetric), SIP_MLMETH_CAST(meth_wxAuiDockArt_GetMetric), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiDockArt_GetMetric)},
    {SIP_MLNAME_CAST(sipName_SetColour), SIP_MLMETH_CAST(meth_wxAuiDockArt_SetColour), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiDockArt_SetColour)},
    {SIP_MLNAME_CAST(sipName_SetFont), SIP_MLMETH_CAST(meth_wxAuiDockArt_SetFont), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiDockArt_SetFont)},
    {SIP_MLNAME_CAST(sipName_SetMetric), SIP_MLMETH_CAST(meth_wxAuiDockArt_SetMetric), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiDockArt_SetMetric)}
};

PyDoc_STRVAR(doc_wxAuiDockArt, "AuiDockArt()\n"
"\n"
"wxAuiDockArt is part of the wxAUI class framework.");


sipClassTypeDef sipTypeDef__aui_wxAuiDockArt = {
    {
        -1,
        SIP_NULLPTR,
        SIP_NULLPTR,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_wxAuiDockArt,
        {SIP_NULLPTR},
        SIP_NULLPTR
    },
    {
        sipNameNr_AuiDockArt,
        {0, 0, 1},
        12, methods_wxAuiDockArt,
        0, SIP_NULLPTR,
        0, SIP_NULLPTR,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    doc_wxAuiDockArt,
    -1,
    -1,
    SIP_NULLPTR,
    SIP_NULLPTR,
    init_type_wxAuiDockArt,
    SIP_NULLPTR,
    SIP_NULLPTR,
#if PY_MAJOR_VERSION >= 3
    SIP_NULLPTR,
    SIP_NULLPTR,
#else
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
#endif
    dealloc_wxAuiDockArt,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    release_wxAuiDockArt,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR
};
