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

#include "sipAPI_html.h"
        #include <wx/htmllbox.h>
        #include <wx/window.h>
        #include <wx/gdicmn.h>
        #include <wx/gdicmn.h>
        #include <wx/validate.h>
        #include <wx/window.h>
        #include <wx/event.h>
        #include <wx/colour.h>
        #include <wx/html/htmlcell.h>
        #include <wx/dc.h>
        #include <wx/gdicmn.h>
        #include <wx/filesys.h>
        #include <wx/event.h>
    #include <wx/setup.h>
    #include <wxPython/wxpy_api.h>
        #include <wx/event.h>
        #include <wx/cursor.h>
        #include <wx/caret.h>
        #include <wx/layout.h>
        #include <wx/sizer.h>
        #include <wx/dnd.h>
        #include <wx/access.h>
        #include <wx/accel.h>
        #include <wx/menu.h>
        #include <wx/tooltip.h>
        #include <wx/event.h>
        #include <wx/event.h>
        #include <wx/event.h>
        #include <wx/palette.h>
        #include <wx/font.h>
        #include <wx/region.h>
        #include <wx/eventfilter.h>
        #include <wx/object.h>
        #include <wx/object.h>
        #include <wx/object.h>


class sipwxSimpleHtmlListBox : public ::wxSimpleHtmlListBox
{
public:
    sipwxSimpleHtmlListBox(::wxWindow*, ::wxWindowID, const ::wxPoint&, const ::wxSize&, const ::wxArrayString&, long, const ::wxValidator&, const ::wxString&);
    sipwxSimpleHtmlListBox();
    virtual ~sipwxSimpleHtmlListBox();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtectVirt_OnGetRowsHeightHint(bool, size_t, size_t) const;
    ::wxCoord sipProtectVirt_EstimateTotalHeight(bool) const;
    void sipProtectVirt_OnGetUnitsSizeHint(bool, size_t, size_t) const;
    ::wxCoord sipProtectVirt_EstimateTotalSize(bool) const;
    int sipProtectVirt_GetNonOrientationTargetSize(bool) const;
    ::wxOrientation sipProtectVirt_GetOrientation(bool) const;
    int sipProtectVirt_GetOrientationTargetSize(bool) const;
    ::wxCoord sipProtectVirt_OnGetUnitSize(bool, size_t) const;
    void sipProtect_SendDestroyEvent();
    void sipProtectVirt_OnDrawBackground(bool, ::wxDC&, const ::wxRect&, size_t) const;
    void sipProtectVirt_OnDrawSeparator(bool, ::wxDC&, ::wxRect&, size_t) const;
    ::wxCoord sipProtectVirt_OnGetRowHeight(bool, size_t) const;
    void sipProtectVirt_OnDrawItem(bool, ::wxDC&, const ::wxRect&, size_t) const;
    ::wxCoord sipProtectVirt_OnMeasureItem(bool, size_t) const;
    void sipProtectVirt_OnLinkClicked(bool, size_t, const ::wxHtmlLinkInfo&);
    ::wxColour sipProtectVirt_GetSelectedTextBgColour(bool, const ::wxColour&) const;
    ::wxColour sipProtectVirt_GetSelectedTextColour(bool, const ::wxColour&) const;
    ::wxString sipProtectVirt_OnGetItemMarkup(bool, size_t) const;
    bool sipProtectVirt_ProcessEvent(bool, ::wxEvent&);
    void sipProtectVirt_DoEnable(bool, bool);
    void sipProtectVirt_DoGetPosition(bool, int*, int*) const;
    void sipProtectVirt_DoGetSize(bool, int*, int*) const;
    void sipProtectVirt_DoGetClientSize(bool, int*, int*) const;
    ::wxSize sipProtectVirt_DoGetBestSize(bool) const;
    ::wxSize sipProtectVirt_DoGetBestClientSize(bool) const;
    void sipProtectVirt_DoSetSize(bool, int, int, int, int, int);
    void sipProtectVirt_DoSetClientSize(bool, int, int);
    void sipProtectVirt_DoSetSizeHints(bool, int, int, int, int, int, int);
    void sipProtectVirt_DoMoveWindow(bool, int, int, int, int);
    void sipProtectVirt_DoSetWindowVariant(bool, ::wxWindowVariant);
    ::wxBorder sipProtectVirt_GetDefaultBorder(bool) const;
    ::wxBorder sipProtectVirt_GetDefaultBorderForControl(bool) const;
    void sipProtectVirt_DoFreeze(bool);
    void sipProtectVirt_DoThaw(bool);
    bool sipProtectVirt_HasTransparentBackground(bool);
    bool sipProtectVirt_TryBefore(bool, ::wxEvent&);
    bool sipProtectVirt_TryAfter(bool, ::wxEvent&);
    ::wxString sipProtectVirt_OnGetItem(bool, size_t) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    ::wxString GetStringSelection() const SIP_OVERRIDE;
    int GetSelection() const SIP_OVERRIDE;
    void SetSelection(int) SIP_OVERRIDE;
    int FindString(const ::wxString&, bool) const SIP_OVERRIDE;
    void SetString(uint, const ::wxString&) SIP_OVERRIDE;
    ::wxString GetString(uint) const SIP_OVERRIDE;
    uint GetCount() const SIP_OVERRIDE;
    ::wxCoord OnMeasureItem(size_t) const SIP_OVERRIDE;
    void OnDrawSeparator(::wxDC&, ::wxRect&, size_t) const SIP_OVERRIDE;
    void OnDrawBackground(::wxDC&, const ::wxRect&, size_t) const SIP_OVERRIDE;
    void OnDrawItem(::wxDC&, const ::wxRect&, size_t) const SIP_OVERRIDE;
    void RemoveChild(::wxWindowBase*) SIP_OVERRIDE;
    void AddChild(::wxWindowBase*) SIP_OVERRIDE;
    bool ProcessEvent(::wxEvent&) SIP_OVERRIDE;
    bool TryBefore(::wxEvent&) SIP_OVERRIDE;
    bool TryAfter(::wxEvent&) SIP_OVERRIDE;
    bool AcceptsFocus() const SIP_OVERRIDE;
    bool AcceptsFocusFromKeyboard() const SIP_OVERRIDE;
    bool AcceptsFocusRecursively() const SIP_OVERRIDE;
    void SetCanFocus(bool) SIP_OVERRIDE;
    void EnableVisibleFocus(bool) SIP_OVERRIDE;
    bool InformFirstDirection(int, int, int) SIP_OVERRIDE;
    ::wxPoint GetClientAreaOrigin() const SIP_OVERRIDE;
    bool HasTransparentBackground() SIP_OVERRIDE;
    bool ShouldInheritColours() const SIP_OVERRIDE;
    ::wxValidator* GetValidator() SIP_OVERRIDE;
    void SetValidator(const ::wxValidator&) SIP_OVERRIDE;
    bool TransferDataFromWindow() SIP_OVERRIDE;
    bool TransferDataToWindow() SIP_OVERRIDE;
    bool Validate() SIP_OVERRIDE;
    bool Destroy() SIP_OVERRIDE;
    void InheritAttributes() SIP_OVERRIDE;
    void InitDialog() SIP_OVERRIDE;
    void OnInternalIdle() SIP_OVERRIDE;
    ::wxWindow* GetMainWindowOfCompositeControl() SIP_OVERRIDE;
    void DoEnable(bool) SIP_OVERRIDE;
    void DoGetPosition(int*, int*) const SIP_OVERRIDE;
    void DoGetSize(int*, int*) const SIP_OVERRIDE;
    void DoGetClientSize(int*, int*) const SIP_OVERRIDE;
    void DoSetSize(int, int, int, int, int) SIP_OVERRIDE;
    void DoSetClientSize(int, int) SIP_OVERRIDE;
    void DoSetSizeHints(int, int, int, int, int, int) SIP_OVERRIDE;
    void DoMoveWindow(int, int, int, int) SIP_OVERRIDE;
    void DoSetWindowVariant(::wxWindowVariant) SIP_OVERRIDE;
    ::wxBorder GetDefaultBorder() const SIP_OVERRIDE;
    ::wxBorder GetDefaultBorderForControl() const SIP_OVERRIDE;
    void DoFreeze() SIP_OVERRIDE;
    void DoThaw() SIP_OVERRIDE;
    ::wxSize DoGetBestSize() const SIP_OVERRIDE;
    ::wxSize DoGetBestClientSize() const SIP_OVERRIDE;
    ::wxCoord OnGetRowHeight(size_t) const SIP_OVERRIDE;
    ::wxCoord EstimateTotalHeight() const SIP_OVERRIDE;
    void OnGetRowsHeightHint(size_t, size_t) const SIP_OVERRIDE;
    bool ScrollRows(int) SIP_OVERRIDE;
    bool ScrollRowPages(int) SIP_OVERRIDE;
    void RefreshRows(size_t, size_t) SIP_OVERRIDE;
    void RefreshRow(size_t) SIP_OVERRIDE;
    int GetNonOrientationTargetSize() const SIP_OVERRIDE;
    ::wxOrientation GetOrientation() const SIP_OVERRIDE;
    int GetOrientationTargetSize() const SIP_OVERRIDE;
    void OnGetUnitsSizeHint(size_t, size_t) const SIP_OVERRIDE;
    ::wxCoord EstimateTotalSize() const SIP_OVERRIDE;
    ::wxCoord OnGetUnitSize(size_t) const SIP_OVERRIDE;
    void OnLinkClicked(size_t, const ::wxHtmlLinkInfo&) SIP_OVERRIDE;
    ::wxColour GetSelectedTextBgColour(const ::wxColour&) const SIP_OVERRIDE;
    ::wxColour GetSelectedTextColour(const ::wxColour&) const SIP_OVERRIDE;
    ::wxString OnGetItemMarkup(size_t) const SIP_OVERRIDE;
    ::wxString OnGetItem(size_t) const SIP_OVERRIDE;

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[68];
};

sipwxSimpleHtmlListBox::sipwxSimpleHtmlListBox(::wxWindow*parent, ::wxWindowID id, const ::wxPoint& pos, const ::wxSize& size, const ::wxArrayString& choices, long style, const ::wxValidator& validator, const ::wxString& name): ::wxSimpleHtmlListBox(parent, id, pos, size, choices, style, validator, name), sipPySelf(SIP_NULLPTR)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipwxSimpleHtmlListBox::sipwxSimpleHtmlListBox(): ::wxSimpleHtmlListBox(), sipPySelf(SIP_NULLPTR)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

::wxString sipwxSimpleHtmlListBox::GetStringSelection() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::wxSimpleHtmlListBox::GetStringSelection();

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

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

int sipwxSimpleHtmlListBox::GetSelection() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::wxSimpleHtmlListBox::GetSelection();

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

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

void sipwxSimpleHtmlListBox::SetSelection(int n)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[2], &sipPySelf, SIP_NULLPTR, sipName_SetSelection);

    if (!sipMeth)
    {
        ::wxSimpleHtmlListBox::SetSelection(n);
        return;
    }

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

    sipVH__html_10(sipGILState, 0, sipPySelf, sipMeth, n);
}

