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

#include "sipAPI_html.h"
        #include <wx/html/htmlwin.h>
        #include <wx/window.h>
        #include <wx/gdicmn.h>
        #include <wx/gdicmn.h>
        #include <wx/html/htmlcell.h>
        #include <wx/event.h>
        #include <wx/cursor.h>
        #include <wx/html/htmlwin.h>
        #include <wx/bmpbndl.h>
        #include <wx/colour.h>
        #include <wx/html/htmlcell.h>
        #include <wx/window.h>
        #include <wx/event.h>
        #include <wx/validate.h>
        #include <wx/html/htmlfilt.h>
        #include <wx/config.h>
        #include <wx/statusbr.h>
        #include <wx/frame.h>
        #include <wx/html/winpars.h>
        #include <wx/html/htmlcell.h>
        #include <wx/event.h>
        #include <wx/gdicmn.h>
        #include <wx/dc.h>
        #include <wx/event.h>
    #include <wx/setup.h>
    #include <wxPython/wxpy_api.h>
        #include <wx/event.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>
    void _wxHtmlWindow_SetFonts(wxHtmlWindow* self, const wxString * normal_face, const wxString * fixed_face, const wxArrayInt* sizes)
    {
        if (sizes->GetCount() != 7) {
            wxPyErr_SetString(PyExc_ValueError, "Sequence of 7 integers expected.");
            return;
        }
        self->SetFonts(*normal_face, *fixed_face, &sizes->Item(0));
    }


class sipwxHtmlWindow : public ::wxHtmlWindow
{
public:
    sipwxHtmlWindow();
    sipwxHtmlWindow(::wxWindow*, ::wxWindowID, const ::wxPoint&, const ::wxSize&, long, const ::wxString&);
    virtual ~sipwxHtmlWindow();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_SendDestroyEvent();
    bool sipProtectVirt_ShouldScrollToChildOnFocus(bool, ::wxWindow*);
    ::wxSize sipProtectVirt_GetSizeAvailableForScrollTarget(bool, const ::wxSize&);
    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&);
    bool sipProtectVirt_OnCellClicked(bool, ::wxHtmlCell*, ::wxCoord, ::wxCoord, const ::wxMouseEvent&);
    void sipProtectVirt_OnCellMouseHover(bool, ::wxHtmlCell*, ::wxCoord, ::wxCoord);
    bool sipProtect_ScrollToAnchor(const ::wxString&);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void OnCellMouseHover(::wxHtmlCell*, ::wxCoord, ::wxCoord) SIP_OVERRIDE;
    bool OnCellClicked(::wxHtmlCell*, ::wxCoord, ::wxCoord, const ::wxMouseEvent&) SIP_OVERRIDE;
    void OnSetTitle(const ::wxString&) SIP_OVERRIDE;
    ::wxHtmlOpeningStatus OnOpeningURL(::wxHtmlURLType, const ::wxString&, ::wxString*) const SIP_OVERRIDE;
    void OnLinkClicked(const ::wxHtmlLinkInfo&) SIP_OVERRIDE;
    void SetHTMLWindowTitle(const ::wxString&) SIP_OVERRIDE;
    void OnHTMLLinkClicked(const ::wxHtmlLinkInfo&) SIP_OVERRIDE;
    ::wxHtmlOpeningStatus OnHTMLOpeningURL(::wxHtmlURLType, const ::wxString&, ::wxString*) const SIP_OVERRIDE;
    ::wxPoint HTMLCoordsToWindow(::wxHtmlCell*, const ::wxPoint&) const SIP_OVERRIDE;
    ::wxWindow* GetHTMLWindow() SIP_OVERRIDE;
    ::wxColour GetHTMLBackgroundColour() const SIP_OVERRIDE;
    void SetHTMLBackgroundColour(const ::wxColour&) SIP_OVERRIDE;
    void SetHTMLBackgroundImage(const ::wxBitmapBundle&) SIP_OVERRIDE;
    void SetHTMLStatusText(const ::wxString&) SIP_OVERRIDE;
    ::wxCursor GetHTMLCursor(::wxHtmlWindowInterface::HTMLCursor) const SIP_OVERRIDE;
    ::wxSize GetSizeAvailableForScrollTarget(const ::wxSize&) SIP_OVERRIDE;
    bool ShouldScrollToChildOnFocus(::wxWindow*) SIP_OVERRIDE;
    bool SendAutoScrollEvents(::wxScrollWinEvent&) const SIP_OVERRIDE;
    void OnDraw(::wxDC&) SIP_OVERRIDE;
    ::wxSize DoGetBestClientSize() const SIP_OVERRIDE;
    ::wxSize DoGetBestSize() const SIP_OVERRIDE;
    void DoThaw() SIP_OVERRIDE;
    void DoFreeze() SIP_OVERRIDE;
    ::wxBorder GetDefaultBorderForControl() const SIP_OVERRIDE;
    ::wxBorder GetDefaultBorder() const SIP_OVERRIDE;
    void DoSetWindowVariant(::wxWindowVariant) SIP_OVERRIDE;
    void DoMoveWindow(int, int, int, int) SIP_OVERRIDE;
    void DoSetSizeHints(int, int, int, int, int, int) SIP_OVERRIDE;
    void DoSetClientSize(int, int) SIP_OVERRIDE;
    void DoSetSize(int, int, int, int, int) SIP_OVERRIDE;
    void DoGetClientSize(int*, int*) const SIP_OVERRIDE;
    void DoGetSize(int*, int*) const SIP_OVERRIDE;
    void DoGetPosition(int*, int*) const SIP_OVERRIDE;
    void DoEnable(bool) SIP_OVERRIDE;
    ::wxWindow* GetMainWindowOfCompositeControl() SIP_OVERRIDE;
    void OnInternalIdle() SIP_OVERRIDE;
    void InitDialog() SIP_OVERRIDE;
    void InheritAttributes() SIP_OVERRIDE;
    bool Destroy() SIP_OVERRIDE;
    bool Validate() SIP_OVERRIDE;
    bool TransferDataToWindow() SIP_OVERRIDE;
    bool TransferDataFromWindow() SIP_OVERRIDE;
    void SetValidator(const ::wxValidator&) SIP_OVERRIDE;
    ::wxValidator* GetValidator() SIP_OVERRIDE;
    bool ShouldInheritColours() const SIP_OVERRIDE;
    bool HasTransparentBackground() SIP_OVERRIDE;
    ::wxPoint GetClientAreaOrigin() const SIP_OVERRIDE;
    bool InformFirstDirection(int, int, int) SIP_OVERRIDE;
    void EnableVisibleFocus(bool) SIP_OVERRIDE;
    void SetCanFocus(bool) SIP_OVERRIDE;
    bool AcceptsFocusRecursively() const SIP_OVERRIDE;
    bool AcceptsFocusFromKeyboard() const SIP_OVERRIDE;
    bool AcceptsFocus() const SIP_OVERRIDE;
    bool TryAfter(::wxEvent&) SIP_OVERRIDE;
    bool TryBefore(::wxEvent&) SIP_OVERRIDE;
    bool ProcessEvent(::wxEvent&) SIP_OVERRIDE;
    void AddChild(::wxWindowBase*) SIP_OVERRIDE;
    void RemoveChild(::wxWindowBase*) SIP_OVERRIDE;

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[58];
};

sipwxHtmlWindow::sipwxHtmlWindow(): ::wxHtmlWindow(), sipPySelf(SIP_NULLPTR)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipwxHtmlWindow::sipwxHtmlWindow(::wxWindow*parent, ::wxWindowID id, const ::wxPoint& pos, const ::wxSize& size, long style, const ::wxString& name): ::wxHtmlWindow(parent, id, pos, size, style, name), sipPySelf(SIP_NULLPTR)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

void sipwxHtmlWindow::OnCellMouseHover(::wxHtmlCell*cell, ::wxCoord x, ::wxCoord y)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[0], &sipPySelf, SIP_NULLPTR, sipName_OnCellMouseHover);

    if (!sipMeth)
    {
        ::wxHtmlWindow::OnCellMouseHover(cell, x, y);
        return;
    }

    extern void sipVH__html_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxHtmlCell*, ::wxCoord, ::wxCoord);

    sipVH__html_53(sipGILState, 0, sipPySelf, sipMeth, cell, x, y);
}

bool sipwxHtmlWindow::OnCellClicked(::wxHtmlCell*cell, ::wxCoord x, ::wxCoord y, const ::wxMouseEvent& event)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[1], &sipPySelf, SIP_NULLPTR, sipName_OnCellClicked);

    if (!sipMeth)
        return ::wxHtmlWindow::OnCellClicked(cell, x, y, event);

    extern bool sipVH__html_52(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxHtmlCell*, ::wxCoord, ::wxCoord, const ::wxMouseEvent&);

    return sipVH__html_52(sipGILState, 0, sipPySelf, sipMeth, cell, x, y, event);
}

