X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/285f58ab666d956bdbede9fce33f29113640caa2..d8c5974799b29e0a0382ffca9c9db9377581bbd4:/src/html/m_hline.cpp diff --git a/src/html/m_hline.cpp b/src/html/m_hline.cpp index b81880687e..09e2bf50ac 100644 --- a/src/html/m_hline.cpp +++ b/src/html/m_hline.cpp @@ -7,7 +7,7 @@ // Licence: wxWindows Licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation #endif @@ -50,6 +50,8 @@ class wxHtmlLineCell : public wxHtmlCell private: // Should we draw 3-D shading or not bool m_HasShading; + + DECLARE_NO_COPY_CLASS(wxHtmlLineCell) }; @@ -73,6 +75,7 @@ void wxHtmlLineCell::Draw(wxDC& dc, int x, int y, TAG_HANDLER_BEGIN(HR, "HR") + TAG_HANDLER_CONSTR(HR) { } TAG_HANDLER_PROC(tag) {