int sipwxSimpleHtmlListBox::FindString(const ::wxString& string, bool caseSensitive) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::wxSimpleHtmlListBox::FindString(string, caseSensitive);

    extern int sipVH__html_88(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxString&, bool);

    return sipVH__html_88(sipGILState, 0, sipPySelf, sipMeth, string, caseSensitive);
}

void sipwxSimpleHtmlListBox::SetString(uint n, const ::wxString& s)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[4], &sipPySelf, SIP_NULLPTR, sipName_SetString);

    if (!sipMeth)
    {
        ::wxSimpleHtmlListBox::SetString(n, s);
        return;
    }

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

    sipVH__html_87(sipGILState, 0, sipPySelf, sipMeth, n, s);
}

::wxString sipwxSimpleHtmlListBox::GetString(uint n) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::wxSimpleHtmlListBox::GetString(n);

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

    return sipVH__html_86(sipGILState, 0, sipPySelf, sipMeth, n);
}

uint sipwxSimpleHtmlListBox::GetCount() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::wxSimpleHtmlListBox::GetCount();

    extern uint sipVH__html_85(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

::wxCoord sipwxSimpleHtmlListBox::OnMeasureItem(size_t n) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::wxSimpleHtmlListBox::OnMeasureItem(n);

    extern ::wxCoord sipVH__html_76(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, size_t);

    return sipVH__html_76(sipGILState, 0, sipPySelf, sipMeth, n);
}

void sipwxSimpleHtmlListBox::OnDrawSeparator(::wxDC& dc, ::wxRect& rect, size_t n) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        ::wxSimpleHtmlListBox::OnDrawSeparator(dc, rect, n);
        return;
    }

    extern void sipVH__html_77(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxDC&, ::wxRect&, size_t);

    sipVH__html_77(sipGILState, 0, sipPySelf, sipMeth, dc, rect, n);
}

void sipwxSimpleHtmlListBox::OnDrawBackground(::wxDC& dc, const ::wxRect& rect, size_t n) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        ::wxSimpleHtmlListBox::OnDrawBackground(dc, rect, n);
        return;
    }

    extern void sipVH__html_78(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxDC&, const ::wxRect&, size_t);

    sipVH__html_78(sipGILState, 0, sipPySelf, sipMeth, dc, rect, n);
}

void sipwxSimpleHtmlListBox::OnDrawItem(::wxDC& dc, const ::wxRect& rect, size_t n) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        ::wxSimpleHtmlListBox::OnDrawItem(dc, rect, n);
        return;
    }

    extern void sipVH__html_78(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxDC&, const ::wxRect&, size_t);

    sipVH__html_78(sipGILState, 0, sipPySelf, sipMeth, dc, rect, n);
}

void sipwxSimpleHtmlListBox::RemoveChild(::wxWindowBase*child)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[11], &sipPySelf, SIP_NULLPTR, sipName_RemoveChild);

    if (!sipMeth)
    {
        ::wxSimpleHtmlListBox::RemoveChild(child);
        return;
    }

    extern void sipVH__html_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxWindowBase*);

    sipVH__html_33(sipGILState, 0, sipPySelf, sipMeth, child);
}

void sipwxSimpleHtmlListBox::AddChild(::wxWindowBase*child)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[12], &sipPySelf, SIP_NULLPTR, sipName_AddChild);

    if (!sipMeth)
    {
        ::wxSimpleHtmlListBox::AddChild(child);
        return;
    }

    extern void sipVH__html_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxWindowBase*);

    sipVH__html_33(sipGILState, 0, sipPySelf, sipMeth, child);
}

bool sipwxSimpleHtmlListBox::ProcessEvent(::wxEvent& event)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::wxSimpleHtmlListBox::ProcessEvent(event);

    extern bool sipVH__html_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxEvent&);

    return sipVH__html_34(sipGILState, 0, sipPySelf, sipMeth, event);
}

bool sipwxSimpleHtmlListBox::TryBefore(::wxEvent& event)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::wxSimpleHtmlListBox::TryBefore(event);

    extern bool sipVH__html_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxEvent&);

    return sipVH__html_34(sipGILState, 0, sipPySelf, sipMeth, event);
}

bool sipwxSimpleHtmlListBox::TryAfter(::wxEvent& event)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::wxSimpleHtmlListBox::TryAfter(event);

    extern bool sipVH__html_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxEvent&);

    return sipVH__html_34(sipGILState, 0, sipPySelf, sipMeth, event);
}

bool sipwxSimpleHtmlListBox::AcceptsFocus() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::wxSimpleHtmlListBox::AcceptsFocus();

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

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

bool sipwxSimpleHtmlListBox::AcceptsFocusFromKeyboard() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::wxSimpleHtmlListBox::AcceptsFocusFromKeyboard();

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

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

bool sipwxSimpleHtmlListBox::AcceptsFocusRecursively() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::wxSimpleHtmlListBox::AcceptsFocusRecursively();

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

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

void sipwxSimpleHtmlListBox::SetCanFocus(bool canFocus)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        ::wxSimpleHtmlListBox::SetCanFocus(canFocus);
        return;
    }

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

    sipVH__html_36(sipGILState, 0, sipPySelf, sipMeth, canFocus);
}

void sipwxSimpleHtmlListBox::EnableVisibleFocus(bool enabled)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        ::wxSimpleHtmlListBox::EnableVisibleFocus(enabled);
        return;
    }

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

    sipVH__html_36(sipGILState, 0, sipPySelf, sipMeth, enabled);
}

bool sipwxSimpleHtmlListBox::InformFirstDirection(int direction, int size, int availableOtherDir)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::wxSimpleHtmlListBox::InformFirstDirection(direction, size, availableOtherDir);

    extern bool sipVH__html_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, int, int);

    return sipVH__html_37(sipGILState, 0, sipPySelf, sipMeth, direction, size, availableOtherDir);
}

::wxPoint sipwxSimpleHtmlListBox::GetClientAreaOrigin() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::wxSimpleHtmlListBox::GetClientAreaOrigin();

    extern ::wxPoint sipVH__html_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

bool sipwxSimpleHtmlListBox::HasTransparentBackground()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::wxSimpleHtmlListBox::HasTransparentBackground();

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

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

bool sipwxSimpleHtmlListBox::ShouldInheritColours() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::wxSimpleHtmlListBox::ShouldInheritColours();

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

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

::wxValidator* sipwxSimpleHtmlListBox::GetValidator()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[25], &sipPySelf, SIP_NULLPTR, sipName_GetValidator);

    if (!sipMeth)
        return ::wxSimpleHtmlListBox::GetValidator();

    extern ::wxValidator* sipVH__html_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

void sipwxSimpleHtmlListBox::SetValidator(const ::wxValidator& validator)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[26], &sipPySelf, SIP_NULLPTR, sipName_SetValidator);

    if (!sipMeth)
    {
        ::wxSimpleHtmlListBox::SetValidator(validator);
        return;
    }

    extern void sipVH__html_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxValidator&);

    sipVH__html_40(sipGILState, 0, sipPySelf, sipMeth, validator);
}

bool sipwxSimpleHtmlListBox::TransferDataFromWindow()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[27], &sipPySelf, SIP_NULLPTR, sipName_TransferDataFromWindow);

    if (!sipMeth)
        return ::wxSimpleHtmlListBox::TransferDataFromWindow();

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

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

bool sipwxSimpleHtmlListBox::TransferDataToWindow()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[28], &sipPySelf, SIP_NULLPTR, sipName_TransferDataToWindow);

    if (!sipMeth)
        return ::wxSimpleHtmlListBox::TransferDataToWindow();

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

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

bool sipwxSimpleHtmlListBox::Validate()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[29], &sipPySelf, SIP_NULLPTR, sipName_Validate);

    if (!sipMeth)
        return ::wxSimpleHtmlListBox::Validate();

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

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

bool sipwxSimpleHtmlListBox::Destroy()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[30], &sipPySelf, SIP_NULLPTR, sipName_Destroy);

    if (!sipMeth)
        return ::wxSimpleHtmlListBox::Destroy();

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

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

void sipwxSimpleHtmlListBox::InheritAttributes()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[31], &sipPySelf, SIP_NULLPTR, sipName_InheritAttributes);

    if (!sipMeth)
    {
        ::wxSimpleHtmlListBox::InheritAttributes();
        return;
    }

    extern void sipVH__html_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH__html_20(sipGILState, 0, sipPySelf, sipMeth);
}

void sipwxSimpleHtmlListBox::InitDialog()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[32], &sipPySelf, SIP_NULLPTR, sipName_InitDialog);

    if (!sipMeth)
    {
        ::wxSimpleHtmlListBox::InitDialog();
        return;
    }

    extern void sipVH__html_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH__html_20(sipGILState, 0, sipPySelf, sipMeth);
}

void sipwxSimpleHtmlListBox::OnInternalIdle()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[33], &sipPySelf, SIP_NULLPTR, sipName_OnInternalIdle);

    if (!sipMeth)
    {
        ::wxSimpleHtmlListBox::OnInternalIdle();
        return;
    }

    extern void sipVH__html_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH__html_20(sipGILState, 0, sipPySelf, sipMeth);
}

::wxWindow* sipwxSimpleHtmlListBox::GetMainWindowOfCompositeControl()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[34], &sipPySelf, SIP_NULLPTR, sipName_GetMainWindowOfCompositeControl);

    if (!sipMeth)
        return ::wxSimpleHtmlListBox::GetMainWindowOfCompositeControl();

    extern ::wxWindow* sipVH__html_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

void sipwxSimpleHtmlListBox::DoEnable(bool enable)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[35], &sipPySelf, SIP_NULLPTR, sipName_DoEnable);

    if (!sipMeth)
    {
        ::wxSimpleHtmlListBox::DoEnable(enable);
        return;
    }

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

    sipVH__html_36(sipGILState, 0, sipPySelf, sipMeth, enable);
}

void sipwxSimpleHtmlListBox::DoGetPosition(int*x, int*y) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        ::wxSimpleHtmlListBox::DoGetPosition(x, y);
        return;
    }

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

    sipVH__html_41(sipGILState, 0, sipPySelf, sipMeth, x, y);
}

void sipwxSimpleHtmlListBox::DoGetSize(int*width, int*height) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        ::wxSimpleHtmlListBox::DoGetSize(width, height);
        return;
    }

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

    sipVH__html_41(sipGILState, 0, sipPySelf, sipMeth, width, height);
}

void sipwxSimpleHtmlListBox::DoGetClientSize(int*width, int*height) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        ::wxSimpleHtmlListBox::DoGetClientSize(width, height);
        return;
    }

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

    sipVH__html_41(sipGILState, 0, sipPySelf, sipMeth, width, height);
}

void sipwxSimpleHtmlListBox::DoSetSize(int x, int y, int width, int height, int sizeFlags)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[39], &sipPySelf, SIP_NULLPTR, sipName_DoSetSize);

    if (!sipMeth)
    {
        ::wxSimpleHtmlListBox::DoSetSize(x, y, width, height, sizeFlags);
        return;
    }

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

    sipVH__html_42(sipGILState, 0, sipPySelf, sipMeth, x, y, width, height, sizeFlags);
}

