/////////////////////////////////////////////////////////////////////////////
// Name: iconbndl.h
-// Purpose: documentation for wxIconBundle class
+// Purpose: interface of wxIconBundle
// Author: wxWidgets team
// RCS-ID: $Id$
// Licence: wxWindows license
@category{FIXME}
@stdobjects
- wxNullIconBundle
+ ::wxNullIconBundle
*/
class wxIconBundle : public wxGDIObject
{
/**
Same as GetIcon( wxSize( size, size ) ).
*/
- wxIcon GetIcon(const wxSize& size);
- wxIcon GetIcon(wxCoord size = -1);
+ wxIcon GetIcon(const wxSize& size) const;
+ const wxIcon GetIcon(wxCoord size = -1) const;
//@}
/**
Returns the icon with exactly the given size or @c wxNullIcon if this
size is not available.
*/
- wxIcon GetIconOfExactSize(const wxSize& size);
+ wxIcon GetIconOfExactSize(const wxSize& size) const;
/**
Returns @true if the bundle doesn't contain any icons, @false otherwise (in
which case a call to GetIcon() with default
parameter should return a valid icon).
*/
- bool IsEmpty();
+ bool IsEmpty() const;
/**
Assignment operator, using @ref overview_trefcount "reference counting".
*/
bool operator ==(const wxIconBundle& ic);
};
+
+
+/**
+ An empty wxIconBundle.
+*/
+wxIconBundle wxNullIconBundle;
+
+