void sipwxHtmlWindow::OnSetTitle(const ::wxString& title)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        ::wxHtmlWindow::OnSetTitle(title);
        return;
    }

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

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

::wxHtmlOpeningStatus sipwxHtmlWindow::OnOpeningURL(::wxHtmlURLType type, const ::wxString& url, ::wxString*redirectTo) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::wxHtmlWindow::OnOpeningURL(type, url, redirectTo);

    extern ::wxHtmlOpeningStatus sipVH__html_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxHtmlURLType, const ::wxString&, ::wxString*);

    return sipVH__html_26(sipGILState, 0, sipPySelf, sipMeth, type, url, redirectTo);
}

void sipwxHtmlWindow::OnLinkClicked(const ::wxHtmlLinkInfo& link)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        ::wxHtmlWindow::OnLinkClicked(link);
        return;
    }

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

    sipVH__html_25(sipGILState, 0, sipPySelf, sipMeth, link);
}

void sipwxHtmlWindow::SetHTMLWindowTitle(const ::wxString& title)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[5], &sipPySelf, SIP_NULLPTR, sipName_SetHTMLWindowTitle);

    if (!sipMeth)
    {
        ::wxHtmlWindow::SetHTMLWindowTitle(title);
        return;
    }

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

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

void sipwxHtmlWindow::OnHTMLLinkClicked(const ::wxHtmlLinkInfo& link)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[6], &sipPySelf, SIP_NULLPTR, sipName_OnHTMLLinkClicked);

    if (!sipMeth)
    {
        ::wxHtmlWindow::OnHTMLLinkClicked(link);
        return;
    }

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

    sipVH__html_25(sipGILState, 0, sipPySelf, sipMeth, link);
}

::wxHtmlOpeningStatus sipwxHtmlWindow::OnHTMLOpeningURL(::wxHtmlURLType type, const ::wxString& url, ::wxString*redirectTo) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::wxHtmlWindow::OnHTMLOpeningURL(type, url, redirectTo);

    extern ::wxHtmlOpeningStatus sipVH__html_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxHtmlURLType, const ::wxString&, ::wxString*);

    return sipVH__html_26(sipGILState, 0, sipPySelf, sipMeth, type, url, redirectTo);
}

::wxPoint sipwxHtmlWindow::HTMLCoordsToWindow(::wxHtmlCell*cell, const ::wxPoint& pos) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::wxHtmlWindow::HTMLCoordsToWindow(cell, pos);

    extern ::wxPoint sipVH__html_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxHtmlCell*, const ::wxPoint&);

    return sipVH__html_27(sipGILState, 0, sipPySelf, sipMeth, cell, pos);
}

::wxWindow* sipwxHtmlWindow::GetHTMLWindow()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[9], &sipPySelf, SIP_NULLPTR, sipName_GetHTMLWindow);

    if (!sipMeth)
        return ::wxHtmlWindow::GetHTMLWindow();

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

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

::wxColour sipwxHtmlWindow::GetHTMLBackgroundColour() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::wxHtmlWindow::GetHTMLBackgroundColour();

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

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

void sipwxHtmlWindow::SetHTMLBackgroundColour(const ::wxColour& clr)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        ::wxHtmlWindow::SetHTMLBackgroundColour(clr);
        return;
    }

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

    sipVH__html_30(sipGILState, 0, sipPySelf, sipMeth, clr);
}

void sipwxHtmlWindow::SetHTMLBackgroundImage(const ::wxBitmapBundle& bmpBg)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        ::wxHtmlWindow::SetHTMLBackgroundImage(bmpBg);
        return;
    }

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

    sipVH__html_31(sipGILState, 0, sipPySelf, sipMeth, bmpBg);
}

void sipwxHtmlWindow::SetHTMLStatusText(const ::wxString& text)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        ::wxHtmlWindow::SetHTMLStatusText(text);
        return;
    }

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

    sipVH__html_22(sipGILState, 0, sipPySelf, sipMeth, text);
}

::wxCursor sipwxHtmlWindow::GetHTMLCursor(::wxHtmlWindowInterface::HTMLCursor type) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::wxHtmlWindow::GetHTMLCursor(type);

    extern ::wxCursor sipVH__html_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxHtmlWindowInterface::HTMLCursor);

    return sipVH__html_32(sipGILState, 0, sipPySelf, sipMeth, type);
}

::wxSize sipwxHtmlWindow::GetSizeAvailableForScrollTarget(const ::wxSize& size)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::wxHtmlWindow::GetSizeAvailableForScrollTarget(size);

    extern ::wxSize sipVH__html_51(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxSize&);

    return sipVH__html_51(sipGILState, 0, sipPySelf, sipMeth, size);
}

bool sipwxHtmlWindow::ShouldScrollToChildOnFocus(::wxWindow*child)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::wxHtmlWindow::ShouldScrollToChildOnFocus(child);

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

    return sipVH__html_50(sipGILState, 0, sipPySelf, sipMeth, child);
}

bool sipwxHtmlWindow::SendAutoScrollEvents(::wxScrollWinEvent& event) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::wxHtmlWindow::SendAutoScrollEvents(event);

    extern bool sipVH__html_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxScrollWinEvent&);

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

void sipwxHtmlWindow::OnDraw(::wxDC& dc)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        ::wxHtmlWindow::OnDraw(dc);
        return;
    }

    extern void sipVH__html_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxDC&);

    sipVH__html_48(sipGILState, 0, sipPySelf, sipMeth, dc);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
    {
        ::wxHtmlWindow::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 sipwxHtmlWindow::DoSetSizeHints(int minW, int minH, int maxW, int maxH, int incW, int incH)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        ::wxHtmlWindow::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 sipwxHtmlWindow::DoSetClientSize(int width, int height)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        ::wxHtmlWindow::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 sipwxHtmlWindow::DoSetSize(int x, int y, int width, int height, int sizeFlags)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        ::wxHtmlWindow::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 sipwxHtmlWindow::DoGetClientSize(int*width, int*height) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        ::wxHtmlWindow::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 sipwxHtmlWindow::DoGetSize(int*width, int*height) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        ::wxHtmlWindow::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 sipwxHtmlWindow::DoGetPosition(int*x, int*y) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        ::wxHtmlWindow::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 sipwxHtmlWindow::DoEnable(bool enable)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
        return ::wxHtmlWindow::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);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

bool sipwxHtmlWindow::sipProtectVirt_ShouldScrollToChildOnFocus(bool sipSelfWasArg, ::wxWindow*child)
{
    return (sipSelfWasArg ? wxScrolled<wxPanel>::ShouldScrollToChildOnFocus(child) : ShouldScrollToChildOnFocus(child));
}

::wxSize sipwxHtmlWindow::sipProtectVirt_GetSizeAvailableForScrollTarget(bool sipSelfWasArg, const ::wxSize& size)
{
    return (sipSelfWasArg ? wxScrolled<wxPanel>::GetSizeAvailableForScrollTarget(size) : GetSizeAvailableForScrollTarget(size));
}

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

void sipwxHtmlWindow::sipProtectVirt_DoEnable(bool sipSelfWasArg, bool enable)
{
    (sipSelfWasArg ? ::wxHtmlWindow::DoEnable(enable) : DoEnable(enable));
}

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

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

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

::wxSize sipwxHtmlWindow::sipProtectVirt_DoGetBestSize(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? ::wxHtmlWindow::DoGetBestSize() : DoGetBestSize());
}

::wxSize sipwxHtmlWindow::sipProtectVirt_DoGetBestClientSize(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? ::wxHtmlWindow::DoGetBestClientSize() : DoGetBestClientSize());
}

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

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

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

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

void sipwxHtmlWindow::sipProtectVirt_DoSetWindowVariant(bool sipSelfWasArg, ::wxWindowVariant variant)
{
    (sipSelfWasArg ? ::wxHtmlWindow::DoSetWindowVariant(variant) : DoSetWindowVariant(variant));
}

::wxBorder sipwxHtmlWindow::sipProtectVirt_GetDefaultBorder(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? ::wxHtmlWindow::GetDefaultBorder() : GetDefaultBorder());
}

::wxBorder sipwxHtmlWindow::sipProtectVirt_GetDefaultBorderForControl(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? ::wxHtmlWindow::GetDefaultBorderForControl() : GetDefaultBorderForControl());
}

void sipwxHtmlWindow::sipProtectVirt_DoFreeze(bool sipSelfWasArg)
{
    (sipSelfWasArg ? ::wxHtmlWindow::DoFreeze() : DoFreeze());
}

void sipwxHtmlWindow::sipProtectVirt_DoThaw(bool sipSelfWasArg)
{
    (sipSelfWasArg ? ::wxHtmlWindow::DoThaw() : DoThaw());
}