void sipwxSimpleHtmlListBox::DoSetClientSize(int width, int height)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[40], &sipPySelf, SIP_NULLPTR, sipName_DoSetClientSize);

    if (!sipMeth)
    {
        ::wxSimpleHtmlListBox::DoSetClientSize(width, height);
        return;
    }

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

    sipVH__html_12(sipGILState, 0, sipPySelf, sipMeth, width, height);
}

void sipwxSimpleHtmlListBox::DoSetSizeHints(int minW, int minH, int maxW, int maxH, int incW, int incH)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[41], &sipPySelf, SIP_NULLPTR, sipName_DoSetSizeHints);

    if (!sipMeth)
    {
        ::wxSimpleHtmlListBox::DoSetSizeHints(minW, minH, maxW, maxH, incW, incH);
        return;
    }

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

    sipVH__html_43(sipGILState, 0, sipPySelf, sipMeth, minW, minH, maxW, maxH, incW, incH);
}

void sipwxSimpleHtmlListBox::DoMoveWindow(int x, int y, int width, int height)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[42], &sipPySelf, SIP_NULLPTR, sipName_DoMoveWindow);

    if (!sipMeth)
    {
        ::wxSimpleHtmlListBox::DoMoveWindow(x, y, width, height);
        return;
    }

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

    sipVH__html_44(sipGILState, 0, sipPySelf, sipMeth, x, y, width, height);
}

void sipwxSimpleHtmlListBox::DoSetWindowVariant(::wxWindowVariant variant)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[43], &sipPySelf, SIP_NULLPTR, sipName_DoSetWindowVariant);

    if (!sipMeth)
    {
        ::wxSimpleHtmlListBox::DoSetWindowVariant(variant);
        return;
    }

    extern void sipVH__html_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxWindowVariant);

    sipVH__html_45(sipGILState, 0, sipPySelf, sipMeth, variant);
}

::wxBorder sipwxSimpleHtmlListBox::GetDefaultBorder() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::wxSimpleHtmlListBox::GetDefaultBorder();

    extern ::wxBorder sipVH__html_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

::wxBorder sipwxSimpleHtmlListBox::GetDefaultBorderForControl() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::wxSimpleHtmlListBox::GetDefaultBorderForControl();

    extern ::wxBorder sipVH__html_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

void sipwxSimpleHtmlListBox::DoFreeze()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[46], &sipPySelf, SIP_NULLPTR, sipName_DoFreeze);

    if (!sipMeth)
    {
        ::wxSimpleHtmlListBox::DoFreeze();
        return;
    }

    extern void sipVH__html_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH__html_20(sipGILState, 0, sipPySelf, sipMeth);
}

void sipwxSimpleHtmlListBox::DoThaw()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[47], &sipPySelf, SIP_NULLPTR, sipName_DoThaw);

    if (!sipMeth)
    {
        ::wxSimpleHtmlListBox::DoThaw();
        return;
    }

    extern void sipVH__html_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH__html_20(sipGILState, 0, sipPySelf, sipMeth);
}

::wxSize sipwxSimpleHtmlListBox::DoGetBestSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::wxSimpleHtmlListBox::DoGetBestSize();

    extern ::wxSize sipVH__html_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

::wxSize sipwxSimpleHtmlListBox::DoGetBestClientSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::wxSimpleHtmlListBox::DoGetBestClientSize();

    extern ::wxSize sipVH__html_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

::wxCoord sipwxSimpleHtmlListBox::OnGetRowHeight(size_t n) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::wxSimpleHtmlListBox::OnGetRowHeight(n);

    extern ::wxCoord sipVH__html_76(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, size_t);

    return sipVH__html_76(sipGILState, 0, sipPySelf, sipMeth, n);
}

::wxCoord sipwxSimpleHtmlListBox::EstimateTotalHeight() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::wxSimpleHtmlListBox::EstimateTotalHeight();

    extern ::wxCoord sipVH__html_79(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

void sipwxSimpleHtmlListBox::OnGetRowsHeightHint(size_t rowMin, size_t rowMax) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        ::wxSimpleHtmlListBox::OnGetRowsHeightHint(rowMin, rowMax);
        return;
    }

    extern void sipVH__html_80(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, size_t, size_t);

    sipVH__html_80(sipGILState, 0, sipPySelf, sipMeth, rowMin, rowMax);
}

bool sipwxSimpleHtmlListBox::ScrollRows(int rows)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[53], &sipPySelf, SIP_NULLPTR, sipName_ScrollRows);

    if (!sipMeth)
        return ::wxSimpleHtmlListBox::ScrollRows(rows);

    extern bool sipVH__html_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH__html_56(sipGILState, 0, sipPySelf, sipMeth, rows);
}

bool sipwxSimpleHtmlListBox::ScrollRowPages(int pages)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[54], &sipPySelf, SIP_NULLPTR, sipName_ScrollRowPages);

    if (!sipMeth)
        return ::wxSimpleHtmlListBox::ScrollRowPages(pages);

    extern bool sipVH__html_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH__html_56(sipGILState, 0, sipPySelf, sipMeth, pages);
}

void sipwxSimpleHtmlListBox::RefreshRows(size_t from_, size_t to_)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[55], &sipPySelf, SIP_NULLPTR, sipName_RefreshRows);

    if (!sipMeth)
    {
        ::wxSimpleHtmlListBox::RefreshRows(from_, to_);
        return;
    }

    extern void sipVH__html_80(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, size_t, size_t);

    sipVH__html_80(sipGILState, 0, sipPySelf, sipMeth, from_, to_);
}

void sipwxSimpleHtmlListBox::RefreshRow(size_t row)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[56], &sipPySelf, SIP_NULLPTR, sipName_RefreshRow);

    if (!sipMeth)
    {
        ::wxSimpleHtmlListBox::RefreshRow(row);
        return;
    }

    extern void sipVH__html_81(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, size_t);

    sipVH__html_81(sipGILState, 0, sipPySelf, sipMeth, row);
}

int sipwxSimpleHtmlListBox::GetNonOrientationTargetSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::wxSimpleHtmlListBox::GetNonOrientationTargetSize();

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

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

::wxOrientation sipwxSimpleHtmlListBox::GetOrientation() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::wxSimpleHtmlListBox::GetOrientation();

    extern ::wxOrientation sipVH__html_82(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

int sipwxSimpleHtmlListBox::GetOrientationTargetSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::wxSimpleHtmlListBox::GetOrientationTargetSize();

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

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

void sipwxSimpleHtmlListBox::OnGetUnitsSizeHint(size_t unitMin, size_t unitMax) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        ::wxSimpleHtmlListBox::OnGetUnitsSizeHint(unitMin, unitMax);
        return;
    }

    extern void sipVH__html_80(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, size_t, size_t);

    sipVH__html_80(sipGILState, 0, sipPySelf, sipMeth, unitMin, unitMax);
}

::wxCoord sipwxSimpleHtmlListBox::EstimateTotalSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::wxSimpleHtmlListBox::EstimateTotalSize();

    extern ::wxCoord sipVH__html_79(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

::wxCoord sipwxSimpleHtmlListBox::OnGetUnitSize(size_t unit) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::wxSimpleHtmlListBox::OnGetUnitSize(unit);

    extern ::wxCoord sipVH__html_76(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, size_t);

    return sipVH__html_76(sipGILState, 0, sipPySelf, sipMeth, unit);
}

void sipwxSimpleHtmlListBox::OnLinkClicked(size_t n, const ::wxHtmlLinkInfo& link)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[63], &sipPySelf, SIP_NULLPTR, sipName_OnLinkClicked);

    if (!sipMeth)
    {
        ::wxSimpleHtmlListBox::OnLinkClicked(n, link);
        return;
    }

    extern void sipVH__html_83(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, size_t, const ::wxHtmlLinkInfo&);

    sipVH__html_83(sipGILState, 0, sipPySelf, sipMeth, n, link);
}

::wxColour sipwxSimpleHtmlListBox::GetSelectedTextBgColour(const ::wxColour& colBg) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::wxSimpleHtmlListBox::GetSelectedTextBgColour(colBg);

    extern ::wxColour sipVH__html_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxColour&);

    return sipVH__html_0(sipGILState, 0, sipPySelf, sipMeth, colBg);
}

::wxColour sipwxSimpleHtmlListBox::GetSelectedTextColour(const ::wxColour& colFg) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::wxSimpleHtmlListBox::GetSelectedTextColour(colFg);

    extern ::wxColour sipVH__html_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxColour&);

    return sipVH__html_0(sipGILState, 0, sipPySelf, sipMeth, colFg);
}

::wxString sipwxSimpleHtmlListBox::OnGetItemMarkup(size_t n) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::wxSimpleHtmlListBox::OnGetItemMarkup(n);

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

    return sipVH__html_84(sipGILState, 0, sipPySelf, sipMeth, n);
}

::wxString sipwxSimpleHtmlListBox::OnGetItem(size_t n) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::wxSimpleHtmlListBox::OnGetItem(n);

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

    return sipVH__html_84(sipGILState, 0, sipPySelf, sipMeth, n);
}

void sipwxSimpleHtmlListBox::sipProtectVirt_OnGetRowsHeightHint(bool sipSelfWasArg, size_t rowMin, size_t rowMax) const
{
    (sipSelfWasArg ? ::wxVarVScrollHelper::OnGetRowsHeightHint(rowMin, rowMax) : OnGetRowsHeightHint(rowMin, rowMax));
}

::wxCoord sipwxSimpleHtmlListBox::sipProtectVirt_EstimateTotalHeight(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? ::wxVarVScrollHelper::EstimateTotalHeight() : EstimateTotalHeight());
}

void sipwxSimpleHtmlListBox::sipProtectVirt_OnGetUnitsSizeHint(bool sipSelfWasArg, size_t unitMin, size_t unitMax) const
{
    (sipSelfWasArg ? ::wxVarVScrollHelper::OnGetUnitsSizeHint(unitMin, unitMax) : OnGetUnitsSizeHint(unitMin, unitMax));
}

::wxCoord sipwxSimpleHtmlListBox::sipProtectVirt_EstimateTotalSize(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? ::wxVarVScrollHelper::EstimateTotalSize() : EstimateTotalSize());
}

int sipwxSimpleHtmlListBox::sipProtectVirt_GetNonOrientationTargetSize(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? ::wxVarVScrollHelper::GetNonOrientationTargetSize() : GetNonOrientationTargetSize());
}

::wxOrientation sipwxSimpleHtmlListBox::sipProtectVirt_GetOrientation(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? ::wxVarVScrollHelper::GetOrientation() : GetOrientation());
}

int sipwxSimpleHtmlListBox::sipProtectVirt_GetOrientationTargetSize(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? ::wxVarVScrollHelper::GetOrientationTargetSize() : GetOrientationTargetSize());
}

::wxCoord sipwxSimpleHtmlListBox::sipProtectVirt_OnGetUnitSize(bool sipSelfWasArg, size_t unit) const
{
    return (sipSelfWasArg ? ::wxVarVScrollHelper::OnGetUnitSize(unit) : OnGetUnitSize(unit));
}

