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

#include "sipAPI_core.h"
        #include <wx/headercol.h>
        #include <wx/bmpbndl.h>
        #include <wx/bitmap.h>


class sipwxHeaderColumnSimple : public ::wxHeaderColumnSimple
{
public:
    sipwxHeaderColumnSimple(const ::wxString&, int, ::wxAlignment, int);
    sipwxHeaderColumnSimple(const ::wxBitmapBundle&, int, ::wxAlignment, int);
    sipwxHeaderColumnSimple(const ::wxHeaderColumnSimple&);
    virtual ~sipwxHeaderColumnSimple();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool IsSortOrderAscending() const SIP_OVERRIDE;
    bool IsSortKey() const SIP_OVERRIDE;
    bool IsHidden() const SIP_OVERRIDE;
    bool IsReorderable() const SIP_OVERRIDE;
    bool IsSortable() const SIP_OVERRIDE;
    bool IsResizeable() const SIP_OVERRIDE;
    int GetFlags() const SIP_OVERRIDE;
    ::wxAlignment GetAlignment() const SIP_OVERRIDE;
    int GetMinWidth() const SIP_OVERRIDE;
    int GetWidth() const SIP_OVERRIDE;
    ::wxBitmapBundle GetBitmapBundle() const SIP_OVERRIDE;
    ::wxBitmap GetBitmap() const SIP_OVERRIDE;
    ::wxString GetTitle() const SIP_OVERRIDE;
    void SetTitle(const ::wxString&) SIP_OVERRIDE;
    void SetBitmap(const ::wxBitmapBundle&) SIP_OVERRIDE;
    void SetWidth(int) SIP_OVERRIDE;
    void SetMinWidth(int) SIP_OVERRIDE;
    void SetAlignment(::wxAlignment) SIP_OVERRIDE;
    void SetFlags(int) SIP_OVERRIDE;
    void SetResizeable(bool) SIP_OVERRIDE;
    void SetSortable(bool) SIP_OVERRIDE;
    void SetReorderable(bool) SIP_OVERRIDE;
    void SetHidden(bool) SIP_OVERRIDE;
    void SetSortOrder(bool) SIP_OVERRIDE;

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[24];
};

sipwxHeaderColumnSimple::sipwxHeaderColumnSimple(const ::wxString& title, int width, ::wxAlignment align, int flags): ::wxHeaderColumnSimple(title, width, align, flags), sipPySelf(SIP_NULLPTR)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipwxHeaderColumnSimple::sipwxHeaderColumnSimple(const ::wxBitmapBundle& bitmap, int width, ::wxAlignment align, int flags): ::wxHeaderColumnSimple(bitmap, width, align, flags), sipPySelf(SIP_NULLPTR)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

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

bool sipwxHeaderColumnSimple::IsSortOrderAscending() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[0]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_IsSortOrderAscending);

    if (!sipMeth)
        return ::wxHeaderColumnSimple::IsSortOrderAscending();

    extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipwxHeaderColumnSimple::IsSortKey() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[1]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_IsSortKey);

    if (!sipMeth)
        return ::wxHeaderColumnSimple::IsSortKey();

    extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipwxHeaderColumnSimple::IsHidden() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[2]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_IsHidden);

    if (!sipMeth)
        return ::wxHeaderColumnSimple::IsHidden();

    extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipwxHeaderColumnSimple::IsReorderable() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[3]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_IsReorderable);

    if (!sipMeth)
        return ::wxHeaderColumnSimple::IsReorderable();

    extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipwxHeaderColumnSimple::IsSortable() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[4]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_IsSortable);

    if (!sipMeth)
        return ::wxHeaderColumnSimple::IsSortable();

    extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipwxHeaderColumnSimple::IsResizeable() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[5]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_IsResizeable);

    if (!sipMeth)
        return ::wxHeaderColumnSimple::IsResizeable();

    extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
}

int sipwxHeaderColumnSimple::GetFlags() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[6]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_GetFlags);

    if (!sipMeth)
        return ::wxHeaderColumnSimple::GetFlags();

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

    return sipVH__core_112(sipGILState, 0, sipPySelf, sipMeth);
}

::wxAlignment sipwxHeaderColumnSimple::GetAlignment() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[7]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_GetAlignment);

    if (!sipMeth)
        return ::wxHeaderColumnSimple::GetAlignment();

    extern ::wxAlignment sipVH__core_166(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH__core_166(sipGILState, 0, sipPySelf, sipMeth);
}

