Fix for special characters in Doxygen comments.
Escape "-" characters in the beginning of the paragraph as they are not handled properly by Doxygen otherwise. Escape the space after "i.e." to prevent the brief doc string from being terminated by it. Escape "--" which is translated to a dash by Doxygen otherwise. Closes #15228. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2110,7 +2110,7 @@ public:
|
||||
virtual bool FindPosition(wxDC& dc, wxRichTextDrawingContext& context, long index, wxPoint& pt, int* height, bool forceLineStart);
|
||||
|
||||
/**
|
||||
Returns the best size, i.e. the ideal starting size for this object irrespective
|
||||
Returns the best size, i.e.\ the ideal starting size for this object irrespective
|
||||
of available space. For a short text string, it will be the size that exactly encloses
|
||||
the text. For a longer string, it might use the parent width for example.
|
||||
*/
|
||||
@@ -2208,7 +2208,7 @@ public:
|
||||
virtual wxString GetPropertiesMenuLabel() const { return wxEmptyString; }
|
||||
|
||||
/**
|
||||
Returns @true if objects of this class can accept the focus, i.e. a call to SetFocusObject
|
||||
Returns @true if objects of this class can accept the focus, i.e.\ a call to SetFocusObject
|
||||
is possible. For example, containers supporting text, such as a text box object, can accept the focus,
|
||||
but a table can't (set the focus to individual cells instead).
|
||||
*/
|
||||
@@ -2503,7 +2503,7 @@ public:
|
||||
wxString GetName() const { return m_properties.GetPropertyString(wxT("name")); }
|
||||
|
||||
/**
|
||||
Returns @true if this object is top-level, i.e. contains its own paragraphs, such as a text box.
|
||||
Returns @true if this object is top-level, i.e.\ contains its own paragraphs, such as a text box.
|
||||
*/
|
||||
virtual bool IsTopLevel() const { return false; }
|
||||
|
||||
@@ -3578,7 +3578,7 @@ public:
|
||||
virtual bool UpdateField(wxRichTextBuffer* buffer, wxRichTextField* obj) { return false; }
|
||||
|
||||
/**
|
||||
Returns @true if this object is top-level, i.e. contains its own paragraphs, such as a text box.
|
||||
Returns @true if this object is top-level, i.e.\ contains its own paragraphs, such as a text box.
|
||||
*/
|
||||
virtual bool IsTopLevel(wxRichTextField* obj) const { return true; }
|
||||
|
||||
|
Reference in New Issue
Block a user