void sipwxSimpleHtmlListBox::sipProtect_SendDestroyEvent()
{
    ::wxWindow::SendDestroyEvent();
}

void sipwxSimpleHtmlListBox::sipProtectVirt_OnDrawBackground(bool sipSelfWasArg, ::wxDC& dc, const ::wxRect& rect, size_t n) const
{
    (sipSelfWasArg ? ::wxVListBox::OnDrawBackground(dc, rect, n) : OnDrawBackground(dc, rect, n));
}

void sipwxSimpleHtmlListBox::sipProtectVirt_OnDrawSeparator(bool sipSelfWasArg, ::wxDC& dc, ::wxRect& rect, size_t n) const
{
    (sipSelfWasArg ? ::wxVListBox::OnDrawSeparator(dc, rect, n) : OnDrawSeparator(dc, rect, n));
}

::wxCoord sipwxSimpleHtmlListBox::sipProtectVirt_OnGetRowHeight(bool sipSelfWasArg, size_t n) const
{
    return (sipSelfWasArg ? ::wxVListBox::OnGetRowHeight(n) : OnGetRowHeight(n));
}

void sipwxSimpleHtmlListBox::sipProtectVirt_OnDrawItem(bool sipSelfWasArg, ::wxDC& dc, const ::wxRect& rect, size_t n) const
{
    (sipSelfWasArg ? ::wxHtmlListBox::OnDrawItem(dc, rect, n) : OnDrawItem(dc, rect, n));
}

::wxCoord sipwxSimpleHtmlListBox::sipProtectVirt_OnMeasureItem(bool sipSelfWasArg, size_t n) const
{
    return (sipSelfWasArg ? ::wxHtmlListBox::OnMeasureItem(n) : OnMeasureItem(n));
}

void sipwxSimpleHtmlListBox::sipProtectVirt_OnLinkClicked(bool sipSelfWasArg, size_t n, const ::wxHtmlLinkInfo& link)
{
    (sipSelfWasArg ? ::wxHtmlListBox::OnLinkClicked(n, link) : OnLinkClicked(n, link));
}

::wxColour sipwxSimpleHtmlListBox::sipProtectVirt_GetSelectedTextBgColour(bool sipSelfWasArg, const ::wxColour& colBg) const
{
    return (sipSelfWasArg ? ::wxHtmlListBox::GetSelectedTextBgColour(colBg) : GetSelectedTextBgColour(colBg));
}

::wxColour sipwxSimpleHtmlListBox::sipProtectVirt_GetSelectedTextColour(bool sipSelfWasArg, const ::wxColour& colFg) const
{
    return (sipSelfWasArg ? ::wxHtmlListBox::GetSelectedTextColour(colFg) : GetSelectedTextColour(colFg));
}

::wxString sipwxSimpleHtmlListBox::sipProtectVirt_OnGetItemMarkup(bool sipSelfWasArg, size_t n) const
{
    return (sipSelfWasArg ? ::wxHtmlListBox::OnGetItemMarkup(n) : OnGetItemMarkup(n));
}

bool sipwxSimpleHtmlListBox::sipProtectVirt_ProcessEvent(bool sipSelfWasArg, ::wxEvent& event)
{
    return (sipSelfWasArg ? ::wxSimpleHtmlListBox::ProcessEvent(event) : ProcessEvent(event));
}

void sipwxSimpleHtmlListBox::sipProtectVirt_DoEnable(bool sipSelfWasArg, bool enable)
{
    (sipSelfWasArg ? ::wxSimpleHtmlListBox::DoEnable(enable) : DoEnable(enable));
}

void sipwxSimpleHtmlListBox::sipProtectVirt_DoGetPosition(bool sipSelfWasArg, int*x, int*y) const
{
    (sipSelfWasArg ? ::wxSimpleHtmlListBox::DoGetPosition(x, y) : DoGetPosition(x, y));
}

void sipwxSimpleHtmlListBox::sipProtectVirt_DoGetSize(bool sipSelfWasArg, int*width, int*height) const
{
    (sipSelfWasArg ? ::wxSimpleHtmlListBox::DoGetSize(width, height) : DoGetSize(width, height));
}

void sipwxSimpleHtmlListBox::sipProtectVirt_DoGetClientSize(bool sipSelfWasArg, int*width, int*height) const
{
    (sipSelfWasArg ? ::wxSimpleHtmlListBox::DoGetClientSize(width, height) : DoGetClientSize(width, height));
}

::wxSize sipwxSimpleHtmlListBox::sipProtectVirt_DoGetBestSize(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? ::wxSimpleHtmlListBox::DoGetBestSize() : DoGetBestSize());
}

::wxSize sipwxSimpleHtmlListBox::sipProtectVirt_DoGetBestClientSize(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? ::wxSimpleHtmlListBox::DoGetBestClientSize() : DoGetBestClientSize());
}

void sipwxSimpleHtmlListBox::sipProtectVirt_DoSetSize(bool sipSelfWasArg, int x, int y, int width, int height, int sizeFlags)
{
    (sipSelfWasArg ? ::wxSimpleHtmlListBox::DoSetSize(x, y, width, height, sizeFlags) : DoSetSize(x, y, width, height, sizeFlags));
}

void sipwxSimpleHtmlListBox::sipProtectVirt_DoSetClientSize(bool sipSelfWasArg, int width, int height)
{
    (sipSelfWasArg ? ::wxSimpleHtmlListBox::DoSetClientSize(width, height) : DoSetClientSize(width, height));
}

void sipwxSimpleHtmlListBox::sipProtectVirt_DoSetSizeHints(bool sipSelfWasArg, int minW, int minH, int maxW, int maxH, int incW, int incH)
{
    (sipSelfWasArg ? ::wxSimpleHtmlListBox::DoSetSizeHints(minW, minH, maxW, maxH, incW, incH) : DoSetSizeHints(minW, minH, maxW, maxH, incW, incH));
}

void sipwxSimpleHtmlListBox::sipProtectVirt_DoMoveWindow(bool sipSelfWasArg, int x, int y, int width, int height)
{
    (sipSelfWasArg ? ::wxSimpleHtmlListBox::DoMoveWindow(x, y, width, height) : DoMoveWindow(x, y, width, height));
}

void sipwxSimpleHtmlListBox::sipProtectVirt_DoSetWindowVariant(bool sipSelfWasArg, ::wxWindowVariant variant)
{
    (sipSelfWasArg ? ::wxSimpleHtmlListBox::DoSetWindowVariant(variant) : DoSetWindowVariant(variant));
}

::wxBorder sipwxSimpleHtmlListBox::sipProtectVirt_GetDefaultBorder(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? ::wxSimpleHtmlListBox::GetDefaultBorder() : GetDefaultBorder());
}

::wxBorder sipwxSimpleHtmlListBox::sipProtectVirt_GetDefaultBorderForControl(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? ::wxSimpleHtmlListBox::GetDefaultBorderForControl() : GetDefaultBorderForControl());
}

void sipwxSimpleHtmlListBox::sipProtectVirt_DoFreeze(bool sipSelfWasArg)
{
    (sipSelfWasArg ? ::wxSimpleHtmlListBox::DoFreeze() : DoFreeze());
}

void sipwxSimpleHtmlListBox::sipProtectVirt_DoThaw(bool sipSelfWasArg)
{
    (sipSelfWasArg ? ::wxSimpleHtmlListBox::DoThaw() : DoThaw());
}

bool sipwxSimpleHtmlListBox::sipProtectVirt_HasTransparentBackground(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? ::wxSimpleHtmlListBox::HasTransparentBackground() : HasTransparentBackground());
}

bool sipwxSimpleHtmlListBox::sipProtectVirt_TryBefore(bool sipSelfWasArg, ::wxEvent& event)
{
    return (sipSelfWasArg ? ::wxSimpleHtmlListBox::TryBefore(event) : TryBefore(event));
}

bool sipwxSimpleHtmlListBox::sipProtectVirt_TryAfter(bool sipSelfWasArg, ::wxEvent& event)
{
    return (sipSelfWasArg ? ::wxSimpleHtmlListBox::TryAfter(event) : TryAfter(event));
}

