X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/67158ef673197ddc1a6ef977ccefc397a3798d84..abc11600263bb2434bd243906d93f71024a381c8:/include/wx/html/htmlcell.h diff --git a/include/wx/html/htmlcell.h b/include/wx/html/htmlcell.h index 3404b1592c..e3b1abce93 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 @@ -348,6 +348,8 @@ protected: wxString m_Word; bool m_allowLinebreak; + + DECLARE_NO_COPY_CLASS(wxHtmlWordCell) }; @@ -418,6 +420,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, @@ -477,6 +484,8 @@ public: protected: wxColour m_Colour; unsigned m_Flags; + + DECLARE_NO_COPY_CLASS(wxHtmlColourCell) }; @@ -498,6 +507,8 @@ public: protected: wxFont m_Font; + + DECLARE_NO_COPY_CLASS(wxHtmlFontCell) };