bool sipwxHtmlWindow::sipProtectVirt_HasTransparentBackground(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? ::wxHtmlWindow::HasTransparentBackground() : HasTransparentBackground());
}

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

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

bool sipwxHtmlWindow::sipProtectVirt_OnCellClicked(bool sipSelfWasArg, ::wxHtmlCell*cell, ::wxCoord x, ::wxCoord y, const ::wxMouseEvent& event)
{
    return (sipSelfWasArg ? ::wxHtmlWindow::OnCellClicked(cell, x, y, event) : OnCellClicked(cell, x, y, event));
}

void sipwxHtmlWindow::sipProtectVirt_OnCellMouseHover(bool sipSelfWasArg, ::wxHtmlCell*cell, ::wxCoord x, ::wxCoord y)
{
    (sipSelfWasArg ? ::wxHtmlWindow::OnCellMouseHover(cell, x, y) : OnCellMouseHover(cell, x, y));
}

bool sipwxHtmlWindow::sipProtect_ScrollToAnchor(const ::wxString& anchor)
{
    return ::wxHtmlWindow::ScrollToAnchor(anchor);
}


PyDoc_STRVAR(doc_wxHtmlWindow_SendDestroyEvent, "SendDestroyEvent() -> None\n"
"\n"
"Generate wxWindowDestroyEvent for this window.");

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

    {
        sipwxHtmlWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHtmlWindow, &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_HtmlWindow, sipName_SendDestroyEvent, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_ShouldScrollToChildOnFocus, "ShouldScrollToChildOnFocus(child) -> bool\n"
"\n"
"This method can be overridden in a derived class to prevent scrolling\n"
"the child window into view automatically when it gets focus.");

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

    {
        ::wxWindow* child;
        sipwxHtmlWindow *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8", &sipSelf, sipType_wxHtmlWindow, &sipCpp, sipType_wxWindow, &child))
        {
            bool sipRes;

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_ShouldScrollToChildOnFocus(sipSelfWasArg, child);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_ShouldScrollToChildOnFocus, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_GetSizeAvailableForScrollTarget, "GetSizeAvailableForScrollTarget(size) -> Size\n"
"\n"
"Function which must be overridden to implement the size available for\n"
"the scroll target for the given size of the main window.");

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

    {
        const ::wxSize* size;
        int sizeState = 0;
        sipwxHtmlWindow *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxHtmlWindow, &sipCpp, sipType_wxSize, &size, &sizeState))
        {
            ::wxSize*sipRes;

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = new ::wxSize(sipCpp->sipProtectVirt_GetSizeAvailableForScrollTarget(sipSelfWasArg, *size));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::wxSize *>(size), sipType_wxSize, sizeState);

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_GetSizeAvailableForScrollTarget, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_AppendToPage, "AppendToPage(source) -> bool\n"
"\n"
"Appends HTML fragment to currently displayed text and refreshes the\n"
"window.");

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

    {
        const ::wxString* source;
        int sourceState = 0;
        ::wxHtmlWindow *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxHtmlWindow, &sipCpp, sipType_wxString, &source, &sourceState))
        {
            bool sipRes;

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->AppendToPage(*source);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::wxString *>(source), sipType_wxString, sourceState);

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_AppendToPage, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_GetInternalRepresentation, "GetInternalRepresentation() -> HtmlContainerCell\n"
"\n"
"Returns pointer to the top-level container.");

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

    {
        const ::wxHtmlWindow *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->GetInternalRepresentation();
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_GetInternalRepresentation, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_GetOpenedAnchor, "GetOpenedAnchor() -> str\n"
"\n"
"Returns anchor within currently opened page (see\n"
"wxHtmlWindow::GetOpenedPage).");

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

    {
        const ::wxHtmlWindow *sipCpp;

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

            PyErr_Clear();

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

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_GetOpenedAnchor, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_GetOpenedPage, "GetOpenedPage() -> str\n"
"\n"
"Returns full location of the opened page.");

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

    {
        const ::wxHtmlWindow *sipCpp;

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

            PyErr_Clear();

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

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_GetOpenedPage, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_GetOpenedPageTitle, "GetOpenedPageTitle() -> str\n"
"\n"
"Returns title of the opened page or wxEmptyString if the current page\n"
"does not contain <TITLE> tag.");

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

    {
        const ::wxHtmlWindow *sipCpp;

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

            PyErr_Clear();

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

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_GetOpenedPageTitle, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_GetParser, "GetParser() -> HtmlWinParser\n"
"\n"
"Returns a pointer to the current parser.");

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

    {
        const ::wxHtmlWindow *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->GetParser();
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_GetParser, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_GetRelatedFrame, "GetRelatedFrame() -> wx.Frame\n"
"\n"
"Returns the related frame.");

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

    {
        const ::wxHtmlWindow *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->GetRelatedFrame();
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_GetRelatedFrame, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_HistoryBack, "HistoryBack() -> bool\n"
"\n"
"Moves back to the previous page.");

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

    {
        ::wxHtmlWindow *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->HistoryBack();
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_HistoryBack, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_HistoryCanBack, "HistoryCanBack() -> bool\n"
"\n"
"Returns true if it is possible to go back in the history i.e.");

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

    {
        ::wxHtmlWindow *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->HistoryCanBack();
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_HistoryCanBack, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_HistoryCanForward, "HistoryCanForward() -> bool\n"
"\n"
"Returns true if it is possible to go forward in the history i.e.");

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

    {
        ::wxHtmlWindow *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->HistoryCanForward();
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_HistoryCanForward, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_HistoryClear, "HistoryClear() -> None\n"
"\n"
"Clears history.");

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

    {
        ::wxHtmlWindow *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipCpp->HistoryClear();
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_HistoryClear, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_HistoryForward, "HistoryForward() -> bool\n"
"\n"
"Moves to next page in history.");

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

    {
        ::wxHtmlWindow *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->HistoryForward();
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_HistoryForward, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_LoadFile, "LoadFile(filename) -> bool\n"
"\n"
"Loads an HTML page from a file and displays it.");

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

    {
        const ::wxFileName* filename;
        int filenameState = 0;
        ::wxHtmlWindow *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxHtmlWindow, &sipCpp, sipType_wxFileName, &filename, &filenameState))
        {
            bool sipRes;

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->LoadFile(*filename);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::wxFileName *>(filename), sipType_wxFileName, filenameState);

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_LoadFile, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_LoadPage, "LoadPage(location) -> bool\n"
"\n"
"Unlike SetPage() this function first loads the HTML page from location\n"
"and then displays it.");

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

    {
        const ::wxString* location;
        int locationState = 0;
        ::wxHtmlWindow *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxHtmlWindow, &sipCpp, sipType_wxString, &location, &locationState))
        {
            bool sipRes;

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->LoadPage(*location);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::wxString *>(location), sipType_wxString, locationState);

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_LoadPage, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_OnLinkClicked, "OnLinkClicked(link) -> None\n"
"\n"
"Called when user clicks on hypertext link.");

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

    {
        const ::wxHtmlLinkInfo* link;
        ::wxHtmlWindow *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxHtmlWindow, &sipCpp, sipType_wxHtmlLinkInfo, &link))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->::wxHtmlWindow::OnLinkClicked(*link) : sipCpp->OnLinkClicked(*link));
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_OnLinkClicked, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_OnOpeningURL, "OnOpeningURL(type, url) -> Tuple[HtmlOpeningStatus, str]\n"
"\n"
"Called when an URL is being opened (either when the user clicks on a\n"
"link or an image is loaded).");

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

    {
        ::wxHtmlURLType type;
        const ::wxString* url;
        int urlState = 0;
        ::wxString* redirectTo;
        const ::wxHtmlWindow *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BEJ1", &sipSelf, sipType_wxHtmlWindow, &sipCpp, sipType_wxHtmlURLType, &type, sipType_wxString, &url, &urlState))
        {
            ::wxHtmlOpeningStatus sipRes;
            redirectTo = new ::wxString();

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->::wxHtmlWindow::OnOpeningURL(type, *url, redirectTo) : sipCpp->OnOpeningURL(type, *url, redirectTo));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::wxString *>(url), sipType_wxString, urlState);

            if (PyErr_Occurred())
                return 0;

            return sipBuildResult(0, "(FN)", sipRes, sipType_wxHtmlOpeningStatus, redirectTo, sipType_wxString, SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_OnOpeningURL, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_OnSetTitle, "OnSetTitle(title) -> None\n"
"\n"
"Called on parsing <TITLE> tag.");

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

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

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

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

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

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_OnSetTitle, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_ReadCustomization, "ReadCustomization(cfg, path='') -> None\n"
"\n"
"This reads custom settings from wxConfig.");

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

    {
        ::wxConfigBase* cfg;
        ::wxString pathdef = wxEmptyString;
        ::wxString* path = &pathdef;
        int pathState = 0;
        ::wxHtmlWindow *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8|J1", &sipSelf, sipType_wxHtmlWindow, &sipCpp, sipType_wxConfigBase, &cfg, sipType_wxString, &path, &pathState))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipCpp->ReadCustomization(cfg, *path);
            Py_END_ALLOW_THREADS
            sipReleaseType(path, sipType_wxString, pathState);

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_ReadCustomization, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_SelectAll, "SelectAll() -> None\n"
"\n"
"Selects all text in the window.");

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

    {
        ::wxHtmlWindow *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipCpp->SelectAll();
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_SelectAll, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_SelectLine, "SelectLine(pos) -> None\n"
"\n"
"Selects the line of text that pos points at.");

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

    {
        const ::wxPoint* pos;
        int posState = 0;
        ::wxHtmlWindow *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxHtmlWindow, &sipCpp, sipType_wxPoint, &pos, &posState))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipCpp->SelectLine(*pos);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::wxPoint *>(pos), sipType_wxPoint, posState);

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_SelectLine, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_SelectWord, "SelectWord(pos) -> None\n"
"\n"
"Selects the word at position pos.");

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

    {
        const ::wxPoint* pos;
        int posState = 0;
        ::wxHtmlWindow *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxHtmlWindow, &sipCpp, sipType_wxPoint, &pos, &posState))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipCpp->SelectWord(*pos);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::wxPoint *>(pos), sipType_wxPoint, posState);

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_SelectWord, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_SelectionToText, "SelectionToText() -> str\n"
"\n"
"Returns the current selection as plain text.");

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

    {
        ::wxHtmlWindow *sipCpp;

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

            PyErr_Clear();

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

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_SelectionToText, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_SetBorders, "SetBorders(b) -> None\n"
"\n"
"This function sets the space between border of window and HTML\n"
"contents.");

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

    {
        int b;
        ::wxHtmlWindow *sipCpp;

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

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

            Py_BEGIN_ALLOW_THREADS
            sipCpp->SetBorders(b);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_SetBorders, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_SetFonts, "SetFonts(normal_face, fixed_face, sizes) -> None\n"
"\n"
"This function sets font sizes and faces.");

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

    {
        const ::wxString* normal_face;
        int normal_faceState = 0;
        const ::wxString* fixed_face;
        int fixed_faceState = 0;
        const ::wxArrayInt* sizes;
        int sizesState = 0;
        ::wxHtmlWindow *sipCpp;

        static const char *sipKwdList[] = {
            sipName_normal_face,
            sipName_fixed_face,
            sipName_sizes,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1J1J1", &sipSelf, sipType_wxHtmlWindow, &sipCpp, sipType_wxString, &normal_face, &normal_faceState, sipType_wxString, &fixed_face, &fixed_faceState, sipType_wxArrayInt, &sizes, &sizesState))
        {
            int sipIsErr = 0;
        PyErr_Clear();
        Py_BEGIN_ALLOW_THREADS
        _wxHtmlWindow_SetFonts(sipCpp, normal_face, fixed_face, sizes);
        Py_END_ALLOW_THREADS
        if (PyErr_Occurred()) sipIsErr = 1;
            sipReleaseType(const_cast< ::wxString *>(normal_face), sipType_wxString, normal_faceState);
            sipReleaseType(const_cast< ::wxString *>(fixed_face), sipType_wxString, fixed_faceState);
            sipReleaseType(const_cast< ::wxArrayInt *>(sizes), sipType_wxArrayInt, sizesState);

            if (sipIsErr)
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_SetFonts, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_SetStandardFonts, "SetStandardFonts(size=-1, normal_face='', fixed_face='') -> None\n"
"\n"
"Sets default font sizes and/or default font size.");

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

    {
        int size = -1;
        const ::wxString& normal_facedef = wxEmptyString;
        const ::wxString* normal_face = &normal_facedef;
        int normal_faceState = 0;
        const ::wxString& fixed_facedef = wxEmptyString;
        const ::wxString* fixed_face = &fixed_facedef;
        int fixed_faceState = 0;
        ::wxHtmlWindow *sipCpp;

        static const char *sipKwdList[] = {
            sipName_size,
            sipName_normal_face,
            sipName_fixed_face,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|iJ1J1", &sipSelf, sipType_wxHtmlWindow, &sipCpp, &size, sipType_wxString, &normal_face, &normal_faceState, sipType_wxString, &fixed_face, &fixed_faceState))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipCpp->SetStandardFonts(size, *normal_face, *fixed_face);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::wxString *>(normal_face), sipType_wxString, normal_faceState);
            sipReleaseType(const_cast< ::wxString *>(fixed_face), sipType_wxString, fixed_faceState);

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_SetStandardFonts, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_SetPage, "SetPage(source) -> bool\n"
"\n"
"Sets the source of a page and displays it, for example:");

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

    {
        const ::wxString* source;
        int sourceState = 0;
        ::wxHtmlWindow *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxHtmlWindow, &sipCpp, sipType_wxString, &source, &sourceState))
        {
            bool sipRes;

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->SetPage(*source);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::wxString *>(source), sipType_wxString, sourceState);

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_SetPage, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_SetRelatedFrame, "SetRelatedFrame(frame, format) -> None\n"
"\n"
"Sets the frame in which page title will be displayed.");

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

    {
        ::wxFrame* frame;
        const ::wxString* format;
        int formatState = 0;
        ::wxHtmlWindow *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8J1", &sipSelf, sipType_wxHtmlWindow, &sipCpp, sipType_wxFrame, &frame, sipType_wxString, &format, &formatState))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipCpp->SetRelatedFrame(frame, *format);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::wxString *>(format), sipType_wxString, formatState);

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_SetRelatedFrame, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_SetRelatedStatusBar, "SetRelatedStatusBar(index) -> None\n"
"SetRelatedStatusBar(statusbar, index=0) -> None\n"
"\n"
"After calling SetRelatedFrame(), this sets statusbar slot where\n"
"messages will be displayed.\n"
"");

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

    {
        int index;
        ::wxHtmlWindow *sipCpp;

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

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

            Py_BEGIN_ALLOW_THREADS
            sipCpp->SetRelatedStatusBar(index);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        ::wxStatusBar* statusbar;
        int index = 0;
        ::wxHtmlWindow *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8|i", &sipSelf, sipType_wxHtmlWindow, &sipCpp, sipType_wxStatusBar, &statusbar, &index))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipCpp->SetRelatedStatusBar(statusbar, index);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_SetRelatedStatusBar, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_ToText, "ToText() -> str\n"
"\n"
"Returns content of currently displayed page as plain text.");

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

    {
        ::wxHtmlWindow *sipCpp;

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

            PyErr_Clear();

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

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_ToText, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_WriteCustomization, "WriteCustomization(cfg, path='') -> None\n"
"\n"
"Saves custom settings into wxConfig.");

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

    {
        ::wxConfigBase* cfg;
        ::wxString pathdef = wxEmptyString;
        ::wxString* path = &pathdef;
        int pathState = 0;
        ::wxHtmlWindow *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8|J1", &sipSelf, sipType_wxHtmlWindow, &sipCpp, sipType_wxConfigBase, &cfg, sipType_wxString, &path, &pathState))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipCpp->WriteCustomization(cfg, *path);
            Py_END_ALLOW_THREADS
            sipReleaseType(path, sipType_wxString, pathState);

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_WriteCustomization, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_AddFilter, "AddFilter(filter) -> None\n"
"\n"
"Adds an input filter to the static list of available filters.");

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

    {
        ::wxHtmlFilter* filter;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "J:", sipType_wxHtmlFilter, &filter))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            ::wxHtmlWindow::AddFilter(filter);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_AddFilter, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_GetDefaultHTMLCursor, "GetDefaultHTMLCursor(type) -> wx.Cursor\n"
