add const qualifiers

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2008-03-09 16:24:26 +00:00
parent 1fee6e2577
commit 328f5751e8
193 changed files with 2525 additions and 2513 deletions

View File

@@ -55,17 +55,17 @@ public:
/**
Enumerate all available page identifiers.
*/
virtual int GetPageId(int i);
virtual int GetPageId(int i) const;
/**
Gets the number of available page identifiers.
*/
virtual int GetPageIdCount();
virtual int GetPageIdCount() const;
/**
Gets the image index for the given page identifier.
*/
virtual int GetPageImage(int id);
virtual int GetPageImage(int id) const;
/**
Set the property sheet style, called at the start of
@@ -168,7 +168,7 @@ public:
Gets the attributes being edited.
*/
const wxTextAttr GetAttributes();
wxTextAttr GetAttributes();
const wxTextAttr& GetAttributes();
//@}
/**
@@ -195,7 +195,7 @@ public:
Returns the image list associated with the dialog, used for example if showing
the dialog as a toolbook.
*/
wxImageList* GetImageList();
wxImageList* GetImageList() const;
/**
Gets common attributes from the given range and calls SetAttributes. Attributes
@@ -207,12 +207,12 @@ public:
/**
Gets the associated style definition, if any.
*/
wxRichTextStyleDefinition* GetStyleDefinition();
wxRichTextStyleDefinition* GetStyleDefinition() const;
/**
Gets the associated style sheet, if any.
*/
wxRichTextStyleSheet* GetStyleSheet();
wxRichTextStyleSheet* GetStyleSheet() const;
/**
Sets the attributes to be edited.