git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69776
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
@see @ref overview_bitmap, @ref overview_bitmap_supportedformats,
wxDC::DrawIcon, wxCursor
*/
@see @ref overview_bitmap, @ref overview_bitmap_supportedformats,
wxDC::DrawIcon, wxCursor
*/
-class wxIcon : public wxBitmap
+class wxIcon : public wxGDIObject
*/
wxIcon GetIconOfExactSize(const wxSize& size) const;
*/
wxIcon GetIconOfExactSize(const wxSize& size) const;
+ /**
+ return the number of available icons
+ */
+ size_t GetIconCount() const;
+
+ /**
+ return the icon at index (must be < GetIconCount())
+ */
+ wxIcon GetIconByIndex(size_t n) 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
/**
Returns @true if the bundle doesn't contain any icons, @false otherwise
(in which case a call to GetIcon() with default parameter should return
*/
wxIconBundle& operator=(const wxIconBundle& ic);
*/
wxIconBundle& operator=(const wxIconBundle& ic);
- /**
- Equality operator. This returns @true if two icon bundles are equal.
- */
- bool operator ==(const wxIconBundle& ic);
-
- /**
- Inequality operator. This returns true if two icon bundles are not equal.
- */
- bool operator !=(const wxIconBundle& ic);
@false otherwise.
*/
bool IsOk() const;
@false otherwise.
*/
bool IsOk() const;
+
+ void SetFileName(const wxString& filename);
+ const wxString& GetFileName() const;
+