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:
@@ -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.
|
||||
|
@@ -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);
|
||||
|
||||
//@{
|
||||
/**
|
||||
|
@@ -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
|
||||
|
@@ -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.
|
||||
|
@@ -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
|
||||
|
@@ -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.
|
||||
|
Reference in New Issue
Block a user