int sipwxHeaderColumnSimple::GetMinWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[8]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_GetMinWidth);

    if (!sipMeth)
        return ::wxHeaderColumnSimple::GetMinWidth();

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

    return sipVH__core_112(sipGILState, 0, sipPySelf, sipMeth);
}

int sipwxHeaderColumnSimple::GetWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[9]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_GetWidth);

    if (!sipMeth)
        return ::wxHeaderColumnSimple::GetWidth();

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

    return sipVH__core_112(sipGILState, 0, sipPySelf, sipMeth);
}

::wxBitmapBundle sipwxHeaderColumnSimple::GetBitmapBundle() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[10]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_GetBitmapBundle);

    if (!sipMeth)
        return ::wxHeaderColumnSimple::GetBitmapBundle();

    extern ::wxBitmapBundle sipVH__core_165(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH__core_165(sipGILState, 0, sipPySelf, sipMeth);
}

::wxBitmap sipwxHeaderColumnSimple::GetBitmap() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[11]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_GetBitmap);

    if (!sipMeth)
        return ::wxHeaderColumnSimple::GetBitmap();

    extern ::wxBitmap sipVH__core_80(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH__core_80(sipGILState, 0, sipPySelf, sipMeth);
}

::wxString sipwxHeaderColumnSimple::GetTitle() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[12]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_GetTitle);

    if (!sipMeth)
        return ::wxHeaderColumnSimple::GetTitle();

    extern ::wxString sipVH__core_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH__core_11(sipGILState, 0, sipPySelf, sipMeth);
}

void sipwxHeaderColumnSimple::SetTitle(const ::wxString& title)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[13], &sipPySelf, SIP_NULLPTR, sipName_SetTitle);

    if (!sipMeth)
    {
        ::wxHeaderColumnSimple::SetTitle(title);
        return;
    }

    extern void sipVH__core_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxString&);

    sipVH__core_60(sipGILState, 0, sipPySelf, sipMeth, title);
}

void sipwxHeaderColumnSimple::SetBitmap(const ::wxBitmapBundle& bitmap)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[14], &sipPySelf, SIP_NULLPTR, sipName_SetBitmap);

    if (!sipMeth)
    {
        ::wxHeaderColumnSimple::SetBitmap(bitmap);
        return;
    }

    extern void sipVH__core_167(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxBitmapBundle&);

    sipVH__core_167(sipGILState, 0, sipPySelf, sipMeth, bitmap);
}

void sipwxHeaderColumnSimple::SetWidth(int width)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[15], &sipPySelf, SIP_NULLPTR, sipName_SetWidth);

    if (!sipMeth)
    {
        ::wxHeaderColumnSimple::SetWidth(width);
        return;
    }

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

    sipVH__core_113(sipGILState, 0, sipPySelf, sipMeth, width);
}

void sipwxHeaderColumnSimple::SetMinWidth(int minWidth)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[16], &sipPySelf, SIP_NULLPTR, sipName_SetMinWidth);

    if (!sipMeth)
    {
        ::wxHeaderColumnSimple::SetMinWidth(minWidth);
        return;
    }

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

    sipVH__core_113(sipGILState, 0, sipPySelf, sipMeth, minWidth);
}

void sipwxHeaderColumnSimple::SetAlignment(::wxAlignment align)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[17], &sipPySelf, SIP_NULLPTR, sipName_SetAlignment);

    if (!sipMeth)
    {
        ::wxHeaderColumnSimple::SetAlignment(align);
        return;
    }

    extern void sipVH__core_168(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxAlignment);

    sipVH__core_168(sipGILState, 0, sipPySelf, sipMeth, align);
}

void sipwxHeaderColumnSimple::SetFlags(int flags)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[18], &sipPySelf, SIP_NULLPTR, sipName_SetFlags);

    if (!sipMeth)
    {
        ::wxHeaderColumnSimple::SetFlags(flags);
        return;
    }

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

    sipVH__core_113(sipGILState, 0, sipPySelf, sipMeth, flags);
}

void sipwxHeaderColumnSimple::SetResizeable(bool resizable)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[19], &sipPySelf, SIP_NULLPTR, sipName_SetResizeable);

    if (!sipMeth)
    {
        ::wxHeaderColumnSimple::SetResizeable(resizable);
        return;
    }

    extern void sipVH__core_96(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH__core_96(sipGILState, 0, sipPySelf, sipMeth, resizable);
}

