]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/iconbndl.h
Add wxPopupWindow
[wxWidgets.git] / interface / iconbndl.h
index fdcb91157968f5bafb776907b659e43ae9d00ce8..5fd493b68d087e9b4e818f92a1205339d55a9f84 100644 (file)
@@ -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;
+
+