"\n"
"Retrieves the default cursor for a given HTMLCursor type.");

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

    {
        ::wxHtmlWindowInterface::HTMLCursor type;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "E", sipType_wxHtmlWindowInterface_HTMLCursor, &type))
        {
            ::wxCursor*sipRes;

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = new ::wxCursor(::wxHtmlWindow::GetDefaultHTMLCursor(type));
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_GetDefaultHTMLCursor, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_SetDefaultHTMLCursor, "SetDefaultHTMLCursor(type, cursor) -> None\n"
"\n"
"Sets the default cursor for a given HTMLCursor type.");

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

    {
        ::wxHtmlWindowInterface::HTMLCursor type;
        const ::wxCursor* cursor;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "EJ9", sipType_wxHtmlWindowInterface_HTMLCursor, &type, sipType_wxCursor, &cursor))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            ::wxHtmlWindow::SetDefaultHTMLCursor(type, *cursor);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_SetDefaultHTMLCursor, SIP_NULLPTR);

    return SIP_NULLPTR;
}


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

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

    {
        const ::wxHtmlWindow *sipCpp;

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

            PyErr_Clear();

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

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_GetClientAreaOrigin, doc_wxHtmlWindow_GetClientAreaOrigin);

    return SIP_NULLPTR;
}


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

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

    {
        ::wxHtmlWindow *sipCpp;

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

            PyErr_Clear();

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

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_Validate, doc_wxHtmlWindow_Validate);

    return SIP_NULLPTR;
}


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

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

    {
        ::wxHtmlWindow *sipCpp;

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

            PyErr_Clear();

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

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_TransferDataToWindow, doc_wxHtmlWindow_TransferDataToWindow);

    return SIP_NULLPTR;
}


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

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

    {
        ::wxHtmlWindow *sipCpp;

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

            PyErr_Clear();

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

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_TransferDataFromWindow, doc_wxHtmlWindow_TransferDataFromWindow);

    return SIP_NULLPTR;
}


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

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

    {
        ::wxHtmlWindow *sipCpp;

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

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

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_InitDialog, doc_wxHtmlWindow_InitDialog);

    return SIP_NULLPTR;
}


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

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

    {
        const ::wxHtmlWindow *sipCpp;

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

            PyErr_Clear();

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

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_AcceptsFocus, doc_wxHtmlWindow_AcceptsFocus);

    return SIP_NULLPTR;
}


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

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

    {
        const ::wxHtmlWindow *sipCpp;

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

            PyErr_Clear();

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

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_AcceptsFocusRecursively, doc_wxHtmlWindow_AcceptsFocusRecursively);

    return SIP_NULLPTR;
}


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

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

    {
        const ::wxHtmlWindow *sipCpp;

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

            PyErr_Clear();

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

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_AcceptsFocusFromKeyboard, doc_wxHtmlWindow_AcceptsFocusFromKeyboard);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_AddChild, "AddChild(self, child: WindowBase|None)");

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

    {
        ::wxWindowBase* child;
        ::wxHtmlWindow *sipCpp;

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

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

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

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_AddChild, doc_wxHtmlWindow_AddChild);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_RemoveChild, "RemoveChild(self, child: WindowBase|None)");

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

    {
        ::wxWindowBase* child;
        ::wxHtmlWindow *sipCpp;

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

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

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

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_RemoveChild, doc_wxHtmlWindow_RemoveChild);

    return SIP_NULLPTR;
}


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

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

    {
        ::wxHtmlWindow *sipCpp;

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

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

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_InheritAttributes, doc_wxHtmlWindow_InheritAttributes);

    return SIP_NULLPTR;
}


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

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

    {
        const ::wxHtmlWindow *sipCpp;

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

            PyErr_Clear();

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

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_ShouldInheritColours, doc_wxHtmlWindow_ShouldInheritColours);

    return SIP_NULLPTR;
}


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

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

    {
        ::wxHtmlWindow *sipCpp;

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

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

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_OnInternalIdle, doc_wxHtmlWindow_OnInternalIdle);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_GetMainWindowOfCompositeControl, "GetMainWindowOfCompositeControl(self) -> Window|None");

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

    {
        ::wxHtmlWindow *sipCpp;

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

            PyErr_Clear();

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

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_GetMainWindowOfCompositeControl, doc_wxHtmlWindow_GetMainWindowOfCompositeControl);

    return SIP_NULLPTR;
}


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

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

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

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

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->::wxHtmlWindow::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_HtmlWindow, sipName_InformFirstDirection, doc_wxHtmlWindow_InformFirstDirection);

    return SIP_NULLPTR;
}


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

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

    {
        bool canFocus;
        ::wxHtmlWindow *sipCpp;

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

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

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

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_SetCanFocus, doc_wxHtmlWindow_SetCanFocus);

    return SIP_NULLPTR;
}


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

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

    {
        ::wxHtmlWindow *sipCpp;

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

            PyErr_Clear();

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

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_Destroy, doc_wxHtmlWindow_Destroy);

    return SIP_NULLPTR;
}


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

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

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

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

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

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

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_SetValidator, doc_wxHtmlWindow_SetValidator);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_GetValidator, "GetValidator(self) -> Validator|None");

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

    {
        ::wxHtmlWindow *sipCpp;

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

            PyErr_Clear();

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

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_GetValidator, doc_wxHtmlWindow_GetValidator);

    return SIP_NULLPTR;
}


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

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

    {
        bool enabled;
        ::wxHtmlWindow *sipCpp;

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

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

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

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_EnableVisibleFocus, doc_wxHtmlWindow_EnableVisibleFocus);

    return SIP_NULLPTR;
}


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

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

    {
        ::wxEvent* event;
        sipwxHtmlWindow *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxHtmlWindow, &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_HtmlWindow, sipName_ProcessEvent, doc_wxHtmlWindow_ProcessEvent);

    return SIP_NULLPTR;
}


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

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

    {
        bool enable;
        sipwxHtmlWindow *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bb", &sipSelf, sipType_wxHtmlWindow, &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_HtmlWindow, sipName_DoEnable, doc_wxHtmlWindow_DoEnable);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_DoGetPosition, "DoGetPosition(self) -> (int, int)");

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

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType_wxHtmlWindow, &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_HtmlWindow, sipName_DoGetPosition, doc_wxHtmlWindow_DoGetPosition);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_DoGetSize, "DoGetSize(self) -> (int, int)");

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

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType_wxHtmlWindow, &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_HtmlWindow, sipName_DoGetSize, doc_wxHtmlWindow_DoGetSize);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_DoGetClientSize, "DoGetClientSize(self) -> (int, int)");

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

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType_wxHtmlWindow, &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_HtmlWindow, sipName_DoGetClientSize, doc_wxHtmlWindow_DoGetClientSize);

    return SIP_NULLPTR;
}


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

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

    {
        const sipwxHtmlWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHtmlWindow, &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_HtmlWindow, sipName_DoGetBestSize, doc_wxHtmlWindow_DoGetBestSize);

    return SIP_NULLPTR;
}


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

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

    {
        const sipwxHtmlWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHtmlWindow, &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_HtmlWindow, sipName_DoGetBestClientSize, doc_wxHtmlWindow_DoGetBestClientSize);

    return SIP_NULLPTR;
}


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

