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

@@ -147,17 +147,17 @@ public:
/**
Returns the bitmap corresponding to the given index.
*/
wxBitmap GetBitmap(int index);
wxBitmap GetBitmap(int index) const;
/**
Returns the icon corresponding to the given index.
*/
wxIcon GetIcon(int index);
wxIcon GetIcon(int index) const;
/**
Returns the number of images in the list.
*/
int GetImageCount();
int GetImageCount() const;
/**
Retrieves the size of the images in the list. Currently, the @a index
@@ -173,7 +173,7 @@ public:
@returns @true if the function succeeded, @false if it failed (for example,
if the image list was not yet initialized).
*/
bool GetSize(int index, int& width, int& height);
bool GetSize(int index, int& width, int& height) const;
/**
Removes the image at the given position.