X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7c913512a4c9f36e11e07ea707002fab1608d324..7c0d297a1f761de31d3a4ac924fa2080b5bbaf41:/interface/iconbndl.h diff --git a/interface/iconbndl.h b/interface/iconbndl.h index fdcb911579..5fd493b68d 100644 --- a/interface/iconbndl.h +++ b/interface/iconbndl.h @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// // Name: iconbndl.h -// Purpose: documentation for wxIconBundle class +// Purpose: interface of wxIconBundle // Author: wxWidgets team // RCS-ID: $Id$ // Licence: wxWindows license @@ -18,7 +18,7 @@ @category{FIXME} @stdobjects - wxNullIconBundle + ::wxNullIconBundle */ class wxIconBundle : public wxGDIObject { @@ -52,22 +52,22 @@ public: /** 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". @@ -79,3 +79,11 @@ public: */ bool operator ==(const wxIconBundle& ic); }; + + +/** + An empty wxIconBundle. +*/ +wxIconBundle wxNullIconBundle; + +