::wxString sipwxSimpleHtmlListBox::sipProtectVirt_OnGetItem(bool sipSelfWasArg, size_t n) const
{
    return (sipSelfWasArg ? ::wxSimpleHtmlListBox::OnGetItem(n) : OnGetItem(n));
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_OnGetRowsHeightHint, "OnGetRowsHeightHint(rowMin, rowMax)\n"
"\n"
"This function doesn't have to be overridden but it may be useful to do\n"
"so if calculating the rows' sizes is a relatively expensive operation\n"
"as it gives your code a chance to calculate several of them at once\n"
"and cache the result if necessary.");

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

    {
        size_t rowMin;
        size_t rowMax;
        const sipwxSimpleHtmlListBox *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B==", &sipSelf, sipType_wxSimpleHtmlListBox, &sipCpp, &rowMin, &rowMax))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_OnGetRowsHeightHint(sipSelfWasArg, rowMin, rowMax);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_OnGetRowsHeightHint, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_EstimateTotalHeight, "EstimateTotalHeight() -> Coord\n"
"\n"
"This class forwards calls from EstimateTotalSize() to this function so\n"
"derived classes can override either just the height or the width\n"
"estimation, or just estimate both differently if desired in any\n"
"wxHVScrolledWindow derived class.");

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

    {
        const sipwxSimpleHtmlListBox *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_EstimateTotalHeight(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_EstimateTotalHeight, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_OnGetUnitsSizeHint, "OnGetUnitsSizeHint(self, unitMin: int, unitMax: int)");

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

    {
        size_t unitMin;
        size_t unitMax;
        const sipwxSimpleHtmlListBox *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B==", &sipSelf, sipType_wxSimpleHtmlListBox, &sipCpp, &unitMin, &unitMax))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_OnGetUnitsSizeHint(sipSelfWasArg, unitMin, unitMax);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_OnGetUnitsSizeHint, doc_wxSimpleHtmlListBox_OnGetUnitsSizeHint);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_EstimateTotalSize, "EstimateTotalSize(self) -> int");

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

    {
        const sipwxSimpleHtmlListBox *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_EstimateTotalSize(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_EstimateTotalSize, doc_wxSimpleHtmlListBox_EstimateTotalSize);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_GetNonOrientationTargetSize, "GetNonOrientationTargetSize(self) -> int");

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

    {
        const sipwxSimpleHtmlListBox *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_GetNonOrientationTargetSize(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_GetNonOrientationTargetSize, doc_wxSimpleHtmlListBox_GetNonOrientationTargetSize);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_GetOrientation, "GetOrientation(self) -> Orientation");

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

    {
        const sipwxSimpleHtmlListBox *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_GetOrientation(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_GetOrientation, doc_wxSimpleHtmlListBox_GetOrientation);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_GetOrientationTargetSize, "GetOrientationTargetSize(self) -> int");

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

    {
        const sipwxSimpleHtmlListBox *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_GetOrientationTargetSize(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_GetOrientationTargetSize, doc_wxSimpleHtmlListBox_GetOrientationTargetSize);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_OnGetUnitSize, "OnGetUnitSize(self, unit: int) -> int");

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

    {
        size_t unit;
        const sipwxSimpleHtmlListBox *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B=", &sipSelf, sipType_wxSimpleHtmlListBox, &sipCpp, &unit))
        {
            ::wxCoord sipRes;

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_OnGetUnitSize(sipSelfWasArg, unit);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_OnGetUnitSize, doc_wxSimpleHtmlListBox_OnGetUnitSize);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_SendDestroyEvent, "SendDestroyEvent()\n"
"\n"
"Generate wxWindowDestroyEvent for this window.");

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

    {
        sipwxSimpleHtmlListBox *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_SendDestroyEvent();
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_SendDestroyEvent, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_OnDrawBackground, "OnDrawBackground(dc, rect, n)\n"
"\n"
"This method is used to draw the item's background and, maybe, a border\n"
"around it.");

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

    {
        ::wxDC* dc;
        const ::wxRect* rect;
        int rectState = 0;
        size_t n;
        const sipwxSimpleHtmlListBox *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9J1=", &sipSelf, sipType_wxSimpleHtmlListBox, &sipCpp, sipType_wxDC, &dc, sipType_wxRect, &rect, &rectState, &n))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_OnDrawBackground(sipSelfWasArg, *dc, *rect, n);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<::wxRect *>(rect), sipType_wxRect, rectState);

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_OnDrawBackground, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_OnDrawSeparator, "OnDrawSeparator(dc, rect, n)\n"
"\n"
"This method may be used to draw separators between the lines.");

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

    {
        ::wxDC* dc;
        ::wxRect* rect;
        int rectState = 0;
        size_t n;
        const sipwxSimpleHtmlListBox *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9J1=", &sipSelf, sipType_wxSimpleHtmlListBox, &sipCpp, sipType_wxDC, &dc, sipType_wxRect, &rect, &rectState, &n))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_OnDrawSeparator(sipSelfWasArg, *dc, *rect, n);
            Py_END_ALLOW_THREADS
            sipReleaseType(rect, sipType_wxRect, rectState);

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_OnDrawSeparator, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_OnGetRowHeight, "OnGetRowHeight(self, n: int) -> int");

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

    {
        size_t n;
        const sipwxSimpleHtmlListBox *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B=", &sipSelf, sipType_wxSimpleHtmlListBox, &sipCpp, &n))
        {
            ::wxCoord sipRes;

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_OnGetRowHeight(sipSelfWasArg, n);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_OnGetRowHeight, doc_wxSimpleHtmlListBox_OnGetRowHeight);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_OnDrawItem, "OnDrawItem(self, dc: DC, rect: Rect, n: int)");

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

    {
        ::wxDC* dc;
        const ::wxRect* rect;
        int rectState = 0;
        size_t n;
        const sipwxSimpleHtmlListBox *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9J1=", &sipSelf, sipType_wxSimpleHtmlListBox, &sipCpp, sipType_wxDC, &dc, sipType_wxRect, &rect, &rectState, &n))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_OnDrawItem(sipSelfWasArg, *dc, *rect, n);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<::wxRect *>(rect), sipType_wxRect, rectState);

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_OnDrawItem, doc_wxSimpleHtmlListBox_OnDrawItem);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_OnMeasureItem, "OnMeasureItem(self, n: int) -> int");

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

    {
        size_t n;
        const sipwxSimpleHtmlListBox *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B=", &sipSelf, sipType_wxSimpleHtmlListBox, &sipCpp, &n))
        {
            ::wxCoord sipRes;

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_OnMeasureItem(sipSelfWasArg, n);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_OnMeasureItem, doc_wxSimpleHtmlListBox_OnMeasureItem);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_OnLinkClicked, "OnLinkClicked(n, link)\n"
"\n"
"Called when the user clicks on hypertext link.");

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

    {
        size_t n;
        const ::wxHtmlLinkInfo* link;
        sipwxSimpleHtmlListBox *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B=J9", &sipSelf, sipType_wxSimpleHtmlListBox, &sipCpp, &n, sipType_wxHtmlLinkInfo, &link))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_OnLinkClicked(sipSelfWasArg, n, *link);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_OnLinkClicked, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_GetSelectedTextBgColour, "GetSelectedTextBgColour(colBg) -> wx.Colour\n"
"\n"
"This virtual function may be overridden to change the appearance of\n"
"the background of the selected cells in the same way as\n"
"GetSelectedTextColour().");

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

    {
        const ::wxColour* colBg;
        int colBgState = 0;
        const sipwxSimpleHtmlListBox *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxSimpleHtmlListBox, &sipCpp, sipType_wxColour, &colBg, &colBgState))
        {
            ::wxColour*sipRes;

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = new ::wxColour(sipCpp->sipProtectVirt_GetSelectedTextBgColour(sipSelfWasArg, *colBg));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<::wxColour *>(colBg), sipType_wxColour, colBgState);

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_GetSelectedTextBgColour, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_GetSelectedTextColour, "GetSelectedTextColour(colFg) -> wx.Colour\n"
"\n"
"This virtual function may be overridden to customize the appearance of\n"
"the selected cells.");

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

    {
        const ::wxColour* colFg;
        int colFgState = 0;
        const sipwxSimpleHtmlListBox *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxSimpleHtmlListBox, &sipCpp, sipType_wxColour, &colFg, &colFgState))
        {
            ::wxColour*sipRes;

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = new ::wxColour(sipCpp->sipProtectVirt_GetSelectedTextColour(sipSelfWasArg, *colFg));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<::wxColour *>(colFg), sipType_wxColour, colFgState);

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_GetSelectedTextColour, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_OnGetItemMarkup, "OnGetItemMarkup(n) -> String\n"
"\n"
"This function may be overridden to decorate HTML returned by\n"
"OnGetItem().");

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

    {
        size_t n;
        const sipwxSimpleHtmlListBox *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B=", &sipSelf, sipType_wxSimpleHtmlListBox, &sipCpp, &n))
        {
            ::wxString*sipRes;

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = new ::wxString(sipCpp->sipProtectVirt_OnGetItemMarkup(sipSelfWasArg, n));
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_OnGetItemMarkup, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_Create, "Create(parent, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, choices=[], style=HLB_DEFAULT_STYLE, validator=wx.DefaultValidator, name=SimpleHtmlListBoxNameStr) -> bool\n"
"\n"
"Creates the HTML listbox for two-step construction.");

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

    {
        ::wxWindow* parent;
        ::wxWindowID id = wxID_ANY;
        const ::wxPoint& posdef = wxDefaultPosition;
        const ::wxPoint* pos = &posdef;
        int posState = 0;
        const ::wxSize& sizedef = wxDefaultSize;
        const ::wxSize* size = &sizedef;
        int sizeState = 0;
        const ::wxArrayString& choicesdef = wxArrayString();
        const ::wxArrayString* choices = &choicesdef;
        int choicesState = 0;
        long style = wxHLB_DEFAULT_STYLE;
        const ::wxValidator& validatordef = wxDefaultValidator;
        const ::wxValidator* validator = &validatordef;
        const ::wxString& namedef = wxSimpleHtmlListBoxNameStr;
        const ::wxString* name = &namedef;
        int nameState = 0;
        sipWrapper *sipOwner = SIP_NULLPTR;
        ::wxSimpleHtmlListBox *sipCpp;

        static const char *sipKwdList[] = {
            sipName_parent,
            sipName_id,
            sipName_pos,
            sipName_size,
            sipName_choices,
            sipName_style,
            sipName_validator,
            sipName_name,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJH|iJ1J1J1lJ9J1", &sipSelf, sipType_wxSimpleHtmlListBox, &sipCpp, sipType_wxWindow, &parent, &sipOwner, &id, sipType_wxPoint, &pos, &posState, sipType_wxSize, &size, &sizeState, sipType_wxArrayString, &choices, &choicesState, &style, sipType_wxValidator, &validator, sipType_wxString, &name, &nameState))
        {
            bool sipRes;

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->Create(parent, id, *pos, *size, *choices, style, *validator, *name);
            Py_END_ALLOW_THREADS

            if (sipOwner)
                sipTransferTo(sipSelf, (PyObject *)sipOwner);
            else
                sipTransferBack(sipSelf);
            sipReleaseType(const_cast<::wxPoint *>(pos), sipType_wxPoint, posState);
            sipReleaseType(const_cast<::wxSize *>(size), sipType_wxSize, sizeState);
            sipReleaseType(const_cast<::wxArrayString *>(choices), sipType_wxArrayString, choicesState);
            sipReleaseType(const_cast<::wxString *>(name), sipType_wxString, nameState);

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_Create, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_GetClientAreaOrigin, "GetClientAreaOrigin(self) -> Point");

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

    {
        const ::wxSimpleHtmlListBox *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = new ::wxPoint((sipSelfWasArg ? sipCpp->::wxSimpleHtmlListBox::GetClientAreaOrigin() : sipCpp->GetClientAreaOrigin()));
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_GetClientAreaOrigin, doc_wxSimpleHtmlListBox_GetClientAreaOrigin);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_Validate, "Validate(self) -> bool");

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

    {
        ::wxSimpleHtmlListBox *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->::wxSimpleHtmlListBox::Validate() : sipCpp->Validate());
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_Validate, doc_wxSimpleHtmlListBox_Validate);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_TransferDataToWindow, "TransferDataToWindow(self) -> bool");

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

    {
        ::wxSimpleHtmlListBox *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->::wxSimpleHtmlListBox::TransferDataToWindow() : sipCpp->TransferDataToWindow());
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_TransferDataToWindow, doc_wxSimpleHtmlListBox_TransferDataToWindow);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_TransferDataFromWindow, "TransferDataFromWindow(self) -> bool");

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

    {
        ::wxSimpleHtmlListBox *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->::wxSimpleHtmlListBox::TransferDataFromWindow() : sipCpp->TransferDataFromWindow());
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_TransferDataFromWindow, doc_wxSimpleHtmlListBox_TransferDataFromWindow);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_InitDialog, "InitDialog(self)");

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

    {
        ::wxSimpleHtmlListBox *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->::wxSimpleHtmlListBox::InitDialog() : sipCpp->InitDialog());
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_InitDialog, doc_wxSimpleHtmlListBox_InitDialog);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_AcceptsFocus, "AcceptsFocus(self) -> bool");

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

    {
        const ::wxSimpleHtmlListBox *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->::wxSimpleHtmlListBox::AcceptsFocus() : sipCpp->AcceptsFocus());
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_AcceptsFocus, doc_wxSimpleHtmlListBox_AcceptsFocus);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_AcceptsFocusRecursively, "AcceptsFocusRecursively(self) -> bool");

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

    {
        const ::wxSimpleHtmlListBox *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->::wxSimpleHtmlListBox::AcceptsFocusRecursively() : sipCpp->AcceptsFocusRecursively());
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_AcceptsFocusRecursively, doc_wxSimpleHtmlListBox_AcceptsFocusRecursively);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_AcceptsFocusFromKeyboard, "AcceptsFocusFromKeyboard(self) -> bool");

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

    {
        const ::wxSimpleHtmlListBox *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->::wxSimpleHtmlListBox::AcceptsFocusFromKeyboard() : sipCpp->AcceptsFocusFromKeyboard());
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_AcceptsFocusFromKeyboard, doc_wxSimpleHtmlListBox_AcceptsFocusFromKeyboard);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_AddChild, "AddChild(self, child: Optional[WindowBase])");

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

    {
        ::wxWindowBase* child;
        ::wxSimpleHtmlListBox *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8", &sipSelf, sipType_wxSimpleHtmlListBox, &sipCpp, sipType_wxWindowBase, &child))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->::wxSimpleHtmlListBox::AddChild(child) : sipCpp->AddChild(child));
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_AddChild, doc_wxSimpleHtmlListBox_AddChild);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_RemoveChild, "RemoveChild(self, child: Optional[WindowBase])");

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

    {
        ::wxWindowBase* child;
        ::wxSimpleHtmlListBox *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8", &sipSelf, sipType_wxSimpleHtmlListBox, &sipCpp, sipType_wxWindowBase, &child))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->::wxSimpleHtmlListBox::RemoveChild(child) : sipCpp->RemoveChild(child));
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_RemoveChild, doc_wxSimpleHtmlListBox_RemoveChild);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_InheritAttributes, "InheritAttributes(self)");

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

    {
        ::wxSimpleHtmlListBox *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->::wxSimpleHtmlListBox::InheritAttributes() : sipCpp->InheritAttributes());
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_InheritAttributes, doc_wxSimpleHtmlListBox_InheritAttributes);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_ShouldInheritColours, "ShouldInheritColours(self) -> bool");

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

    {
        const ::wxSimpleHtmlListBox *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->::wxSimpleHtmlListBox::ShouldInheritColours() : sipCpp->ShouldInheritColours());
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_ShouldInheritColours, doc_wxSimpleHtmlListBox_ShouldInheritColours);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_OnInternalIdle, "OnInternalIdle(self)");

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

    {
        ::wxSimpleHtmlListBox *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->::wxSimpleHtmlListBox::OnInternalIdle() : sipCpp->OnInternalIdle());
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_OnInternalIdle, doc_wxSimpleHtmlListBox_OnInternalIdle);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_GetMainWindowOfCompositeControl, "GetMainWindowOfCompositeControl(self) -> Optional[Window]");

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

    {
        ::wxSimpleHtmlListBox *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->::wxSimpleHtmlListBox::GetMainWindowOfCompositeControl() : sipCpp->GetMainWindowOfCompositeControl());
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_GetMainWindowOfCompositeControl, doc_wxSimpleHtmlListBox_GetMainWindowOfCompositeControl);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_InformFirstDirection, "InformFirstDirection(self, direction: int, size: int, availableOtherDir: int) -> bool");

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

    {
        int direction;
        int size;
        int availableOtherDir;
        ::wxSimpleHtmlListBox *sipCpp;

        static const char *sipKwdList[] = {
            sipName_direction,
            sipName_size,
            sipName_availableOtherDir,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biii", &sipSelf, sipType_wxSimpleHtmlListBox, &sipCpp, &direction, &size, &availableOtherDir))
        {
            bool sipRes;

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->::wxSimpleHtmlListBox::InformFirstDirection(direction, size, availableOtherDir) : sipCpp->InformFirstDirection(direction, size, availableOtherDir));
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_InformFirstDirection, doc_wxSimpleHtmlListBox_InformFirstDirection);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_SetCanFocus, "SetCanFocus(self, canFocus: bool)");

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

    {
        bool canFocus;
        ::wxSimpleHtmlListBox *sipCpp;

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

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

            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->::wxSimpleHtmlListBox::SetCanFocus(canFocus) : sipCpp->SetCanFocus(canFocus));
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_SetCanFocus, doc_wxSimpleHtmlListBox_SetCanFocus);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_Destroy, "Destroy(self) -> bool");

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

    {
        ::wxSimpleHtmlListBox *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->::wxSimpleHtmlListBox::Destroy() : sipCpp->Destroy());
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_Destroy, doc_wxSimpleHtmlListBox_Destroy);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_SetValidator, "SetValidator(self, validator: Validator)");

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

    {
        const ::wxValidator* validator;
        ::wxSimpleHtmlListBox *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxSimpleHtmlListBox, &sipCpp, sipType_wxValidator, &validator))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->::wxSimpleHtmlListBox::SetValidator(*validator) : sipCpp->SetValidator(*validator));
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_SetValidator, doc_wxSimpleHtmlListBox_SetValidator);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_GetValidator, "GetValidator(self) -> Optional[Validator]");

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

    {
        ::wxSimpleHtmlListBox *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->::wxSimpleHtmlListBox::GetValidator() : sipCpp->GetValidator());
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_GetValidator, doc_wxSimpleHtmlListBox_GetValidator);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_EnableVisibleFocus, "EnableVisibleFocus(self, enabled: bool)");

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

    {
        bool enabled;
        ::wxSimpleHtmlListBox *sipCpp;

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

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

            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->::wxSimpleHtmlListBox::EnableVisibleFocus(enabled) : sipCpp->EnableVisibleFocus(enabled));
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_EnableVisibleFocus, doc_wxSimpleHtmlListBox_EnableVisibleFocus);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_ProcessEvent, "ProcessEvent(self, event: Event) -> bool");

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

    {
        ::wxEvent* event;
        sipwxSimpleHtmlListBox *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxSimpleHtmlListBox, &sipCpp, sipType_wxEvent, &event))
        {
            bool sipRes;

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_ProcessEvent(sipSelfWasArg, *event);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_ProcessEvent, doc_wxSimpleHtmlListBox_ProcessEvent);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_DoEnable, "DoEnable(self, enable: bool)");

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

    {
        bool enable;
        sipwxSimpleHtmlListBox *sipCpp;

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

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

            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_DoEnable(sipSelfWasArg, enable);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_DoEnable, doc_wxSimpleHtmlListBox_DoEnable);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_DoGetPosition, "DoGetPosition(self) -> (Optional[int], Optional[int])");

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

    {
        int x;
        int y;
        const sipwxSimpleHtmlListBox *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_DoGetPosition(sipSelfWasArg, &x, &y);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return sipBuildResult(0, "(ii)", x, y);
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_DoGetPosition, doc_wxSimpleHtmlListBox_DoGetPosition);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_DoGetSize, "DoGetSize(self) -> (Optional[int], Optional[int])");

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

    {
        int width;
        int height;
        const sipwxSimpleHtmlListBox *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_DoGetSize(sipSelfWasArg, &width, &height);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return sipBuildResult(0, "(ii)", width, height);
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_DoGetSize, doc_wxSimpleHtmlListBox_DoGetSize);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_DoGetClientSize, "DoGetClientSize(self) -> (Optional[int], Optional[int])");

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

    {
        int width;
        int height;
        const sipwxSimpleHtmlListBox *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_DoGetClientSize(sipSelfWasArg, &width, &height);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return sipBuildResult(0, "(ii)", width, height);
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_DoGetClientSize, doc_wxSimpleHtmlListBox_DoGetClientSize);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_DoGetBestSize, "DoGetBestSize(self) -> Size");

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

    {
        const sipwxSimpleHtmlListBox *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = new ::wxSize(sipCpp->sipProtectVirt_DoGetBestSize(sipSelfWasArg));
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_DoGetBestSize, doc_wxSimpleHtmlListBox_DoGetBestSize);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_DoGetBestClientSize, "DoGetBestClientSize(self) -> Size");

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

    {
        const sipwxSimpleHtmlListBox *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = new ::wxSize(sipCpp->sipProtectVirt_DoGetBestClientSize(sipSelfWasArg));
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_DoGetBestClientSize, doc_wxSimpleHtmlListBox_DoGetBestClientSize);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_DoSetSize, "DoSetSize(self, x: int, y: int, width: int, height: int, sizeFlags: int)");

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

    {
        int x;
        int y;
        int width;
        int height;
        int sizeFlags;
        sipwxSimpleHtmlListBox *sipCpp;

        static const char *sipKwdList[] = {
            sipName_x,
            sipName_y,
            sipName_width,
            sipName_height,
            sipName_sizeFlags,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biiiii", &sipSelf, sipType_wxSimpleHtmlListBox, &sipCpp, &x, &y, &width, &height, &sizeFlags))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_DoSetSize(sipSelfWasArg, x, y, width, height, sizeFlags);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_DoSetSize, doc_wxSimpleHtmlListBox_DoSetSize);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_DoSetClientSize, "DoSetClientSize(self, width: int, height: int)");

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

    {
        int width;
        int height;
        sipwxSimpleHtmlListBox *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bii", &sipSelf, sipType_wxSimpleHtmlListBox, &sipCpp, &width, &height))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_DoSetClientSize(sipSelfWasArg, width, height);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_DoSetClientSize, doc_wxSimpleHtmlListBox_DoSetClientSize);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_DoSetSizeHints, "DoSetSizeHints(self, minW: int, minH: int, maxW: int, maxH: int, incW: int, incH: int)");

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

    {
        int minW;
        int minH;
        int maxW;
        int maxH;
        int incW;
        int incH;
        sipwxSimpleHtmlListBox *sipCpp;

        static const char *sipKwdList[] = {
            sipName_minW,
            sipName_minH,
            sipName_maxW,
            sipName_maxH,
            sipName_incW,
            sipName_incH,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biiiiii", &sipSelf, sipType_wxSimpleHtmlListBox, &sipCpp, &minW, &minH, &maxW, &maxH, &incW, &incH))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_DoSetSizeHints(sipSelfWasArg, minW, minH, maxW, maxH, incW, incH);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_DoSetSizeHints, doc_wxSimpleHtmlListBox_DoSetSizeHints);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_DoMoveWindow, "DoMoveWindow(self, x: int, y: int, width: int, height: int)");

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

    {
        int x;
        int y;
        int width;
        int height;
        sipwxSimpleHtmlListBox *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biiii", &sipSelf, sipType_wxSimpleHtmlListBox, &sipCpp, &x, &y, &width, &height))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_DoMoveWindow(sipSelfWasArg, x, y, width, height);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_DoMoveWindow, doc_wxSimpleHtmlListBox_DoMoveWindow);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_DoSetWindowVariant, "DoSetWindowVariant(self, variant: WindowVariant)");

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

    {
        ::wxWindowVariant variant;
        sipwxSimpleHtmlListBox *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BE", &sipSelf, sipType_wxSimpleHtmlListBox, &sipCpp, sipType_wxWindowVariant, &variant))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_DoSetWindowVariant(sipSelfWasArg, variant);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_DoSetWindowVariant, doc_wxSimpleHtmlListBox_DoSetWindowVariant);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_GetDefaultBorder, "GetDefaultBorder(self) -> Border");

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

    {
        const sipwxSimpleHtmlListBox *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_GetDefaultBorder(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_GetDefaultBorder, doc_wxSimpleHtmlListBox_GetDefaultBorder);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_GetDefaultBorderForControl, "GetDefaultBorderForControl(self) -> Border");

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

    {
        const sipwxSimpleHtmlListBox *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_GetDefaultBorderForControl(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_GetDefaultBorderForControl, doc_wxSimpleHtmlListBox_GetDefaultBorderForControl);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_DoFreeze, "DoFreeze(self)");

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

    {
        sipwxSimpleHtmlListBox *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_DoFreeze(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_DoFreeze, doc_wxSimpleHtmlListBox_DoFreeze);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_DoThaw, "DoThaw(self)");

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

    {
        sipwxSimpleHtmlListBox *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_DoThaw(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_DoThaw, doc_wxSimpleHtmlListBox_DoThaw);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_HasTransparentBackground, "HasTransparentBackground(self) -> bool");

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

    {
        sipwxSimpleHtmlListBox *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_HasTransparentBackground(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_HasTransparentBackground, doc_wxSimpleHtmlListBox_HasTransparentBackground);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_TryBefore, "TryBefore(self, event: Event) -> bool");

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

    {
        ::wxEvent* event;
        sipwxSimpleHtmlListBox *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxSimpleHtmlListBox, &sipCpp, sipType_wxEvent, &event))
        {
            bool sipRes;

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_TryBefore(sipSelfWasArg, *event);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_TryBefore, doc_wxSimpleHtmlListBox_TryBefore);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_TryAfter, "TryAfter(self, event: Event) -> bool");

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

    {
        ::wxEvent* event;
        sipwxSimpleHtmlListBox *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxSimpleHtmlListBox, &sipCpp, sipType_wxEvent, &event))
        {
            bool sipRes;

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_TryAfter(sipSelfWasArg, *event);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_TryAfter, doc_wxSimpleHtmlListBox_TryAfter);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_GetClassDefaultAttributes, "GetClassDefaultAttributes(variant=wx.WINDOW_VARIANT_NORMAL) -> wx.VisualAttributes");

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

    {
        ::wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "|E", sipType_wxWindowVariant, &variant))
        {
            ::wxVisualAttributes*sipRes;
        if (!wxPyCheckForApp()) return NULL;

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = new ::wxVisualAttributes(::wxSimpleHtmlListBox::GetClassDefaultAttributes(variant));
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_GetClassDefaultAttributes, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_GetCount, "GetCount(self) -> int");

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

    {
        const ::wxSimpleHtmlListBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxSimpleHtmlListBox, &sipCpp))
        {
            uint sipRes;

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->::wxSimpleHtmlListBox::GetCount() : sipCpp->GetCount());
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_GetCount, doc_wxSimpleHtmlListBox_GetCount);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_GetString, "GetString(self, n: int) -> Any");

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

    {
        uint n;
        const ::wxSimpleHtmlListBox *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bu", &sipSelf, sipType_wxSimpleHtmlListBox, &sipCpp, &n))
        {
            ::wxString*sipRes;

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = new ::wxString((sipSelfWasArg ? sipCpp->::wxSimpleHtmlListBox::GetString(n) : sipCpp->GetString(n)));
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_GetString, doc_wxSimpleHtmlListBox_GetString);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_SetString, "SetString(self, n: int, s: Any)");

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

    {
        uint n;
        const ::wxString* s;
        int sState = 0;
        ::wxSimpleHtmlListBox *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BuJ1", &sipSelf, sipType_wxSimpleHtmlListBox, &sipCpp, &n, sipType_wxString, &s, &sState))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->::wxSimpleHtmlListBox::SetString(n, *s) : sipCpp->SetString(n, *s));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<::wxString *>(s), sipType_wxString, sState);

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_SetString, doc_wxSimpleHtmlListBox_SetString);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_SetSelection, "SetSelection(self, n: int)");

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

    {
        int n;
        ::wxSimpleHtmlListBox *sipCpp;

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

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

            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->::wxSimpleHtmlListBox::SetSelection(n) : sipCpp->SetSelection(n));
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_SetSelection, doc_wxSimpleHtmlListBox_SetSelection);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_GetSelection, "GetSelection(self) -> int");

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

    {
        const ::wxSimpleHtmlListBox *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->::wxSimpleHtmlListBox::GetSelection() : sipCpp->GetSelection());
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_GetSelection, doc_wxSimpleHtmlListBox_GetSelection);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxSimpleHtmlListBox_OnGetItem, "OnGetItem(self, n: int) -> Any");

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

    {
        size_t n;
        const sipwxSimpleHtmlListBox *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B=", &sipSelf, sipType_wxSimpleHtmlListBox, &sipCpp, &n))
        {
            ::wxString*sipRes;

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = new ::wxString(sipCpp->sipProtectVirt_OnGetItem(sipSelfWasArg, n));
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_SimpleHtmlListBox, sipName_OnGetItem, doc_wxSimpleHtmlListBox_OnGetItem);

    return SIP_NULLPTR;
}


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

    if (targetType == sipType_wxSimpleHtmlListBox)
        return sipCppV;

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

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

    return SIP_NULLPTR;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipwxSimpleHtmlListBox *>(sipCppV);
    else
        delete reinterpret_cast<::wxSimpleHtmlListBox *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void *array_wxSimpleHtmlListBox(Py_ssize_t);}