extern "C" {static PyObject *meth_wxHtmlWindow_DoSetSize(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_wxHtmlWindow_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;
        sipwxHtmlWindow *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_wxHtmlWindow, &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_HtmlWindow, sipName_DoSetSize, doc_wxHtmlWindow_DoSetSize);

    return SIP_NULLPTR;
}


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

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

    {
        int width;
        int height;
        sipwxHtmlWindow *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bii", &sipSelf, sipType_wxHtmlWindow, &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_HtmlWindow, sipName_DoSetClientSize, doc_wxHtmlWindow_DoSetClientSize);

    return SIP_NULLPTR;
}


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

extern "C" {static PyObject *meth_wxHtmlWindow_DoSetSizeHints(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_wxHtmlWindow_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;
        sipwxHtmlWindow *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_wxHtmlWindow, &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_HtmlWindow, sipName_DoSetSizeHints, doc_wxHtmlWindow_DoSetSizeHints);

    return SIP_NULLPTR;
}


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

extern "C" {static PyObject *meth_wxHtmlWindow_DoMoveWindow(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_wxHtmlWindow_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;
        sipwxHtmlWindow *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biiii", &sipSelf, sipType_wxHtmlWindow, &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_HtmlWindow, sipName_DoMoveWindow, doc_wxHtmlWindow_DoMoveWindow);

    return SIP_NULLPTR;
}


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

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

    {
        ::wxWindowVariant variant;
        sipwxHtmlWindow *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BE", &sipSelf, sipType_wxHtmlWindow, &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_HtmlWindow, sipName_DoSetWindowVariant, doc_wxHtmlWindow_DoSetWindowVariant);

    return SIP_NULLPTR;
}


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

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

    {
        const sipwxHtmlWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHtmlWindow, &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_HtmlWindow, sipName_GetDefaultBorder, doc_wxHtmlWindow_GetDefaultBorder);

    return SIP_NULLPTR;
}


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

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

    {
        const sipwxHtmlWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHtmlWindow, &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_HtmlWindow, sipName_GetDefaultBorderForControl, doc_wxHtmlWindow_GetDefaultBorderForControl);

    return SIP_NULLPTR;
}


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

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

    {
        sipwxHtmlWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHtmlWindow, &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_HtmlWindow, sipName_DoFreeze, doc_wxHtmlWindow_DoFreeze);

    return SIP_NULLPTR;
}


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

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

    {
        sipwxHtmlWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHtmlWindow, &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_HtmlWindow, sipName_DoThaw, doc_wxHtmlWindow_DoThaw);

    return SIP_NULLPTR;
}


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

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

    {
        sipwxHtmlWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHtmlWindow, &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_HtmlWindow, sipName_HasTransparentBackground, doc_wxHtmlWindow_HasTransparentBackground);

    return SIP_NULLPTR;
}


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

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

    {
        ::wxEvent* event;
        sipwxHtmlWindow *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxHtmlWindow, &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_HtmlWindow, sipName_TryBefore, doc_wxHtmlWindow_TryBefore);

    return SIP_NULLPTR;
}


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

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

    {
        ::wxEvent* event;
        sipwxHtmlWindow *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxHtmlWindow, &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_HtmlWindow, sipName_TryAfter, doc_wxHtmlWindow_TryAfter);

    return SIP_NULLPTR;
}


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