void sipwxHeaderColumnSimple::SetSortable(bool sortable)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[20], &sipPySelf, SIP_NULLPTR, sipName_SetSortable);

    if (!sipMeth)
    {
        ::wxHeaderColumnSimple::SetSortable(sortable);
        return;
    }

    extern void sipVH__core_96(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH__core_96(sipGILState, 0, sipPySelf, sipMeth, sortable);
}

void sipwxHeaderColumnSimple::SetReorderable(bool reorderable)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[21], &sipPySelf, SIP_NULLPTR, sipName_SetReorderable);

    if (!sipMeth)
    {
        ::wxHeaderColumnSimple::SetReorderable(reorderable);
        return;
    }

    extern void sipVH__core_96(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH__core_96(sipGILState, 0, sipPySelf, sipMeth, reorderable);
}

void sipwxHeaderColumnSimple::SetHidden(bool hidden)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[22], &sipPySelf, SIP_NULLPTR, sipName_SetHidden);

    if (!sipMeth)
    {
        ::wxHeaderColumnSimple::SetHidden(hidden);
        return;
    }

    extern void sipVH__core_96(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH__core_96(sipGILState, 0, sipPySelf, sipMeth, hidden);
}

void sipwxHeaderColumnSimple::SetSortOrder(bool ascending)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[23], &sipPySelf, SIP_NULLPTR, sipName_SetSortOrder);

    if (!sipMeth)
    {
        ::wxHeaderColumnSimple::SetSortOrder(ascending);
        return;
    }

    extern void sipVH__core_96(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH__core_96(sipGILState, 0, sipPySelf, sipMeth, ascending);
}


PyDoc_STRVAR(doc_wxHeaderColumnSimple_SetTitle, "SetTitle(title) -> None\n"
"\n"
"Trivial implementations of the base class pure virtual functions.");

extern "C" {static PyObject *meth_wxHeaderColumnSimple_SetTitle(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_wxHeaderColumnSimple_SetTitle(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const ::wxString* title;
        int titleState = 0;
        ::wxHeaderColumnSimple *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxHeaderColumnSimple, &sipCpp, sipType_wxString, &title, &titleState))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->::wxHeaderColumnSimple::SetTitle(*title) : sipCpp->SetTitle(*title));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::wxString *>(title), sipType_wxString, titleState);

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_HeaderColumnSimple, sipName_SetTitle, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHeaderColumnSimple_GetTitle, "GetTitle() -> str\n"
"\n"
"Trivial implementations of the base class pure virtual functions.");

extern "C" {static PyObject *meth_wxHeaderColumnSimple_GetTitle(PyObject *, PyObject *);}
static PyObject *meth_wxHeaderColumnSimple_GetTitle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const ::wxHeaderColumnSimple *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHeaderColumnSimple, &sipCpp))
        {
            ::wxString*sipRes;

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = new ::wxString((sipSelfWasArg ? sipCpp->::wxHeaderColumnSimple::GetTitle() : sipCpp->GetTitle()));
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_HeaderColumnSimple, sipName_GetTitle, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHeaderColumnSimple_SetBitmap, "SetBitmap(bitmap) -> None\n"
"\n"
"Trivial implementations of the base class pure virtual functions.");

extern "C" {static PyObject *meth_wxHeaderColumnSimple_SetBitmap(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_wxHeaderColumnSimple_SetBitmap(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const ::wxBitmapBundle* bitmap;
        int bitmapState = 0;
        ::wxHeaderColumnSimple *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxHeaderColumnSimple, &sipCpp, sipType_wxBitmapBundle, &bitmap, &bitmapState))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->::wxHeaderColumnSimple::SetBitmap(*bitmap) : sipCpp->SetBitmap(*bitmap));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::wxBitmapBundle *>(bitmap), sipType_wxBitmapBundle, bitmapState);

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_HeaderColumnSimple, sipName_SetBitmap, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHeaderColumnSimple_GetBitmap, "GetBitmap() -> Bitmap\n"
"\n"
"Trivial implementations of the base class pure virtual functions.");

