/*
 * 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/toolbar.h>
        #include <wx/toolbar.h>
        #include <wx/bmpbndl.h>
        #include <wx/control.h>
        #include <wx/menu.h>
        #include <wx/bitmap.h>
        #include <wx/object.h>
        #include <wx/object.h>
        #include <wx/object.h>
    wxToolBar* _wxToolBarToolBase_GetToolBar(wxToolBarToolBase* self)
    {
        return (wxToolBar*)self->GetToolBar();
    }
    wxPyUserData* _wxToolBarToolBase_GetClientData(const wxToolBarToolBase* self)
    {
        return dynamic_cast<wxPyUserData*>(self->GetClientData());
    }


PyDoc_STRVAR(doc_wxToolBarToolBase_GetId, "GetId() -> int");

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

    {
        const ::wxToolBarToolBase *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->GetId();
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_ToolBarToolBase, sipName_GetId, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxToolBarToolBase_GetControl, "GetControl() -> Control");

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

    {
        const ::wxToolBarToolBase *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->GetControl();
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return sipConvertFromType(sipRes, sipType_wxControl, SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_ToolBarToolBase, sipName_GetControl, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxToolBarToolBase_GetToolBar, "GetToolBar() -> ToolBar\n"
"\n"
"Return the toolbar this tool is a member of.");

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

    {
        ::wxToolBarToolBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxToolBarToolBase, &sipCpp))
        {
            ::wxToolBar*sipRes = 0;
            int sipIsErr = 0;
        PyErr_Clear();
        Py_BEGIN_ALLOW_THREADS
        sipRes = _wxToolBarToolBase_GetToolBar(sipCpp);
        Py_END_ALLOW_THREADS
        if (PyErr_Occurred()) sipIsErr = 1;

            if (sipIsErr)
                return 0;

            return sipConvertFromType(sipRes, sipType_wxToolBar, SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_ToolBarToolBase, sipName_GetToolBar, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxToolBarToolBase_IsStretchable, "IsStretchable() -> bool");

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

    {
        const ::wxToolBarToolBase *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->IsStretchable();
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_ToolBarToolBase, sipName_IsStretchable, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxToolBarToolBase_IsButton, "IsButton() -> bool");

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

    {
        const ::wxToolBarToolBase *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->IsButton();
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_ToolBarToolBase, sipName_IsButton, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxToolBarToolBase_IsControl, "IsControl() -> bool");

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

    {
        const ::wxToolBarToolBase *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->IsControl();
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_ToolBarToolBase, sipName_IsControl, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxToolBarToolBase_IsSeparator, "IsSeparator() -> bool");

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

    {
        const ::wxToolBarToolBase *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->IsSeparator();
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_ToolBarToolBase, sipName_IsSeparator, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxToolBarToolBase_IsStretchableSpace, "IsStretchableSpace() -> bool");

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

    {
        const ::wxToolBarToolBase *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->IsStretchableSpace();
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_ToolBarToolBase, sipName_IsStretchableSpace, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxToolBarToolBase_GetStyle, "GetStyle() -> int");

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

    {
        const ::wxToolBarToolBase *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->GetStyle();
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_ToolBarToolBase, sipName_GetStyle, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxToolBarToolBase_GetKind, "GetKind() -> ItemKind");

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

    {
        const ::wxToolBarToolBase *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->GetKind();
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_ToolBarToolBase, sipName_GetKind, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxToolBarToolBase_MakeStretchable, "MakeStretchable() -> None");

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

    {
        ::wxToolBarToolBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxToolBarToolBase, &sipCpp))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipCpp->MakeStretchable();
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_ToolBarToolBase, sipName_MakeStretchable, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxToolBarToolBase_IsEnabled, "IsEnabled() -> bool");

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

    {
        const ::wxToolBarToolBase *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->IsEnabled();
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_ToolBarToolBase, sipName_IsEnabled, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxToolBarToolBase_IsToggled, "IsToggled() -> bool");

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

    {
        const ::wxToolBarToolBase *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->IsToggled();
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_ToolBarToolBase, sipName_IsToggled, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxToolBarToolBase_CanBeToggled, "CanBeToggled() -> bool");

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

    {
        const ::wxToolBarToolBase *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->CanBeToggled();
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_ToolBarToolBase, sipName_CanBeToggled, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxToolBarToolBase_GetNormalBitmapBundle, "GetNormalBitmapBundle() -> BitmapBundle\n"
"\n"
"Return the bundle containing normal tool bitmaps.");

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

    {
        const ::wxToolBarToolBase *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = new ::wxBitmapBundle(sipCpp->GetNormalBitmapBundle());
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_ToolBarToolBase, sipName_GetNormalBitmapBundle, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxToolBarToolBase_GetDisabledBitmapBundle, "GetDisabledBitmapBundle() -> BitmapBundle\n"
"\n"
"Return the bundle containing disabled tool bitmaps.");

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

    {
        const ::wxToolBarToolBase *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = new ::wxBitmapBundle(sipCpp->GetDisabledBitmapBundle());
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_ToolBarToolBase, sipName_GetDisabledBitmapBundle, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxToolBarToolBase_GetNormalBitmap, "GetNormalBitmap() -> Bitmap");

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

    {
        const ::wxToolBarToolBase *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = new ::wxBitmap(sipCpp->GetNormalBitmap());
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_ToolBarToolBase, sipName_GetNormalBitmap, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxToolBarToolBase_GetDisabledBitmap, "GetDisabledBitmap() -> Bitmap");

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

    {
        const ::wxToolBarToolBase *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = new ::wxBitmap(sipCpp->GetDisabledBitmap());
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_ToolBarToolBase, sipName_GetDisabledBitmap, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxToolBarToolBase_GetBitmap, "GetBitmap() -> Bitmap");

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

    {
        const ::wxToolBarToolBase *sipCpp;

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

            PyErr_Clear();

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

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_ToolBarToolBase, sipName_GetBitmap, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxToolBarToolBase_GetLabel, "GetLabel() -> str");

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

    {
        const ::wxToolBarToolBase *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = new ::wxString(sipCpp->GetLabel());
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_ToolBarToolBase, sipName_GetLabel, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxToolBarToolBase_GetShortHelp, "GetShortHelp() -> str");

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

    {
        const ::wxToolBarToolBase *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = new ::wxString(sipCpp->GetShortHelp());
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_ToolBarToolBase, sipName_GetShortHelp, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxToolBarToolBase_GetLongHelp, "GetLongHelp() -> str");

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

    {
        const ::wxToolBarToolBase *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = new ::wxString(sipCpp->GetLongHelp());
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_ToolBarToolBase, sipName_GetLongHelp, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxToolBarToolBase_GetClientData, "GetClientData() -> PyUserData");

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

    {
        const ::wxToolBarToolBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxToolBarToolBase, &sipCpp))
        {
            ::wxPyUserData*sipRes = 0;
            int sipIsErr = 0;
        PyErr_Clear();
        Py_BEGIN_ALLOW_THREADS
        sipRes = _wxToolBarToolBase_GetClientData(sipCpp);
        Py_END_ALLOW_THREADS
        if (PyErr_Occurred()) sipIsErr = 1;

            if (sipIsErr)
                return 0;

            return sipConvertFromType(sipRes, sipType_wxPyUserData, SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_ToolBarToolBase, sipName_GetClientData, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxToolBarToolBase_Enable, "Enable(enable) -> bool");

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

    {
        bool enable;
        ::wxToolBarToolBase *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bb", &sipSelf, sipType_wxToolBarToolBase, &sipCpp, &enable))
        {
            bool sipRes;

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->Enable(enable);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_ToolBarToolBase, sipName_Enable, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxToolBarToolBase_Toggle, "Toggle(toggle) -> bool\n"
"Toggle() -> None\n"
"");

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

    {
        bool toggle;
        ::wxToolBarToolBase *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bb", &sipSelf, sipType_wxToolBarToolBase, &sipCpp, &toggle))
        {
            bool sipRes;

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->Toggle(toggle);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    {
        ::wxToolBarToolBase *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType_wxToolBarToolBase, &sipCpp))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipCpp->Toggle();
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_ToolBarToolBase, sipName_Toggle, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxToolBarToolBase_SetToggle, "SetToggle(toggle) -> bool");

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

    {
        bool toggle;
        ::wxToolBarToolBase *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bb", &sipSelf, sipType_wxToolBarToolBase, &sipCpp, &toggle))
        {
            bool sipRes;

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->SetToggle(toggle);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_ToolBarToolBase, sipName_SetToggle, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxToolBarToolBase_SetShortHelp, "SetShortHelp(help) -> bool");

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

    {
        const ::wxString* help;
        int helpState = 0;
        ::wxToolBarToolBase *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxToolBarToolBase, &sipCpp, sipType_wxString, &help, &helpState))
        {
            bool sipRes;

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->SetShortHelp(*help);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::wxString *>(help), sipType_wxString, helpState);

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_ToolBarToolBase, sipName_SetShortHelp, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxToolBarToolBase_SetLongHelp, "SetLongHelp(help) -> bool");

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

    {
        const ::wxString* help;
        int helpState = 0;
        ::wxToolBarToolBase *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxToolBarToolBase, &sipCpp, sipType_wxString, &help, &helpState))
        {
            bool sipRes;

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->SetLongHelp(*help);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::wxString *>(help), sipType_wxString, helpState);

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_ToolBarToolBase, sipName_SetLongHelp, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxToolBarToolBase_SetNormalBitmap, "SetNormalBitmap(bmp) -> None");

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

    {
        const ::wxBitmapBundle* bmp;
        int bmpState = 0;
        ::wxToolBarToolBase *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxToolBarToolBase, &sipCpp, sipType_wxBitmapBundle, &bmp, &bmpState))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipCpp->SetNormalBitmap(*bmp);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::wxBitmapBundle *>(bmp), sipType_wxBitmapBundle, bmpState);

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_ToolBarToolBase, sipName_SetNormalBitmap, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxToolBarToolBase_SetDisabledBitmap, "SetDisabledBitmap(bmp) -> None");

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

    {
        const ::wxBitmapBundle* bmp;
        int bmpState = 0;
        ::wxToolBarToolBase *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxToolBarToolBase, &sipCpp, sipType_wxBitmapBundle, &bmp, &bmpState))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipCpp->SetDisabledBitmap(*bmp);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::wxBitmapBundle *>(bmp), sipType_wxBitmapBundle, bmpState);

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_ToolBarToolBase, sipName_SetDisabledBitmap, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxToolBarToolBase_SetLabel, "SetLabel(label) -> None");

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

    {
        const ::wxString* label;
        int labelState = 0;
        ::wxToolBarToolBase *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxToolBarToolBase, &sipCpp, sipType_wxString, &label, &labelState))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipCpp->SetLabel(*label);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::wxString *>(label), sipType_wxString, labelState);

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_ToolBarToolBase, sipName_SetLabel, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxToolBarToolBase_SetClientData, "SetClientData(clientData) -> None");

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

    {
        ::wxPyUserData* clientData;
        int clientDataState = 0;
        ::wxToolBarToolBase *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ2", &sipSelf, sipType_wxToolBarToolBase, &sipCpp, sipType_wxPyUserData, &clientData, &clientDataState))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipCpp->SetClientData(clientData);
            Py_END_ALLOW_THREADS
            sipReleaseType(clientData, sipType_wxPyUserData, clientDataState);

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_ToolBarToolBase, sipName_SetClientData, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxToolBarToolBase_Detach, "Detach() -> None");

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

    {
        ::wxToolBarToolBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxToolBarToolBase, &sipCpp))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipCpp->Detach();
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_ToolBarToolBase, sipName_Detach, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxToolBarToolBase_Attach, "Attach(tbar) -> None");

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

    {
        ::wxToolBar* tbar;
        ::wxToolBarToolBase *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8", &sipSelf, sipType_wxToolBarToolBase, &sipCpp, sipType_wxToolBar, &tbar))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipCpp->Attach(tbar);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_ToolBarToolBase, sipName_Attach, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxToolBarToolBase_SetDropdownMenu, "SetDropdownMenu(menu) -> None");

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

    {
        ::wxMenu* menu;
        ::wxToolBarToolBase *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ:", &sipSelf, sipType_wxToolBarToolBase, &sipCpp, sipType_wxMenu, &menu))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipCpp->SetDropdownMenu(menu);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_ToolBarToolBase, sipName_SetDropdownMenu, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxToolBarToolBase_GetDropdownMenu, "GetDropdownMenu() -> Menu");

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

    {
        const ::wxToolBarToolBase *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->GetDropdownMenu();
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return sipConvertFromType(sipRes, sipType_wxMenu, SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_ToolBarToolBase, sipName_GetDropdownMenu, SIP_NULLPTR);

    return SIP_NULLPTR;
}


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

    if (targetType == sipType_wxToolBarToolBase)
        return sipCppV;

    if (targetType == sipType_wxObject)
        return static_cast< ::wxObject *>(sipCpp);

    return SIP_NULLPTR;
}


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

    delete reinterpret_cast< ::wxToolBarToolBase *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_wxToolBarToolBase(sipSimpleWrapper *);}
static void dealloc_wxToolBarToolBase(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_wxToolBarToolBase(sipGetAddress(sipSelf), 0);
    }
}


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


static PyMethodDef methods_wxToolBarToolBase[] = {
    {sipName_Attach, SIP_MLMETH_CAST(meth_wxToolBarToolBase_Attach), METH_VARARGS|METH_KEYWORDS, doc_wxToolBarToolBase_Attach},
    {sipName_CanBeToggled, meth_wxToolBarToolBase_CanBeToggled, METH_VARARGS, doc_wxToolBarToolBase_CanBeToggled},
    {sipName_Detach, meth_wxToolBarToolBase_Detach, METH_VARARGS, doc_wxToolBarToolBase_Detach},
    {sipName_Enable, SIP_MLMETH_CAST(meth_wxToolBarToolBase_Enable), METH_VARARGS|METH_KEYWORDS, doc_wxToolBarToolBase_Enable},
    {sipName_GetBitmap, meth_wxToolBarToolBase_GetBitmap, METH_VARARGS, doc_wxToolBarToolBase_GetBitmap},
    {sipName_GetClientData, meth_wxToolBarToolBase_GetClientData, METH_VARARGS, doc_wxToolBarToolBase_GetClientData},
    {sipName_GetControl, meth_wxToolBarToolBase_GetControl, METH_VARARGS, doc_wxToolBarToolBase_GetControl},
    {sipName_GetDisabledBitmap, meth_wxToolBarToolBase_GetDisabledBitmap, METH_VARARGS, doc_wxToolBarToolBase_GetDisabledBitmap},
    {sipName_GetDisabledBitmapBundle, meth_wxToolBarToolBase_GetDisabledBitmapBundle, METH_VARARGS, doc_wxToolBarToolBase_GetDisabledBitmapBundle},
    {sipName_GetDropdownMenu, meth_wxToolBarToolBase_GetDropdownMenu, METH_VARARGS, doc_wxToolBarToolBase_GetDropdownMenu},
    {sipName_GetId, meth_wxToolBarToolBase_GetId, METH_VARARGS, doc_wxToolBarToolBase_GetId},
    {sipName_GetKind, meth_wxToolBarToolBase_GetKind, METH_VARARGS, doc_wxToolBarToolBase_GetKind},
    {sipName_GetLabel, meth_wxToolBarToolBase_GetLabel, METH_VARARGS, doc_wxToolBarToolBase_GetLabel},
    {sipName_GetLongHelp, meth_wxToolBarToolBase_GetLongHelp, METH_VARARGS, doc_wxToolBarToolBase_GetLongHelp},
    {sipName_GetNormalBitmap, meth_wxToolBarToolBase_GetNormalBitmap, METH_VARARGS, doc_wxToolBarToolBase_GetNormalBitmap},
    {sipName_GetNormalBitmapBundle, meth_wxToolBarToolBase_GetNormalBitmapBundle, METH_VARARGS, doc_wxToolBarToolBase_GetNormalBitmapBundle},
    {sipName_GetShortHelp, meth_wxToolBarToolBase_GetShortHelp, METH_VARARGS, doc_wxToolBarToolBase_GetShortHelp},
    {sipName_GetStyle, meth_wxToolBarToolBase_GetStyle, METH_VARARGS, doc_wxToolBarToolBase_GetStyle},
    {sipName_GetToolBar, meth_wxToolBarToolBase_GetToolBar, METH_VARARGS, doc_wxToolBarToolBase_GetToolBar},
    {sipName_IsButton, meth_wxToolBarToolBase_IsButton, METH_VARARGS, doc_wxToolBarToolBase_IsButton},
    {sipName_IsControl, meth_wxToolBarToolBase_IsControl, METH_VARARGS, doc_wxToolBarToolBase_IsControl},
    {sipName_IsEnabled, meth_wxToolBarToolBase_IsEnabled, METH_VARARGS, doc_wxToolBarToolBase_IsEnabled},
    {sipName_IsSeparator, meth_wxToolBarToolBase_IsSeparator, METH_VARARGS, doc_wxToolBarToolBase_IsSeparator},
    {sipName_IsStretchable, meth_wxToolBarToolBase_IsStretchable, METH_VARARGS, doc_wxToolBarToolBase_IsStretchable},
    {sipName_IsStretchableSpace, meth_wxToolBarToolBase_IsStretchableSpace, METH_VARARGS, doc_wxToolBarToolBase_IsStretchableSpace},
    {sipName_IsToggled, meth_wxToolBarToolBase_IsToggled, METH_VARARGS, doc_wxToolBarToolBase_IsToggled},
    {sipName_MakeStretchable, meth_wxToolBarToolBase_MakeStretchable, METH_VARARGS, doc_wxToolBarToolBase_MakeStretchable},
    {sipName_SetClientData, SIP_MLMETH_CAST(meth_wxToolBarToolBase_SetClientData), METH_VARARGS|METH_KEYWORDS, doc_wxToolBarToolBase_SetClientData},
    {sipName_SetDisabledBitmap, SIP_MLMETH_CAST(meth_wxToolBarToolBase_SetDisabledBitmap), METH_VARARGS|METH_KEYWORDS, doc_wxToolBarToolBase_SetDisabledBitmap},
    {sipName_SetDropdownMenu, SIP_MLMETH_CAST(meth_wxToolBarToolBase_SetDropdownMenu), METH_VARARGS|METH_KEYWORDS, doc_wxToolBarToolBase_SetDropdownMenu},
    {sipName_SetLabel, SIP_MLMETH_CAST(meth_wxToolBarToolBase_SetLabel), METH_VARARGS|METH_KEYWORDS, doc_wxToolBarToolBase_SetLabel},
    {sipName_SetLongHelp, SIP_MLMETH_CAST(meth_wxToolBarToolBase_SetLongHelp), METH_VARARGS|METH_KEYWORDS, doc_wxToolBarToolBase_SetLongHelp},
    {sipName_SetNormalBitmap, SIP_MLMETH_CAST(meth_wxToolBarToolBase_SetNormalBitmap), METH_VARARGS|METH_KEYWORDS, doc_wxToolBarToolBase_SetNormalBitmap},
    {sipName_SetShortHelp, SIP_MLMETH_CAST(meth_wxToolBarToolBase_SetShortHelp), METH_VARARGS|METH_KEYWORDS, doc_wxToolBarToolBase_SetShortHelp},
    {sipName_SetToggle, SIP_MLMETH_CAST(meth_wxToolBarToolBase_SetToggle), METH_VARARGS|METH_KEYWORDS, doc_wxToolBarToolBase_SetToggle},
    {sipName_Toggle, SIP_MLMETH_CAST(meth_wxToolBarToolBase_Toggle), METH_VARARGS|METH_KEYWORDS, doc_wxToolBarToolBase_Toggle}
};

sipVariableDef variables_wxToolBarToolBase[] = {
    {PropertyVariable, sipName_ToolBar, &methods_wxToolBarToolBase[18], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    {PropertyVariable, sipName_Style, &methods_wxToolBarToolBase[17], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    {PropertyVariable, sipName_ShortHelp, &methods_wxToolBarToolBase[16], &methods_wxToolBarToolBase[33], SIP_NULLPTR, SIP_NULLPTR},
    {PropertyVariable, sipName_NormalBitmapBundle, &methods_wxToolBarToolBase[15], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    {PropertyVariable, sipName_NormalBitmap, &methods_wxToolBarToolBase[14], &methods_wxToolBarToolBase[32], SIP_NULLPTR, SIP_NULLPTR},
    {PropertyVariable, sipName_LongHelp, &methods_wxToolBarToolBase[13], &methods_wxToolBarToolBase[31], SIP_NULLPTR, SIP_NULLPTR},
    {PropertyVariable, sipName_Label, &methods_wxToolBarToolBase[12], &methods_wxToolBarToolBase[30], SIP_NULLPTR, SIP_NULLPTR},
    {PropertyVariable, sipName_Kind, &methods_wxToolBarToolBase[11], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    {PropertyVariable, sipName_Id, &methods_wxToolBarToolBase[10], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    {PropertyVariable, sipName_DropdownMenu, &methods_wxToolBarToolBase[9], &methods_wxToolBarToolBase[29], SIP_NULLPTR, SIP_NULLPTR},
    {PropertyVariable, sipName_DisabledBitmapBundle, &methods_wxToolBarToolBase[8], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    {PropertyVariable, sipName_DisabledBitmap, &methods_wxToolBarToolBase[7], &methods_wxToolBarToolBase[28], SIP_NULLPTR, SIP_NULLPTR},
    {PropertyVariable, sipName_Control, &methods_wxToolBarToolBase[6], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    {PropertyVariable, sipName_ClientData, &methods_wxToolBarToolBase[5], &methods_wxToolBarToolBase[27], SIP_NULLPTR, SIP_NULLPTR},
    {PropertyVariable, sipName_Bitmap, &methods_wxToolBarToolBase[4], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
};

PyDoc_STRVAR(doc_wxToolBarToolBase, "ToolBarToolBase(tbar=None, toolid=ID_SEPARATOR, label='', bmpNormal=NullBitmap, bmpDisabled=NullBitmap, kind=ITEM_NORMAL, clientData=None, shortHelpString='', longHelpString='') -> None\n"
"ToolBarToolBase(tbar, control, label) -> None\n"
"\n"
"A toolbar tool represents one item on the toolbar.");


sipClassTypeDef sipTypeDef__core_wxToolBarToolBase = {
    {
        -1,
        SIP_NULLPTR,
        SIP_NULLPTR,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_wxToolBarToolBase,
        SIP_NULLPTR,
        SIP_NULLPTR,
    },
    {
        sipNameNr_ToolBarToolBase,
        {0, 0, 1},
        36, methods_wxToolBarToolBase,
        0, SIP_NULLPTR,
        15, variables_wxToolBarToolBase,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    doc_wxToolBarToolBase,
    -1,
    -1,
    supers_wxToolBarToolBase,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_wxToolBarToolBase,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    release_wxToolBarToolBase,
    cast_wxToolBarToolBase,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    0,
};
