Add wxRTTI information.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon
2004-01-17 22:16:56 +00:00
parent e94e2e952b
commit 4f44ea367d
4 changed files with 19 additions and 0 deletions

View 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)
};

View File

@@ -38,6 +38,7 @@ class WXDLLIMPEXP_HTML wxHtmlTagsModule;
class WXDLLIMPEXP_HTML wxHtmlWinParser : public wxHtmlParser
{
DECLARE_ABSTRACT_CLASS(wxHtmlWinParser)
friend class wxHtmlWindow;
public:

View 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;

View File

@@ -38,6 +38,7 @@
// wxHtmlWinParser
//-----------------------------------------------------------------------------
IMPLEMENT_ABSTRACT_CLASS(wxHtmlWinParser, wxHtmlParser)
wxList wxHtmlWinParser::m_Modules;