extern "C" {static PyObject *meth_wxHeaderColumnSimple_GetBitmap(PyObject *, PyObject *);}
static PyObject *meth_wxHeaderColumnSimple_GetBitmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const ::wxHeaderColumnSimple *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHeaderColumnSimple, &sipCpp))
        {
            ::wxBitmap*sipRes;

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = new ::wxBitmap((sipSelfWasArg ? sipCpp->::wxHeaderColumnSimple::GetBitmap() : sipCpp->GetBitmap()));
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_HeaderColumnSimple, sipName_GetBitmap, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHeaderColumnSimple_GetBitmapBundle, "GetBitmapBundle() -> BitmapBundle\n"
"\n"
"Trivial implementations of the base class pure virtual functions.");

extern "C" {static PyObject *meth_wxHeaderColumnSimple_GetBitmapBundle(PyObject *, PyObject *);}
static PyObject *meth_wxHeaderColumnSimple_GetBitmapBundle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const ::wxHeaderColumnSimple *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHeaderColumnSimple, &sipCpp))
        {
            ::wxBitmapBundle*sipRes;

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = new ::wxBitmapBundle((sipSelfWasArg ? sipCpp->::wxHeaderColumnSimple::GetBitmapBundle() : sipCpp->GetBitmapBundle()));
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_HeaderColumnSimple, sipName_GetBitmapBundle, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHeaderColumnSimple_SetWidth, "SetWidth(width) -> None\n"
"\n"
"Trivial implementations of the base class pure virtual functions.");

extern "C" {static PyObject *meth_wxHeaderColumnSimple_SetWidth(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_wxHeaderColumnSimple_SetWidth(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int width;
        ::wxHeaderColumnSimple *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi", &sipSelf, sipType_wxHeaderColumnSimple, &sipCpp, &width))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->::wxHeaderColumnSimple::SetWidth(width) : sipCpp->SetWidth(width));
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_HeaderColumnSimple, sipName_SetWidth, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHeaderColumnSimple_GetWidth, "GetWidth() -> int\n"
"\n"
"Trivial implementations of the base class pure virtual functions.");

extern "C" {static PyObject *meth_wxHeaderColumnSimple_GetWidth(PyObject *, PyObject *);}
static PyObject *meth_wxHeaderColumnSimple_GetWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const ::wxHeaderColumnSimple *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHeaderColumnSimple, &sipCpp))
        {
            int sipRes;

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->::wxHeaderColumnSimple::GetWidth() : sipCpp->GetWidth());
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_HeaderColumnSimple, sipName_GetWidth, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHeaderColumnSimple_SetMinWidth, "SetMinWidth(minWidth) -> None\n"
"\n"
"Trivial implementations of the base class pure virtual functions.");

extern "C" {static PyObject *meth_wxHeaderColumnSimple_SetMinWidth(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_wxHeaderColumnSimple_SetMinWidth(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int minWidth;
        ::wxHeaderColumnSimple *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi", &sipSelf, sipType_wxHeaderColumnSimple, &sipCpp, &minWidth))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->::wxHeaderColumnSimple::SetMinWidth(minWidth) : sipCpp->SetMinWidth(minWidth));
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_HeaderColumnSimple, sipName_SetMinWidth, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHeaderColumnSimple_GetMinWidth, "GetMinWidth() -> int\n"
"\n"
"Trivial implementations of the base class pure virtual functions.");

extern "C" {static PyObject *meth_wxHeaderColumnSimple_GetMinWidth(PyObject *, PyObject *);}
static PyObject *meth_wxHeaderColumnSimple_GetMinWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const ::wxHeaderColumnSimple *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHeaderColumnSimple, &sipCpp))
        {
            int sipRes;

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->::wxHeaderColumnSimple::GetMinWidth() : sipCpp->GetMinWidth());
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_HeaderColumnSimple, sipName_GetMinWidth, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHeaderColumnSimple_SetAlignment, "SetAlignment(align) -> None\n"
"\n"
"Trivial implementations of the base class pure virtual functions.");

