@warning
Do not delete an icon that is selected into a memory device context.
*/
- ~wxIcon();
+ virtual ~wxIcon();
/**
Copies @a bmp bitmap to this icon.
/**
Returns @true if icon data is present.
*/
- bool IsOk() const;
+ virtual bool IsOk() const;
/**
Loads an icon from a file or resource.