extern "C" {static PyObject *meth_wxHtmlWindow_GetClassDefaultAttributes(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_wxHtmlWindow_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(::wxHtmlWindow::GetClassDefaultAttributes(variant));
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_GetClassDefaultAttributes, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_SetHTMLWindowTitle, "SetHTMLWindowTitle(self, title: Any)");

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

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

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

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

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

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_SetHTMLWindowTitle, doc_wxHtmlWindow_SetHTMLWindowTitle);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_OnHTMLLinkClicked, "OnHTMLLinkClicked(self, link: HtmlLinkInfo)");

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

    {
        const ::wxHtmlLinkInfo* link;
        ::wxHtmlWindow *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxHtmlWindow, &sipCpp, sipType_wxHtmlLinkInfo, &link))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->::wxHtmlWindow::OnHTMLLinkClicked(*link) : sipCpp->OnHTMLLinkClicked(*link));
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_OnHTMLLinkClicked, doc_wxHtmlWindow_OnHTMLLinkClicked);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_OnHTMLOpeningURL, "OnHTMLOpeningURL(self, type: HtmlURLType, url: Any) -> (HtmlOpeningStatus, Any)");

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

    {
        ::wxHtmlURLType type;
        const ::wxString* url;
        int urlState = 0;
        ::wxString* redirectTo;
        const ::wxHtmlWindow *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BEJ1", &sipSelf, sipType_wxHtmlWindow, &sipCpp, sipType_wxHtmlURLType, &type, sipType_wxString, &url, &urlState))
        {
            ::wxHtmlOpeningStatus sipRes;
            redirectTo = new ::wxString();

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->::wxHtmlWindow::OnHTMLOpeningURL(type, *url, redirectTo) : sipCpp->OnHTMLOpeningURL(type, *url, redirectTo));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::wxString *>(url), sipType_wxString, urlState);

            if (PyErr_Occurred())
                return 0;

            return sipBuildResult(0, "(FN)", sipRes, sipType_wxHtmlOpeningStatus, redirectTo, sipType_wxString, SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_OnHTMLOpeningURL, doc_wxHtmlWindow_OnHTMLOpeningURL);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_HTMLCoordsToWindow, "HTMLCoordsToWindow(self, cell: HtmlCell|None, pos: Point) -> Point");

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

    {
        ::wxHtmlCell* cell;
        const ::wxPoint* pos;
        int posState = 0;
        const ::wxHtmlWindow *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8J1", &sipSelf, sipType_wxHtmlWindow, &sipCpp, sipType_wxHtmlCell, &cell, sipType_wxPoint, &pos, &posState))
        {
            ::wxPoint*sipRes;

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = new ::wxPoint((sipSelfWasArg ? sipCpp->::wxHtmlWindow::HTMLCoordsToWindow(cell, *pos) : sipCpp->HTMLCoordsToWindow(cell, *pos)));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::wxPoint *>(pos), sipType_wxPoint, posState);

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_HTMLCoordsToWindow, doc_wxHtmlWindow_HTMLCoordsToWindow);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_GetHTMLWindow, "GetHTMLWindow(self) -> Window|None");

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

    {
        ::wxHtmlWindow *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->::wxHtmlWindow::GetHTMLWindow() : sipCpp->GetHTMLWindow());
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_GetHTMLWindow, doc_wxHtmlWindow_GetHTMLWindow);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_GetHTMLBackgroundColour, "GetHTMLBackgroundColour(self) -> Colour|None");

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

    {
        const ::wxHtmlWindow *sipCpp;

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = new ::wxColour((sipSelfWasArg ? sipCpp->::wxHtmlWindow::GetHTMLBackgroundColour() : sipCpp->GetHTMLBackgroundColour()));
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_GetHTMLBackgroundColour, doc_wxHtmlWindow_GetHTMLBackgroundColour);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_SetHTMLBackgroundColour, "SetHTMLBackgroundColour(self, clr: Colour|None)");

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

    {
        const ::wxColour* clr;
        int clrState = 0;
        ::wxHtmlWindow *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxHtmlWindow, &sipCpp, sipType_wxColour, &clr, &clrState))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->::wxHtmlWindow::SetHTMLBackgroundColour(*clr) : sipCpp->SetHTMLBackgroundColour(*clr));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::wxColour *>(clr), sipType_wxColour, clrState);

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_SetHTMLBackgroundColour, doc_wxHtmlWindow_SetHTMLBackgroundColour);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_SetHTMLBackgroundImage, "SetHTMLBackgroundImage(self, bmpBg: BitmapBundle)");

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

    {
        const ::wxBitmapBundle* bmpBg;
        int bmpBgState = 0;
        ::wxHtmlWindow *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxHtmlWindow, &sipCpp, sipType_wxBitmapBundle, &bmpBg, &bmpBgState))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->::wxHtmlWindow::SetHTMLBackgroundImage(*bmpBg) : sipCpp->SetHTMLBackgroundImage(*bmpBg));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::wxBitmapBundle *>(bmpBg), sipType_wxBitmapBundle, bmpBgState);

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_SetHTMLBackgroundImage, doc_wxHtmlWindow_SetHTMLBackgroundImage);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_SetHTMLStatusText, "SetHTMLStatusText(self, text: Any)");

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

    {
        const ::wxString* text;
        int textState = 0;
        ::wxHtmlWindow *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxHtmlWindow, &sipCpp, sipType_wxString, &text, &textState))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->::wxHtmlWindow::SetHTMLStatusText(*text) : sipCpp->SetHTMLStatusText(*text));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::wxString *>(text), sipType_wxString, textState);

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_SetHTMLStatusText, doc_wxHtmlWindow_SetHTMLStatusText);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_GetHTMLCursor, "GetHTMLCursor(self, type: HtmlWindowInterface.HTMLCursor) -> Cursor");

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

    {
        ::wxHtmlWindowInterface::HTMLCursor type;
        const ::wxHtmlWindow *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BE", &sipSelf, sipType_wxHtmlWindow, &sipCpp, sipType_wxHtmlWindowInterface_HTMLCursor, &type))
        {
            ::wxCursor*sipRes;

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = new ::wxCursor((sipSelfWasArg ? sipCpp->::wxHtmlWindow::GetHTMLCursor(type) : sipCpp->GetHTMLCursor(type)));
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

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

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_GetHTMLCursor, doc_wxHtmlWindow_GetHTMLCursor);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_OnCellClicked, "OnCellClicked(cell, x, y, event) -> bool\n"
"\n"
"This method is called when a mouse button is clicked inside\n"
"wxHtmlWindow.");

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

    {
        ::wxHtmlCell* cell;
        ::wxCoord x;
        ::wxCoord y;
        const ::wxMouseEvent* event;
        sipwxHtmlWindow *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8iiJ9", &sipSelf, sipType_wxHtmlWindow, &sipCpp, sipType_wxHtmlCell, &cell, &x, &y, sipType_wxMouseEvent, &event))
        {
            bool sipRes;

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_OnCellClicked(sipSelfWasArg, cell, x, y, *event);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_OnCellClicked, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_OnCellMouseHover, "OnCellMouseHover(cell, x, y) -> None\n"
"\n"
"This method is called when a mouse moves over an HTML cell.");

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

    {
        ::wxHtmlCell* cell;
        ::wxCoord x;
        ::wxCoord y;
        sipwxHtmlWindow *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8ii", &sipSelf, sipType_wxHtmlWindow, &sipCpp, sipType_wxHtmlCell, &cell, &x, &y))
        {
            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_OnCellMouseHover(sipSelfWasArg, cell, x, y);
            Py_END_ALLOW_THREADS

            if (PyErr_Occurred())
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_OnCellMouseHover, SIP_NULLPTR);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_wxHtmlWindow_ScrollToAnchor, "ScrollToAnchor(anchor) -> bool");

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

    {
        const ::wxString* anchor;
        int anchorState = 0;
        sipwxHtmlWindow *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxHtmlWindow, &sipCpp, sipType_wxString, &anchor, &anchorState))
        {
            bool sipRes;

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_ScrollToAnchor(*anchor);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::wxString *>(anchor), sipType_wxString, anchorState);

            if (PyErr_Occurred())
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_HtmlWindow, sipName_ScrollToAnchor, SIP_NULLPTR);

    return SIP_NULLPTR;
}


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

    if (targetType == sipType_wxHtmlWindow)
        return sipCppV;

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

    if (targetType == sipType_wxHtmlWindowInterface)
        return static_cast< ::wxHtmlWindowInterface *>(sipCpp);

    return SIP_NULLPTR;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipwxHtmlWindow *>(sipCppV);
    else
        delete reinterpret_cast< ::wxHtmlWindow *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

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

            PyErr_Clear();

            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipwxHtmlWindow();
            Py_END_ALLOW_THREADS

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        ::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;
        long style = wxHW_DEFAULT_STYLE;
        const ::wxString& namedef = "htmlWindow";
        const ::wxString* name = &namedef;
        int nameState = 0;

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

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

            PyErr_Clear();

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

            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_wxHtmlWindow[] = {{34, 0, 0}, {38, 255, 1}};