extern "C" {static PyObject *meth_wxHeaderColumnSimple_SetAlignment(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_wxHeaderColumnSimple_SetAlignment(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        ::wxAlignment align;
        ::wxHeaderColumnSimple *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BE", &sipSelf, sipType_wxHeaderColumnSimple, &sipCpp, sipType_wxAlignment, &align))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->::wxHeaderColumnSimple::SetAlignment(align) : sipCpp->SetAlignment(align));
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_HeaderColumnSimple, sipName_SetAlignment, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHeaderColumnSimple_GetAlignment, "GetAlignment() -> Alignment\n"
"\n"
"Trivial implementations of the base class pure virtual functions.");

extern "C" {static PyObject *meth_wxHeaderColumnSimple_GetAlignment(PyObject *, PyObject *);}
static PyObject *meth_wxHeaderColumnSimple_GetAlignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const ::wxHeaderColumnSimple *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHeaderColumnSimple, &sipCpp))
        {
            ::wxAlignment sipRes;

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->::wxHeaderColumnSimple::GetAlignment() : sipCpp->GetAlignment());
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return sipConvertFromEnum(static_cast<int>(sipRes), sipType_wxAlignment);
        }
    }

    sipNoMethod(sipParseErr, sipName_HeaderColumnSimple, sipName_GetAlignment, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHeaderColumnSimple_SetFlags, "SetFlags(flags) -> None\n"
"\n"
"Trivial implementations of the base class pure virtual functions.");

extern "C" {static PyObject *meth_wxHeaderColumnSimple_SetFlags(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_wxHeaderColumnSimple_SetFlags(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int flags;
        ::wxHeaderColumnSimple *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi", &sipSelf, sipType_wxHeaderColumnSimple, &sipCpp, &flags))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->::wxHeaderColumnSimple::SetFlags(flags) : sipCpp->SetFlags(flags));
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_HeaderColumnSimple, sipName_SetFlags, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHeaderColumnSimple_GetFlags, "GetFlags() -> int\n"
"\n"
"Trivial implementations of the base class pure virtual functions.");

extern "C" {static PyObject *meth_wxHeaderColumnSimple_GetFlags(PyObject *, PyObject *);}
static PyObject *meth_wxHeaderColumnSimple_GetFlags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const ::wxHeaderColumnSimple *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHeaderColumnSimple, &sipCpp))
        {
            int sipRes;

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->::wxHeaderColumnSimple::GetFlags() : sipCpp->GetFlags());
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_HeaderColumnSimple, sipName_GetFlags, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHeaderColumnSimple_IsSortKey, "IsSortKey() -> bool\n"
"\n"
"Trivial implementations of the base class pure virtual functions.");

extern "C" {static PyObject *meth_wxHeaderColumnSimple_IsSortKey(PyObject *, PyObject *);}
static PyObject *meth_wxHeaderColumnSimple_IsSortKey(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const ::wxHeaderColumnSimple *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHeaderColumnSimple, &sipCpp))
        {
            bool sipRes;

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->::wxHeaderColumnSimple::IsSortKey() : sipCpp->IsSortKey());
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_HeaderColumnSimple, sipName_IsSortKey, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHeaderColumnSimple_SetSortOrder, "SetSortOrder(ascending) -> None\n"
"\n"
"Trivial implementations of the base class pure virtual functions.");

extern "C" {static PyObject *meth_wxHeaderColumnSimple_SetSortOrder(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_wxHeaderColumnSimple_SetSortOrder(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        bool ascending;
        ::wxHeaderColumnSimple *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bb", &sipSelf, sipType_wxHeaderColumnSimple, &sipCpp, &ascending))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->::wxHeaderColumnSimple::SetSortOrder(ascending) : sipCpp->SetSortOrder(ascending));
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_HeaderColumnSimple, sipName_SetSortOrder, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHeaderColumnSimple_IsSortOrderAscending, "IsSortOrderAscending() -> bool\n"
"\n"
"Trivial implementations of the base class pure virtual functions.");

extern "C" {static PyObject *meth_wxHeaderColumnSimple_IsSortOrderAscending(PyObject *, PyObject *);}
static PyObject *meth_wxHeaderColumnSimple_IsSortOrderAscending(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const ::wxHeaderColumnSimple *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHeaderColumnSimple, &sipCpp))
        {
            bool sipRes;

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->::wxHeaderColumnSimple::IsSortOrderAscending() : sipCpp->IsSortOrderAscending());
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_HeaderColumnSimple, sipName_IsSortOrderAscending, SIP_NULLPTR);

    return SIP_NULLPTR;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_wxHeaderColumnSimple(void *, const sipTypeDef *);}
static void *cast_wxHeaderColumnSimple(void *sipCppV, const sipTypeDef *targetType)
{
    ::wxHeaderColumnSimple *sipCpp = reinterpret_cast< ::wxHeaderColumnSimple *>(sipCppV);

    if (targetType == sipType_wxHeaderColumnSimple)
        return sipCppV;

    sipCppV = ((const sipClassTypeDef *)sipType_wxSettableHeaderColumn)->ctd_cast(static_cast< ::wxSettableHeaderColumn *>(sipCpp), targetType);
    if (sipCppV)
        return sipCppV;

    return SIP_NULLPTR;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipwxHeaderColumnSimple *>(sipCppV);
    else
        delete reinterpret_cast< ::wxHeaderColumnSimple *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_wxHeaderColumnSimple(void *, Py_ssize_t, void *);}
