X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ace0fab4f1207124c8d3e4fcf552e596ff9dc470..b0fb0f3c71c527b5c5cb839355c88766b6f8c888:/include/wx/html/htmlcell.h diff --git a/include/wx/html/htmlcell.h b/include/wx/html/htmlcell.h index 61e748c14d..a73d4f9403 100644 --- a/include/wx/html/htmlcell.h +++ b/include/wx/html/htmlcell.h @@ -12,7 +12,7 @@ #ifndef _WX_HTMLCELL_H_ #define _WX_HTMLCELL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "htmlcell.h" #endif @@ -312,6 +312,7 @@ protected: wxString m_id; // unique identifier of the cell, generated from "id" property of tags + DECLARE_ABSTRACT_CLASS(wxHtmlCell) DECLARE_NO_COPY_CLASS(wxHtmlCell) }; @@ -348,6 +349,9 @@ protected: wxString m_Word; bool m_allowLinebreak; + + DECLARE_ABSTRACT_CLASS(wxHtmlWordCell) + DECLARE_NO_COPY_CLASS(wxHtmlWordCell) }; @@ -454,6 +458,7 @@ protected: // if != -1 then call to Layout may be no-op // if previous call to Layout has same argument + DECLARE_ABSTRACT_CLASS(wxHtmlContainerCell) DECLARE_NO_COPY_CLASS(wxHtmlContainerCell) }; @@ -482,6 +487,9 @@ public: protected: wxColour m_Colour; unsigned m_Flags; + + DECLARE_ABSTRACT_CLASS(wxHtmlColourCell) + DECLARE_NO_COPY_CLASS(wxHtmlColourCell) }; @@ -503,6 +511,9 @@ public: protected: wxFont m_Font; + + DECLARE_ABSTRACT_CLASS(wxHtmlFontCell) + DECLARE_NO_COPY_CLASS(wxHtmlFontCell) }; @@ -537,6 +548,7 @@ protected: int m_WidthFloat; // width float is used in adjustWidth (it is in percents) + DECLARE_ABSTRACT_CLASS(wxHtmlWidgetCell) DECLARE_NO_COPY_CLASS(wxHtmlWidgetCell) };