fix missing and broken interface items for Phoenix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2011-11-17 03:20:25 +00:00
parent cce10ca06b
commit 6f9921e15a
3 changed files with 15 additions and 10 deletions

View File

@ -50,7 +50,7 @@
@see @ref overview_bitmap, @ref overview_bitmap_supportedformats,
wxDC::DrawIcon, wxCursor
*/
class wxIcon : public wxBitmap
class wxIcon : public wxGDIObject
{
public:
/**

View File

@ -105,6 +105,16 @@ public:
*/
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
@ -117,15 +127,6 @@ public:
*/
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);
};

View File

@ -34,5 +34,9 @@ public:
@false otherwise.
*/
bool IsOk() const;
void SetFileName(const wxString& filename);
const wxString& GetFileName() const;
};