static void assign_wxHeaderColumnSimple(void *sipDst, Py_ssize_t sipDstIdx, void *sipSrc)
{
    reinterpret_cast< ::wxHeaderColumnSimple *>(sipDst)[sipDstIdx] = *reinterpret_cast< ::wxHeaderColumnSimple *>(sipSrc);
}


extern "C" {static void *copy_wxHeaderColumnSimple(const void *, Py_ssize_t);}
static void *copy_wxHeaderColumnSimple(const void *sipSrc, Py_ssize_t sipSrcIdx)
{
    return new ::wxHeaderColumnSimple(reinterpret_cast<const ::wxHeaderColumnSimple *>(sipSrc)[sipSrcIdx]);
}


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

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


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

    {
        const ::wxString* title;
        int titleState = 0;
        int width = wxCOL_WIDTH_DEFAULT;
        ::wxAlignment align = wxALIGN_NOT;
        int flags = wxCOL_DEFAULT_FLAGS;

        static const char *sipKwdList[] = {
            sipName_title,
            sipName_width,
            sipName_align,
            sipName_flags,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|iEi", sipType_wxString, &title, &titleState, &width, sipType_wxAlignment, &align, &flags))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipwxHeaderColumnSimple(*title, width, align, flags);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::wxString *>(title), sipType_wxString, titleState);

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const ::wxBitmapBundle* bitmap;
        int bitmapState = 0;
        int width = wxCOL_WIDTH_DEFAULT;
        ::wxAlignment align = wxALIGN_CENTER;
        int flags = wxCOL_DEFAULT_FLAGS;

        static const char *sipKwdList[] = {
            sipName_bitmap,
            sipName_width,
            sipName_align,
            sipName_flags,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|iEi", sipType_wxBitmapBundle, &bitmap, &bitmapState, &width, sipType_wxAlignment, &align, &flags))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipwxHeaderColumnSimple(*bitmap, width, align, flags);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::wxBitmapBundle *>(bitmap), sipType_wxBitmapBundle, bitmapState);

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const ::wxHeaderColumnSimple* a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return SIP_NULLPTR;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_wxHeaderColumnSimple[] = {{501, 255, 1}};


static PyMethodDef methods_wxHeaderColumnSimple[] = {
    {sipName_GetAlignment, meth_wxHeaderColumnSimple_GetAlignment, METH_VARARGS, doc_wxHeaderColumnSimple_GetAlignment},
    {sipName_GetBitmap, meth_wxHeaderColumnSimple_GetBitmap, METH_VARARGS, doc_wxHeaderColumnSimple_GetBitmap},
    {sipName_GetBitmapBundle, meth_wxHeaderColumnSimple_GetBitmapBundle, METH_VARARGS, doc_wxHeaderColumnSimple_GetBitmapBundle},
    {sipName_GetFlags, meth_wxHeaderColumnSimple_GetFlags, METH_VARARGS, doc_wxHeaderColumnSimple_GetFlags},
    {sipName_GetMinWidth, meth_wxHeaderColumnSimple_GetMinWidth, METH_VARARGS, doc_wxHeaderColumnSimple_GetMinWidth},
    {sipName_GetTitle, meth_wxHeaderColumnSimple_GetTitle, METH_VARARGS, doc_wxHeaderColumnSimple_GetTitle},
    {sipName_GetWidth, meth_wxHeaderColumnSimple_GetWidth, METH_VARARGS, doc_wxHeaderColumnSimple_GetWidth},
    {sipName_IsSortKey, meth_wxHeaderColumnSimple_IsSortKey, METH_VARARGS, doc_wxHeaderColumnSimple_IsSortKey},
    {sipName_IsSortOrderAscending, meth_wxHeaderColumnSimple_IsSortOrderAscending, METH_VARARGS, doc_wxHeaderColumnSimple_IsSortOrderAscending},
    {sipName_SetAlignment, SIP_MLMETH_CAST(meth_wxHeaderColumnSimple_SetAlignment), METH_VARARGS|METH_KEYWORDS, doc_wxHeaderColumnSimple_SetAlignment},
    {sipName_SetBitmap, SIP_MLMETH_CAST(meth_wxHeaderColumnSimple_SetBitmap), METH_VARARGS|METH_KEYWORDS, doc_wxHeaderColumnSimple_SetBitmap},
    {sipName_SetFlags, SIP_MLMETH_CAST(meth_wxHeaderColumnSimple_SetFlags), METH_VARARGS|METH_KEYWORDS, doc_wxHeaderColumnSimple_SetFlags},
    {sipName_SetMinWidth, SIP_MLMETH_CAST(meth_wxHeaderColumnSimple_SetMinWidth), METH_VARARGS|METH_KEYWORDS, doc_wxHeaderColumnSimple_SetMinWidth},
    {sipName_SetSortOrder, SIP_MLMETH_CAST(meth_wxHeaderColumnSimple_SetSortOrder), METH_VARARGS|METH_KEYWORDS, doc_wxHeaderColumnSimple_SetSortOrder},
    {sipName_SetTitle, SIP_MLMETH_CAST(meth_wxHeaderColumnSimple_SetTitle), METH_VARARGS|METH_KEYWORDS, doc_wxHeaderColumnSimple_SetTitle},
    {sipName_SetWidth, SIP_MLMETH_CAST(meth_wxHeaderColumnSimple_SetWidth), METH_VARARGS|METH_KEYWORDS, doc_wxHeaderColumnSimple_SetWidth}
};

sipVariableDef variables_wxHeaderColumnSimple[] = {
    {PropertyVariable, sipName_Width, &methods_wxHeaderColumnSimple[6], &methods_wxHeaderColumnSimple[15], SIP_NULLPTR, SIP_NULLPTR},
    {PropertyVariable, sipName_Title, &methods_wxHeaderColumnSimple[5], &methods_wxHeaderColumnSimple[14], SIP_NULLPTR, SIP_NULLPTR},
    {PropertyVariable, sipName_MinWidth, &methods_wxHeaderColumnSimple[4], &methods_wxHeaderColumnSimple[12], SIP_NULLPTR, SIP_NULLPTR},
    {PropertyVariable, sipName_Flags, &methods_wxHeaderColumnSimple[3], &methods_wxHeaderColumnSimple[11], SIP_NULLPTR, SIP_NULLPTR},
    {PropertyVariable, sipName_BitmapBundle, &methods_wxHeaderColumnSimple[2], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    {PropertyVariable, sipName_Bitmap, &methods_wxHeaderColumnSimple[1], &methods_wxHeaderColumnSimple[10], SIP_NULLPTR, SIP_NULLPTR},
    {PropertyVariable, sipName_Alignment, &methods_wxHeaderColumnSimple[0], &methods_wxHeaderColumnSimple[9], SIP_NULLPTR, SIP_NULLPTR},
};

PyDoc_STRVAR(doc_wxHeaderColumnSimple, "HeaderColumnSimple(title, width=COL_WIDTH_DEFAULT, align=ALIGN_NOT, flags=COL_DEFAULT_FLAGS) -> None\n"
"HeaderColumnSimple(bitmap, width=COL_WIDTH_DEFAULT, align=ALIGN_CENTER, flags=COL_DEFAULT_FLAGS) -> None\n"
"\n"
"Simple container for the information about the column.");


sipClassTypeDef sipTypeDef__core_wxHeaderColumnSimple = {
    {
        -1,
        SIP_NULLPTR,
        SIP_NULLPTR,
        SIP_TYPE_CLASS,
        sipNameNr_wxHeaderColumnSimple,
        SIP_NULLPTR,
        SIP_NULLPTR,
    },
    {
        sipNameNr_HeaderColumnSimple,
        {0, 0, 1},
        16, methods_wxHeaderColumnSimple,
        0, SIP_NULLPTR,
        7, variables_wxHeaderColumnSimple,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    doc_wxHeaderColumnSimple,
    -1,
    -1,
    supers_wxHeaderColumnSimple,
    SIP_NULLPTR,
    init_type_wxHeaderColumnSimple,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_wxHeaderColumnSimple,
    assign_wxHeaderColumnSimple,
    SIP_NULLPTR,
    copy_wxHeaderColumnSimple,
    release_wxHeaderColumnSimple,
    cast_wxHeaderColumnSimple,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    sizeof (::wxHeaderColumnSimple),
};