static PyMethodDef methods_wxHtmlWindow[] = {
    {sipName_AcceptsFocus, meth_wxHtmlWindow_AcceptsFocus, METH_VARARGS, doc_wxHtmlWindow_AcceptsFocus},
    {sipName_AcceptsFocusFromKeyboard, meth_wxHtmlWindow_AcceptsFocusFromKeyboard, METH_VARARGS, doc_wxHtmlWindow_AcceptsFocusFromKeyboard},
    {sipName_AcceptsFocusRecursively, meth_wxHtmlWindow_AcceptsFocusRecursively, METH_VARARGS, doc_wxHtmlWindow_AcceptsFocusRecursively},
    {sipName_AddChild, SIP_MLMETH_CAST(meth_wxHtmlWindow_AddChild), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_AddChild},
    {sipName_AddFilter, SIP_MLMETH_CAST(meth_wxHtmlWindow_AddFilter), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_AddFilter},
    {sipName_AppendToPage, SIP_MLMETH_CAST(meth_wxHtmlWindow_AppendToPage), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_AppendToPage},
    {sipName_Destroy, meth_wxHtmlWindow_Destroy, METH_VARARGS, doc_wxHtmlWindow_Destroy},
    {sipName_DoEnable, SIP_MLMETH_CAST(meth_wxHtmlWindow_DoEnable), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_DoEnable},
    {sipName_DoFreeze, meth_wxHtmlWindow_DoFreeze, METH_VARARGS, doc_wxHtmlWindow_DoFreeze},
    {sipName_DoGetBestClientSize, meth_wxHtmlWindow_DoGetBestClientSize, METH_VARARGS, doc_wxHtmlWindow_DoGetBestClientSize},
    {sipName_DoGetBestSize, meth_wxHtmlWindow_DoGetBestSize, METH_VARARGS, doc_wxHtmlWindow_DoGetBestSize},
    {sipName_DoGetClientSize, SIP_MLMETH_CAST(meth_wxHtmlWindow_DoGetClientSize), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_DoGetClientSize},
    {sipName_DoGetPosition, SIP_MLMETH_CAST(meth_wxHtmlWindow_DoGetPosition), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_DoGetPosition},
    {sipName_DoGetSize, SIP_MLMETH_CAST(meth_wxHtmlWindow_DoGetSize), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_DoGetSize},
    {sipName_DoMoveWindow, SIP_MLMETH_CAST(meth_wxHtmlWindow_DoMoveWindow), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_DoMoveWindow},
    {sipName_DoSetClientSize, SIP_MLMETH_CAST(meth_wxHtmlWindow_DoSetClientSize), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_DoSetClientSize},
    {sipName_DoSetSize, SIP_MLMETH_CAST(meth_wxHtmlWindow_DoSetSize), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_DoSetSize},
    {sipName_DoSetSizeHints, SIP_MLMETH_CAST(meth_wxHtmlWindow_DoSetSizeHints), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_DoSetSizeHints},
    {sipName_DoSetWindowVariant, SIP_MLMETH_CAST(meth_wxHtmlWindow_DoSetWindowVariant), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_DoSetWindowVariant},
    {sipName_DoThaw, meth_wxHtmlWindow_DoThaw, METH_VARARGS, doc_wxHtmlWindow_DoThaw},
    {sipName_EnableVisibleFocus, SIP_MLMETH_CAST(meth_wxHtmlWindow_EnableVisibleFocus), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_EnableVisibleFocus},
    {sipName_GetClassDefaultAttributes, SIP_MLMETH_CAST(meth_wxHtmlWindow_GetClassDefaultAttributes), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_GetClassDefaultAttributes},
    {sipName_GetClientAreaOrigin, meth_wxHtmlWindow_GetClientAreaOrigin, METH_VARARGS, doc_wxHtmlWindow_GetClientAreaOrigin},
    {sipName_GetDefaultBorder, meth_wxHtmlWindow_GetDefaultBorder, METH_VARARGS, doc_wxHtmlWindow_GetDefaultBorder},
    {sipName_GetDefaultBorderForControl, meth_wxHtmlWindow_GetDefaultBorderForControl, METH_VARARGS, doc_wxHtmlWindow_GetDefaultBorderForControl},
    {sipName_GetDefaultHTMLCursor, SIP_MLMETH_CAST(meth_wxHtmlWindow_GetDefaultHTMLCursor), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_GetDefaultHTMLCursor},
    {sipName_GetHTMLBackgroundColour, meth_wxHtmlWindow_GetHTMLBackgroundColour, METH_VARARGS, doc_wxHtmlWindow_GetHTMLBackgroundColour},
    {sipName_GetHTMLCursor, SIP_MLMETH_CAST(meth_wxHtmlWindow_GetHTMLCursor), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_GetHTMLCursor},
    {sipName_GetHTMLWindow, meth_wxHtmlWindow_GetHTMLWindow, METH_VARARGS, doc_wxHtmlWindow_GetHTMLWindow},
    {sipName_GetInternalRepresentation, meth_wxHtmlWindow_GetInternalRepresentation, METH_VARARGS, doc_wxHtmlWindow_GetInternalRepresentation},
    {sipName_GetMainWindowOfCompositeControl, meth_wxHtmlWindow_GetMainWindowOfCompositeControl, METH_VARARGS, doc_wxHtmlWindow_GetMainWindowOfCompositeControl},
    {sipName_GetOpenedAnchor, meth_wxHtmlWindow_GetOpenedAnchor, METH_VARARGS, doc_wxHtmlWindow_GetOpenedAnchor},
    {sipName_GetOpenedPage, meth_wxHtmlWindow_GetOpenedPage, METH_VARARGS, doc_wxHtmlWindow_GetOpenedPage},
    {sipName_GetOpenedPageTitle, meth_wxHtmlWindow_GetOpenedPageTitle, METH_VARARGS, doc_wxHtmlWindow_GetOpenedPageTitle},
    {sipName_GetParser, meth_wxHtmlWindow_GetParser, METH_VARARGS, doc_wxHtmlWindow_GetParser},
    {sipName_GetRelatedFrame, meth_wxHtmlWindow_GetRelatedFrame, METH_VARARGS, doc_wxHtmlWindow_GetRelatedFrame},
    {sipName_GetSizeAvailableForScrollTarget, SIP_MLMETH_CAST(meth_wxHtmlWindow_GetSizeAvailableForScrollTarget), METH_VARARGS|METH_KEYWORDS, SIP_NULLPTR},
    {sipName_GetValidator, meth_wxHtmlWindow_GetValidator, METH_VARARGS, doc_wxHtmlWindow_GetValidator},
    {sipName_HTMLCoordsToWindow, SIP_MLMETH_CAST(meth_wxHtmlWindow_HTMLCoordsToWindow), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_HTMLCoordsToWindow},
    {sipName_HasTransparentBackground, meth_wxHtmlWindow_HasTransparentBackground, METH_VARARGS, doc_wxHtmlWindow_HasTransparentBackground},
    {sipName_HistoryBack, meth_wxHtmlWindow_HistoryBack, METH_VARARGS, doc_wxHtmlWindow_HistoryBack},
    {sipName_HistoryCanBack, meth_wxHtmlWindow_HistoryCanBack, METH_VARARGS, doc_wxHtmlWindow_HistoryCanBack},
    {sipName_HistoryCanForward, meth_wxHtmlWindow_HistoryCanForward, METH_VARARGS, doc_wxHtmlWindow_HistoryCanForward},
    {sipName_HistoryClear, meth_wxHtmlWindow_HistoryClear, METH_VARARGS, doc_wxHtmlWindow_HistoryClear},
    {sipName_HistoryForward, meth_wxHtmlWindow_HistoryForward, METH_VARARGS, doc_wxHtmlWindow_HistoryForward},
    {sipName_InformFirstDirection, SIP_MLMETH_CAST(meth_wxHtmlWindow_InformFirstDirection), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_InformFirstDirection},
    {sipName_InheritAttributes, meth_wxHtmlWindow_InheritAttributes, METH_VARARGS, doc_wxHtmlWindow_InheritAttributes},
    {sipName_InitDialog, meth_wxHtmlWindow_InitDialog, METH_VARARGS, doc_wxHtmlWindow_InitDialog},
    {sipName_LoadFile, SIP_MLMETH_CAST(meth_wxHtmlWindow_LoadFile), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_LoadFile},
    {sipName_LoadPage, SIP_MLMETH_CAST(meth_wxHtmlWindow_LoadPage), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_LoadPage},
    {sipName_OnCellClicked, SIP_MLMETH_CAST(meth_wxHtmlWindow_OnCellClicked), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_OnCellClicked},
    {sipName_OnCellMouseHover, SIP_MLMETH_CAST(meth_wxHtmlWindow_OnCellMouseHover), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_OnCellMouseHover},
    {sipName_OnHTMLLinkClicked, SIP_MLMETH_CAST(meth_wxHtmlWindow_OnHTMLLinkClicked), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_OnHTMLLinkClicked},
    {sipName_OnHTMLOpeningURL, SIP_MLMETH_CAST(meth_wxHtmlWindow_OnHTMLOpeningURL), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_OnHTMLOpeningURL},
    {sipName_OnInternalIdle, meth_wxHtmlWindow_OnInternalIdle, METH_VARARGS, doc_wxHtmlWindow_OnInternalIdle},
    {sipName_OnLinkClicked, SIP_MLMETH_CAST(meth_wxHtmlWindow_OnLinkClicked), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_OnLinkClicked},
    {sipName_OnOpeningURL, SIP_MLMETH_CAST(meth_wxHtmlWindow_OnOpeningURL), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_OnOpeningURL},
    {sipName_OnSetTitle, SIP_MLMETH_CAST(meth_wxHtmlWindow_OnSetTitle), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_OnSetTitle},
    {sipName_ProcessEvent, SIP_MLMETH_CAST(meth_wxHtmlWindow_ProcessEvent), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_ProcessEvent},
    {sipName_ReadCustomization, SIP_MLMETH_CAST(meth_wxHtmlWindow_ReadCustomization), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_ReadCustomization},
    {sipName_RemoveChild, SIP_MLMETH_CAST(meth_wxHtmlWindow_RemoveChild), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_RemoveChild},
    {sipName_ScrollToAnchor, SIP_MLMETH_CAST(meth_wxHtmlWindow_ScrollToAnchor), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_ScrollToAnchor},
    {sipName_SelectAll, meth_wxHtmlWindow_SelectAll, METH_VARARGS, doc_wxHtmlWindow_SelectAll},
    {sipName_SelectLine, SIP_MLMETH_CAST(meth_wxHtmlWindow_SelectLine), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_SelectLine},
    {sipName_SelectWord, SIP_MLMETH_CAST(meth_wxHtmlWindow_SelectWord), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_SelectWord},
    {sipName_SelectionToText, meth_wxHtmlWindow_SelectionToText, METH_VARARGS, doc_wxHtmlWindow_SelectionToText},
    {sipName_SendDestroyEvent, meth_wxHtmlWindow_SendDestroyEvent, METH_VARARGS, SIP_NULLPTR},
    {sipName_SetBorders, SIP_MLMETH_CAST(meth_wxHtmlWindow_SetBorders), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_SetBorders},
    {sipName_SetCanFocus, SIP_MLMETH_CAST(meth_wxHtmlWindow_SetCanFocus), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_SetCanFocus},
    {sipName_SetDefaultHTMLCursor, SIP_MLMETH_CAST(meth_wxHtmlWindow_SetDefaultHTMLCursor), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_SetDefaultHTMLCursor},
    {sipName_SetFonts, SIP_MLMETH_CAST(meth_wxHtmlWindow_SetFonts), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_SetFonts},
    {sipName_SetHTMLBackgroundColour, SIP_MLMETH_CAST(meth_wxHtmlWindow_SetHTMLBackgroundColour), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_SetHTMLBackgroundColour},
    {sipName_SetHTMLBackgroundImage, SIP_MLMETH_CAST(meth_wxHtmlWindow_SetHTMLBackgroundImage), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_SetHTMLBackgroundImage},
    {sipName_SetHTMLStatusText, SIP_MLMETH_CAST(meth_wxHtmlWindow_SetHTMLStatusText), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_SetHTMLStatusText},
    {sipName_SetHTMLWindowTitle, SIP_MLMETH_CAST(meth_wxHtmlWindow_SetHTMLWindowTitle), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_SetHTMLWindowTitle},
    {sipName_SetPage, SIP_MLMETH_CAST(meth_wxHtmlWindow_SetPage), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_SetPage},
    {sipName_SetRelatedFrame, SIP_MLMETH_CAST(meth_wxHtmlWindow_SetRelatedFrame), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_SetRelatedFrame},
    {sipName_SetRelatedStatusBar, SIP_MLMETH_CAST(meth_wxHtmlWindow_SetRelatedStatusBar), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_SetRelatedStatusBar},
    {sipName_SetStandardFonts, SIP_MLMETH_CAST(meth_wxHtmlWindow_SetStandardFonts), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_SetStandardFonts},
    {sipName_SetValidator, SIP_MLMETH_CAST(meth_wxHtmlWindow_SetValidator), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_SetValidator},
    {sipName_ShouldInheritColours, meth_wxHtmlWindow_ShouldInheritColours, METH_VARARGS, doc_wxHtmlWindow_ShouldInheritColours},
    {sipName_ShouldScrollToChildOnFocus, SIP_MLMETH_CAST(meth_wxHtmlWindow_ShouldScrollToChildOnFocus), METH_VARARGS|METH_KEYWORDS, SIP_NULLPTR},
    {sipName_ToText, meth_wxHtmlWindow_ToText, METH_VARARGS, doc_wxHtmlWindow_ToText},
    {sipName_TransferDataFromWindow, meth_wxHtmlWindow_TransferDataFromWindow, METH_VARARGS, doc_wxHtmlWindow_TransferDataFromWindow},
    {sipName_TransferDataToWindow, meth_wxHtmlWindow_TransferDataToWindow, METH_VARARGS, doc_wxHtmlWindow_TransferDataToWindow},
    {sipName_TryAfter, SIP_MLMETH_CAST(meth_wxHtmlWindow_TryAfter), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_TryAfter},
    {sipName_TryBefore, SIP_MLMETH_CAST(meth_wxHtmlWindow_TryBefore), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_TryBefore},
    {sipName_Validate, meth_wxHtmlWindow_Validate, METH_VARARGS, doc_wxHtmlWindow_Validate},
    {sipName_WriteCustomization, SIP_MLMETH_CAST(meth_wxHtmlWindow_WriteCustomization), METH_VARARGS|METH_KEYWORDS, doc_wxHtmlWindow_WriteCustomization}
};