static void *array_wxSimpleHtmlListBox(Py_ssize_t sipNrElem)
{
    return new ::wxSimpleHtmlListBox[sipNrElem];
}


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

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


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

    {
        ::wxWindow* parent;
        ::wxWindowID id = wxID_ANY;
        const ::wxPoint& posdef = wxDefaultPosition;
        const ::wxPoint* pos = &posdef;
        int posState = 0;
        const ::wxSize& sizedef = wxDefaultSize;
        const ::wxSize* size = &sizedef;
        int sizeState = 0;
        const ::wxArrayString& choicesdef = wxArrayString();
        const ::wxArrayString* choices = &choicesdef;
        int choicesState = 0;
        long style = wxHLB_DEFAULT_STYLE;
        const ::wxValidator& validatordef = wxDefaultValidator;
        const ::wxValidator* validator = &validatordef;
        const ::wxString& namedef = wxSimpleHtmlListBoxNameStr;
        const ::wxString* name = &namedef;
        int nameState = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
            sipName_id,
            sipName_pos,
            sipName_size,
            sipName_choices,
            sipName_style,
            sipName_validator,
            sipName_name,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "JH|iJ1J1J1lJ9J1", sipType_wxWindow, &parent, sipOwner, &id, sipType_wxPoint, &pos, &posState, sipType_wxSize, &size, &sizeState, sipType_wxArrayString, &choices, &choicesState, &style, sipType_wxValidator, &validator, sipType_wxString, &name, &nameState))
        {
        if (!wxPyCheckForApp()) return NULL;

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipwxSimpleHtmlListBox(parent, id, *pos, *size, *choices, style, *validator, *name);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<::wxPoint *>(pos), sipType_wxPoint, posState);
            sipReleaseType(const_cast<::wxSize *>(size), sipType_wxSize, sizeState);
            sipReleaseType(const_cast<::wxArrayString *>(choices), sipType_wxArrayString, choicesState);
            sipReleaseType(const_cast<::wxString *>(name), sipType_wxString, nameState);

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, sipUnused, ""))
        {
        if (!wxPyCheckForApp()) return NULL;

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipwxSimpleHtmlListBox();
            Py_END_ALLOW_THREADS

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return SIP_NULLPTR;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_wxSimpleHtmlListBox[] = {{20, 255, 0}, {21, 0, 1}};


static PyMethodDef methods_wxSimpleHtmlListBox[] = {
    {sipName_AcceptsFocus, meth_wxSimpleHtmlListBox_AcceptsFocus, METH_VARARGS, doc_wxSimpleHtmlListBox_AcceptsFocus},
    {sipName_AcceptsFocusFromKeyboard, meth_wxSimpleHtmlListBox_AcceptsFocusFromKeyboard, METH_VARARGS, doc_wxSimpleHtmlListBox_AcceptsFocusFromKeyboard},
    {sipName_AcceptsFocusRecursively, meth_wxSimpleHtmlListBox_AcceptsFocusRecursively, METH_VARARGS, doc_wxSimpleHtmlListBox_AcceptsFocusRecursively},
    {sipName_AddChild, SIP_MLMETH_CAST(meth_wxSimpleHtmlListBox_AddChild), METH_VARARGS|METH_KEYWORDS, doc_wxSimpleHtmlListBox_AddChild},
    {sipName_Create, SIP_MLMETH_CAST(meth_wxSimpleHtmlListBox_Create), METH_VARARGS|METH_KEYWORDS, doc_wxSimpleHtmlListBox_Create},
    {sipName_Destroy, meth_wxSimpleHtmlListBox_Destroy, METH_VARARGS, doc_wxSimpleHtmlListBox_Destroy},
    {sipName_DoEnable, SIP_MLMETH_CAST(meth_wxSimpleHtmlListBox_DoEnable), METH_VARARGS|METH_KEYWORDS, doc_wxSimpleHtmlListBox_DoEnable},
    {sipName_DoFreeze, meth_wxSimpleHtmlListBox_DoFreeze, METH_VARARGS, doc_wxSimpleHtmlListBox_DoFreeze},
    {sipName_DoGetBestClientSize, meth_wxSimpleHtmlListBox_DoGetBestClientSize, METH_VARARGS, doc_wxSimpleHtmlListBox_DoGetBestClientSize},
    {sipName_DoGetBestSize, meth_wxSimpleHtmlListBox_DoGetBestSize, METH_VARARGS, doc_wxSimpleHtmlListBox_DoGetBestSize},
    {sipName_DoGetClientSize, SIP_MLMETH_CAST(meth_wxSimpleHtmlListBox_DoGetClientSize), METH_VARARGS|METH_KEYWORDS, doc_wxSimpleHtmlListBox_DoGetClientSize},
    {sipName_DoGetPosition, SIP_MLMETH_CAST(meth_wxSimpleHtmlListBox_DoGetPosition), METH_VARARGS|METH_KEYWORDS, doc_wxSimpleHtmlListBox_DoGetPosition},
    {sipName_DoGetSize, SIP_MLMETH_CAST(meth_wxSimpleHtmlListBox_DoGetSize), METH_VARARGS|METH_KEYWORDS, doc_wxSimpleHtmlListBox_DoGetSize},
    {sipName_DoMoveWindow, SIP_MLMETH_CAST(meth_wxSimpleHtmlListBox_DoMoveWindow), METH_VARARGS|METH_KEYWORDS, doc_wxSimpleHtmlListBox_DoMoveWindow},
    {sipName_DoSetClientSize, SIP_MLMETH_CAST(meth_wxSimpleHtmlListBox_DoSetClientSize), METH_VARARGS|METH_KEYWORDS, doc_wxSimpleHtmlListBox_DoSetClientSize},
    {sipName_DoSetSize, SIP_MLMETH_CAST(meth_wxSimpleHtmlListBox_DoSetSize), METH_VARARGS|METH_KEYWORDS, doc_wxSimpleHtmlListBox_DoSetSize},
    {sipName_DoSetSizeHints, SIP_MLMETH_CAST(meth_wxSimpleHtmlListBox_DoSetSizeHints), METH_VARARGS|METH_KEYWORDS, doc_wxSimpleHtmlListBox_DoSetSizeHints},
    {sipName_DoSetWindowVariant, SIP_MLMETH_CAST(meth_wxSimpleHtmlListBox_DoSetWindowVariant), METH_VARARGS|METH_KEYWORDS, doc_wxSimpleHtmlListBox_DoSetWindowVariant},
    {sipName_DoThaw, meth_wxSimpleHtmlListBox_DoThaw, METH_VARARGS, doc_wxSimpleHtmlListBox_DoThaw},
    {sipName_EnableVisibleFocus, SIP_MLMETH_CAST(meth_wxSimpleHtmlListBox_EnableVisibleFocus), METH_VARARGS|METH_KEYWORDS, doc_wxSimpleHtmlListBox_EnableVisibleFocus},
    {sipName_EstimateTotalHeight, meth_wxSimpleHtmlListBox_EstimateTotalHeight, METH_VARARGS, SIP_NULLPTR},
    {sipName_EstimateTotalSize, meth_wxSimpleHtmlListBox_EstimateTotalSize, METH_VARARGS, SIP_NULLPTR},
    {sipName_GetClassDefaultAttributes, SIP_MLMETH_CAST(meth_wxSimpleHtmlListBox_GetClassDefaultAttributes), METH_VARARGS|METH_KEYWORDS, doc_wxSimpleHtmlListBox_GetClassDefaultAttributes},
    {sipName_GetClientAreaOrigin, meth_wxSimpleHtmlListBox_GetClientAreaOrigin, METH_VARARGS, doc_wxSimpleHtmlListBox_GetClientAreaOrigin},
    {sipName_GetCount, meth_wxSimpleHtmlListBox_GetCount, METH_VARARGS, doc_wxSimpleHtmlListBox_GetCount},
    {sipName_GetDefaultBorder, meth_wxSimpleHtmlListBox_GetDefaultBorder, METH_VARARGS, doc_wxSimpleHtmlListBox_GetDefaultBorder},
    {sipName_GetDefaultBorderForControl, meth_wxSimpleHtmlListBox_GetDefaultBorderForControl, METH_VARARGS, doc_wxSimpleHtmlListBox_GetDefaultBorderForControl},
    {sipName_GetMainWindowOfCompositeControl, meth_wxSimpleHtmlListBox_GetMainWindowOfCompositeControl, METH_VARARGS, doc_wxSimpleHtmlListBox_GetMainWindowOfCompositeControl},
    {sipName_GetNonOrientationTargetSize, meth_wxSimpleHtmlListBox_GetNonOrientationTargetSize, METH_VARARGS, SIP_NULLPTR},
    {sipName_GetOrientation, meth_wxSimpleHtmlListBox_GetOrientation, METH_VARARGS, SIP_NULLPTR},
    {sipName_GetOrientationTargetSize, meth_wxSimpleHtmlListBox_GetOrientationTargetSize, METH_VARARGS, SIP_NULLPTR},
    {sipName_GetSelectedTextBgColour, SIP_MLMETH_CAST(meth_wxSimpleHtmlListBox_GetSelectedTextBgColour), METH_VARARGS|METH_KEYWORDS, SIP_NULLPTR},
    {sipName_GetSelectedTextColour, SIP_MLMETH_CAST(meth_wxSimpleHtmlListBox_GetSelectedTextColour), METH_VARARGS|METH_KEYWORDS, SIP_NULLPTR},
    {sipName_GetSelection, meth_wxSimpleHtmlListBox_GetSelection, METH_VARARGS, doc_wxSimpleHtmlListBox_GetSelection},
    {sipName_GetString, SIP_MLMETH_CAST(meth_wxSimpleHtmlListBox_GetString), METH_VARARGS|METH_KEYWORDS, doc_wxSimpleHtmlListBox_GetString},
    {sipName_GetValidator, meth_wxSimpleHtmlListBox_GetValidator, METH_VARARGS, doc_wxSimpleHtmlListBox_GetValidator},
    {sipName_HasTransparentBackground, meth_wxSimpleHtmlListBox_HasTransparentBackground, METH_VARARGS, doc_wxSimpleHtmlListBox_HasTransparentBackground},
    {sipName_InformFirstDirection, SIP_MLMETH_CAST(meth_wxSimpleHtmlListBox_InformFirstDirection), METH_VARARGS|METH_KEYWORDS, doc_wxSimpleHtmlListBox_InformFirstDirection},
    {sipName_InheritAttributes, meth_wxSimpleHtmlListBox_InheritAttributes, METH_VARARGS, doc_wxSimpleHtmlListBox_InheritAttributes},
    {sipName_InitDialog, meth_wxSimpleHtmlListBox_InitDialog, METH_VARARGS, doc_wxSimpleHtmlListBox_InitDialog},
    {sipName_OnDrawBackground, SIP_MLMETH_CAST(meth_wxSimpleHtmlListBox_OnDrawBackground), METH_VARARGS|METH_KEYWORDS, SIP_NULLPTR},
    {sipName_OnDrawItem, SIP_MLMETH_CAST(meth_wxSimpleHtmlListBox_OnDrawItem), METH_VARARGS|METH_KEYWORDS, SIP_NULLPTR},
    {sipName_OnDrawSeparator, SIP_MLMETH_CAST(meth_wxSimpleHtmlListBox_OnDrawSeparator), METH_VARARGS|METH_KEYWORDS, SIP_NULLPTR},
    {sipName_OnGetItem, SIP_MLMETH_CAST(meth_wxSimpleHtmlListBox_OnGetItem), METH_VARARGS|METH_KEYWORDS, doc_wxSimpleHtmlListBox_OnGetItem},
    {sipName_OnGetItemMarkup, SIP_MLMETH_CAST(meth_wxSimpleHtmlListBox_OnGetItemMarkup), METH_VARARGS|METH_KEYWORDS, SIP_NULLPTR},
    {sipName_OnGetRowHeight, SIP_MLMETH_CAST(meth_wxSimpleHtmlListBox_OnGetRowHeight), METH_VARARGS|METH_KEYWORDS, SIP_NULLPTR},
    {sipName_OnGetRowsHeightHint, SIP_MLMETH_CAST(meth_wxSimpleHtmlListBox_OnGetRowsHeightHint), METH_VARARGS|METH_KEYWORDS, SIP_NULLPTR},
    {sipName_OnGetUnitSize, SIP_MLMETH_CAST(meth_wxSimpleHtmlListBox_OnGetUnitSize), METH_VARARGS|METH_KEYWORDS, SIP_NULLPTR},
    {sipName_OnGetUnitsSizeHint, SIP_MLMETH_CAST(meth_wxSimpleHtmlListBox_OnGetUnitsSizeHint), METH_VARARGS|METH_KEYWORDS, SIP_NULLPTR},
    {sipName_OnInternalIdle, meth_wxSimpleHtmlListBox_OnInternalIdle, METH_VARARGS, doc_wxSimpleHtmlListBox_OnInternalIdle},
    {sipName_OnLinkClicked, SIP_MLMETH_CAST(meth_wxSimpleHtmlListBox_OnLinkClicked), METH_VARARGS|METH_KEYWORDS, SIP_NULLPTR},
    {sipName_OnMeasureItem, SIP_MLMETH_CAST(meth_wxSimpleHtmlListBox_OnMeasureItem), METH_VARARGS|METH_KEYWORDS, SIP_NULLPTR},
    {sipName_ProcessEvent, SIP_MLMETH_CAST(meth_wxSimpleHtmlListBox_ProcessEvent), METH_VARARGS|METH_KEYWORDS, doc_wxSimpleHtmlListBox_ProcessEvent},
    {sipName_RemoveChild, SIP_MLMETH_CAST(meth_wxSimpleHtmlListBox_RemoveChild), METH_VARARGS|METH_KEYWORDS, doc_wxSimpleHtmlListBox_RemoveChild},
    {sipName_SendDestroyEvent, meth_wxSimpleHtmlListBox_SendDestroyEvent, METH_VARARGS, SIP_NULLPTR},
    {sipName_SetCanFocus, SIP_MLMETH_CAST(meth_wxSimpleHtmlListBox_SetCanFocus), METH_VARARGS|METH_KEYWORDS, doc_wxSimpleHtmlListBox_SetCanFocus},
    {sipName_SetSelection, SIP_MLMETH_CAST(meth_wxSimpleHtmlListBox_SetSelection), METH_VARARGS|METH_KEYWORDS, doc_wxSimpleHtmlListBox_SetSelection},
    {sipName_SetString, SIP_MLMETH_CAST(meth_wxSimpleHtmlListBox_SetString), METH_VARARGS|METH_KEYWORDS, doc_wxSimpleHtmlListBox_SetString},
    {sipName_SetValidator, SIP_MLMETH_CAST(meth_wxSimpleHtmlListBox_SetValidator), METH_VARARGS|METH_KEYWORDS, doc_wxSimpleHtmlListBox_SetValidator},
    {sipName_ShouldInheritColours, meth_wxSimpleHtmlListBox_ShouldInheritColours, METH_VARARGS, doc_wxSimpleHtmlListBox_ShouldInheritColours},
    {sipName_TransferDataFromWindow, meth_wxSimpleHtmlListBox_TransferDataFromWindow, METH_VARARGS, doc_wxSimpleHtmlListBox_TransferDataFromWindow},
    {sipName_TransferDataToWindow, meth_wxSimpleHtmlListBox_TransferDataToWindow, METH_VARARGS, doc_wxSimpleHtmlListBox_TransferDataToWindow},
    {sipName_TryAfter, SIP_MLMETH_CAST(meth_wxSimpleHtmlListBox_TryAfter), METH_VARARGS|METH_KEYWORDS, doc_wxSimpleHtmlListBox_TryAfter},
    {sipName_TryBefore, SIP_MLMETH_CAST(meth_wxSimpleHtmlListBox_TryBefore), METH_VARARGS|METH_KEYWORDS, doc_wxSimpleHtmlListBox_TryBefore},
    {sipName_Validate, meth_wxSimpleHtmlListBox_Validate, METH_VARARGS, doc_wxSimpleHtmlListBox_Validate}
};

PyDoc_STRVAR(doc_wxSimpleHtmlListBox, "SimpleHtmlListBox(parent, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, choices=[], style=HLB_DEFAULT_STYLE, validator=wx.DefaultValidator, name=SimpleHtmlListBoxNameStr)\n"
"SimpleHtmlListBox()\n"
"\n"
"wxSimpleHtmlListBox is an implementation of wxHtmlListBox which shows\n"
"HTML content in the listbox rows.");


sipClassTypeDef sipTypeDef__html_wxSimpleHtmlListBox = {
    {
        -1,
        SIP_NULLPTR,
        SIP_NULLPTR,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_wxSimpleHtmlListBox,
        SIP_NULLPTR,
        SIP_NULLPTR,
    },
    {
        sipNameNr_SimpleHtmlListBox,
        {0, 0, 1},
        65, methods_wxSimpleHtmlListBox,
        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_wxSimpleHtmlListBox,
    -1,
    -1,
    supers_wxSimpleHtmlListBox,
    SIP_NULLPTR,
    init_type_wxSimpleHtmlListBox,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_wxSimpleHtmlListBox,
    SIP_NULLPTR,
    array_wxSimpleHtmlListBox,
    SIP_NULLPTR,
    release_wxSimpleHtmlListBox,
    cast_wxSimpleHtmlListBox,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
};
