virtual/static attributes automated fixes by ifacecheck

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2008-10-13 11:09:56 +00:00
parent d8231db24d
commit 0004982c83
34 changed files with 133 additions and 132 deletions

View File

@@ -358,7 +358,7 @@ public:
/**
Clears the buffer.
*/
void Clear();
virtual void Clear();
//@{
/**
@@ -534,7 +534,7 @@ public:
/**
Finds a handler by name.
*/
wxRichTextFileHandler* FindHandler(const wxString& name);
static wxRichTextFileHandler* FindHandler(const wxString& name);
/**
Finds a handler by filename or, if supplied, type.
@@ -598,7 +598,7 @@ public:
style attributes. To get the character or paragraph style alone,
use GetUncombinedStyle().
*/
bool GetStyle(long position, wxTextAttr& style);
virtual bool GetStyle(long position, wxTextAttr& style);
/**
This function gets a style representing the common, combined attributes in the
@@ -646,7 +646,7 @@ public:
will fetch the paragraph attributes.
Otherwise, it will return the character attributes.
*/
bool GetUncombinedStyle(long position, wxTextAttr& style);
virtual bool GetUncombinedStyle(long position, wxTextAttr& style);
/**
Finds the text position for the given position, putting the position in
@@ -655,7 +655,7 @@ public:
@return One of the ::wxRichTextHitTestFlags values.
*/
int HitTest(wxDC& dc, const wxPoint& pt, long& textPosition);
virtual int HitTest(wxDC& dc, const wxPoint& pt, long& textPosition);
/**
Initialisation.
@@ -810,7 +810,7 @@ public:
only affects the style currently being applied (for example, setting the default
style to bold will cause subsequently inserted text to be bold).
*/
void SetBasicStyle(const wxTextAttr& style);
virtual void SetBasicStyle(const wxTextAttr& style);
/**
Sets the default style, affecting the style currently being applied
@@ -888,9 +888,8 @@ public:
- wxRICHTEXT_SETSTYLE_REMOVE: removes the specified style.
Only the style flags are used in this operation.
*/
bool SetStyle(const wxRichTextRange& range,
const wxTextAttr& style,
int flags = wxRICHTEXT_SETSTYLE_WITH_UNDO);
virtual bool SetStyle(const wxRichTextRange& range, const wxTextAttr& style,
int flags = wxRICHTEXT_SETSTYLE_WITH_UNDO);
/**
Sets the current style sheet, if any.

View File

@@ -516,7 +516,7 @@ public:
/**
Currently this simply returns @c wxSize(10, 10).
*/
wxSize DoGetBestSize() const;
virtual wxSize DoGetBestSize() const;
/**
Ends alignment.
@@ -1427,7 +1427,7 @@ public:
/**
Replaces existing content with the given text.
*/
void SetValue(const wxString& value);
virtual void SetValue(const wxString& value);
/**
A helper function setting up scrollbars, for example after a resize.
@@ -1472,7 +1472,7 @@ public:
/**
Writes an image block at the current insertion point.
*/
bool WriteImage(const wxRichTextImageBlock& imageBlock);
virtual bool WriteImage(const wxRichTextImageBlock& imageBlock);
//@{
/**

View File

@@ -156,9 +156,8 @@ public:
Apply attributes to the given range, only changing attributes that
need to be changed.
*/
bool ApplyStyle(wxRichTextCtrl* ctrl,
const wxRichTextRange& range,
int flags = wxRICHTEXT_SETSTYLE_WITH_UNDO|wxRICHTEXT_SETSTYLE_OPTIMIZE);
virtual bool ApplyStyle(wxRichTextCtrl* ctrl, const wxRichTextRange& range,
int flags = wxRICHTEXT_SETSTYLE_WITH_UNDO|wxRICHTEXT_SETSTYLE_OPTIMIZE);
/**
Creation: see wxRichTextFormattingDialog() "the constructor" for

View File

@@ -85,7 +85,7 @@ public:
/**
Saves the buffer content to the HTML stream.
*/
bool DoSaveFile(wxRichTextBuffer* buffer, wxOutputStream& stream);
virtual bool DoSaveFile(wxRichTextBuffer* buffer, wxOutputStream& stream);
/**
Returns the mapping for converting point sizes to HTML font sizes.

View File

@@ -292,7 +292,7 @@ public:
/**
Returns the HTML for this item.
*/
wxString OnGetItem(size_t n) const;
virtual wxString OnGetItem(size_t n) const;
/**
Implements left click behaviour, applying the clicked style to the

View File

@@ -37,7 +37,7 @@ public:
*/
wxRichTextXMLHandler(const wxString& name = wxT("XML"),
const wxString& ext = wxT("xml"),
int type = wxRICHTEXT_TYPE_XML) const;
int type = wxRICHTEXT_TYPE_XML);
/**
Returns @true.
@@ -57,12 +57,12 @@ public:
/**
Loads buffer context from the given stream.
*/
bool DoLoadFile(wxRichTextBuffer* buffer, wxInputStream& stream);
virtual bool DoLoadFile(wxRichTextBuffer* buffer, wxInputStream& stream);
/**
Saves buffer context to the given stream.
*/
bool DoSaveFile(wxRichTextBuffer* buffer, wxOutputStream& stream);
virtual bool DoSaveFile(wxRichTextBuffer* buffer, wxOutputStream& stream);
/**
Recursively exports an object to the stream.