sipVariableDef variables_wxHtmlWindow[] = {
    {PropertyVariable, sipName_RelatedFrame, &methods_wxHtmlWindow[35], &methods_wxHtmlWindow[76], SIP_NULLPTR, SIP_NULLPTR},
    {PropertyVariable, sipName_Parser, &methods_wxHtmlWindow[34], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    {PropertyVariable, sipName_OpenedPageTitle, &methods_wxHtmlWindow[33], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    {PropertyVariable, sipName_OpenedPage, &methods_wxHtmlWindow[32], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    {PropertyVariable, sipName_OpenedAnchor, &methods_wxHtmlWindow[31], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    {PropertyVariable, sipName_InternalRepresentation, &methods_wxHtmlWindow[29], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
};

PyDoc_STRVAR(doc_wxHtmlWindow, "HtmlWindow() -> None\n"
"HtmlWindow(parent, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, style=HW_DEFAULT_STYLE, name=\"htmlWindow\") -> None\n"
"\n"
"wxHtmlWindow is probably the only class you will directly use unless\n"
"you want to do something special (like adding new tag handlers or MIME\n"
"filters).");


sipClassTypeDef sipTypeDef__html_wxHtmlWindow = {
    {
        -1,
        SIP_NULLPTR,
        SIP_NULLPTR,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_wxHtmlWindow,
        SIP_NULLPTR,
        SIP_NULLPTR,
    },
    {
        sipNameNr_HtmlWindow,
        {0, 0, 1},
        89, methods_wxHtmlWindow,
        0, SIP_NULLPTR,
        6, variables_wxHtmlWindow,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    doc_wxHtmlWindow,
    -1,
    -1,
    supers_wxHtmlWindow,
    SIP_NULLPTR,
    init_type_wxHtmlWindow,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_wxHtmlWindow,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    release_wxHtmlWindow,
    cast_wxHtmlWindow,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    sizeof (::wxHtmlWindow),
};
