X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/67158ef673197ddc1a6ef977ccefc397a3798d84..73bb67760795ef047ca16c1f151ba49c77eaef62:/include/wx/html/htmlcell.h diff --git a/include/wx/html/htmlcell.h b/include/wx/html/htmlcell.h index 3404b1592c..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) }; @@ -418,6 +422,11 @@ public: virtual wxHtmlCell *GetFirstTerminal() const; virtual wxHtmlCell *GetLastTerminal() const; + + + // Removes indentation on top or bottom of the container (i.e. above or + // below first/last terminal cell). For internal use only. + void RemoveExtraSpacing(bool top, bool bottom); protected: void UpdateRenderingStatePre(wxHtmlRenderingInfo& info, @@ -449,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) }; @@ -477,6 +487,9 @@ public: protected: wxColour m_Colour; unsigned m_Flags; + + DECLARE_ABSTRACT_CLASS(wxHtmlColourCell) + DECLARE_NO_COPY_CLASS(wxHtmlColourCell) }; @@ -498,6 +511,9 @@ public: protected: wxFont m_Font; + + DECLARE_ABSTRACT_CLASS(wxHtmlFontCell) + DECLARE_NO_COPY_CLASS(wxHtmlFontCell) }; @@ -532,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) };