]> git.saurik.com Git - wxWidgets.git/commitdiff
Add wxRTTI information.
authorMattia Barbon <mbarbon@cpan.org>
Sat, 17 Jan 2004 22:16:56 +0000 (22:16 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Sat, 17 Jan 2004 22:16:56 +0000 (22:16 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/html/htmlcell.h
include/wx/html/winpars.h
src/html/htmlcell.cpp
src/html/winpars.cpp

index e3b1abce930f69e9ff65c92c34335e1d0e1efbfd..a73d4f94037faa94a137d791e37e19599eeca089 100644 (file)
@@ -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)
 };
 
@@ -349,6 +350,7 @@ protected:
     wxString m_Word;
     bool     m_allowLinebreak;
 
+    DECLARE_ABSTRACT_CLASS(wxHtmlWordCell)
     DECLARE_NO_COPY_CLASS(wxHtmlWordCell)
 };
 
@@ -456,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)
 };
 
@@ -485,6 +488,7 @@ protected:
     wxColour m_Colour;
     unsigned m_Flags;
 
+    DECLARE_ABSTRACT_CLASS(wxHtmlColourCell)
     DECLARE_NO_COPY_CLASS(wxHtmlColourCell)
 };
 
@@ -508,6 +512,7 @@ public:
 protected:
     wxFont m_Font;
 
+    DECLARE_ABSTRACT_CLASS(wxHtmlFontCell)
     DECLARE_NO_COPY_CLASS(wxHtmlFontCell)
 };
 
@@ -543,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)
 };
 
index d25621df7733cdfce356f97c2c9e77217171bbfe..e7417a9434888d5633dc9cb6bdcc8e788f5da888 100644 (file)
@@ -38,6 +38,7 @@ class WXDLLIMPEXP_HTML wxHtmlTagsModule;
 
 class WXDLLIMPEXP_HTML wxHtmlWinParser : public wxHtmlParser
 {
+    DECLARE_ABSTRACT_CLASS(wxHtmlWinParser)
     friend class wxHtmlWindow;
 
 public:
index c62a65ace0c3d285dc5698fdc62676b52475c9ea..7d38d30994b3a66cc87ae533d67508a918c39028 100644 (file)
@@ -87,6 +87,8 @@ GetSelectedTextBgColour(const wxColour& WXUNUSED(clr))
 // wxHtmlCell
 //-----------------------------------------------------------------------------
 
+IMPLEMENT_ABSTRACT_CLASS(wxHtmlCell, wxObject)
+
 wxHtmlCell::wxHtmlCell() : wxObject()
 {
     m_Next = NULL;
@@ -252,6 +254,8 @@ bool wxHtmlCell::IsBefore(wxHtmlCell *cell) const
 // wxHtmlWordCell
 //-----------------------------------------------------------------------------
 
+IMPLEMENT_ABSTRACT_CLASS(wxHtmlWordCell, wxHtmlCell)
+
 wxHtmlWordCell::wxHtmlWordCell(const wxString& word, wxDC& dc) : wxHtmlCell()
 {
     m_Word = word;
@@ -519,6 +523,7 @@ wxCursor wxHtmlWordCell::GetCursor() const
 // wxHtmlContainerCell
 //-----------------------------------------------------------------------------
 
+IMPLEMENT_ABSTRACT_CLASS(wxHtmlContainerCell, wxHtmlCell)
 
 wxHtmlContainerCell::wxHtmlContainerCell(wxHtmlContainerCell *parent) : wxHtmlCell()
 {
@@ -1164,6 +1169,8 @@ void wxHtmlContainerCell::RemoveExtraSpacing(bool top, bool bottom)
 // wxHtmlColourCell
 // --------------------------------------------------------------------------
 
+IMPLEMENT_ABSTRACT_CLASS(wxHtmlColourCell, wxHtmlCell)
+
 void wxHtmlColourCell::Draw(wxDC& dc,
                             int x, int y,
                             int WXUNUSED(view_y1), int WXUNUSED(view_y2),
@@ -1210,6 +1217,8 @@ void wxHtmlColourCell::DrawInvisible(wxDC& dc,
 // wxHtmlFontCell
 // ---------------------------------------------------------------------------
 
+IMPLEMENT_ABSTRACT_CLASS(wxHtmlFontCell, wxHtmlCell)
+
 void wxHtmlFontCell::Draw(wxDC& dc,
                           int WXUNUSED(x), int WXUNUSED(y),
                           int WXUNUSED(view_y1), int WXUNUSED(view_y2),
@@ -1235,6 +1244,8 @@ void wxHtmlFontCell::DrawInvisible(wxDC& dc, int WXUNUSED(x), int WXUNUSED(y),
 // wxHtmlWidgetCell
 // ---------------------------------------------------------------------------
 
+IMPLEMENT_ABSTRACT_CLASS(wxHtmlWidgetCell, wxHtmlCell)
+
 wxHtmlWidgetCell::wxHtmlWidgetCell(wxWindow *wnd, int w)
 {
     int sx, sy;
index 0709e7751890e91f071ef9132922793563d4d4aa..e66c242518a26857752ab15aa1888f34c20e9398 100644 (file)
@@ -38,6 +38,7 @@
 // wxHtmlWinParser
 //-----------------------------------------------------------------------------
 
+IMPLEMENT_ABSTRACT_CLASS(wxHtmlWinParser, wxHtmlParser)
 
 wxList wxHtmlWinParser::m_Modules;