// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-
#ifndef __WX_ICON_H__
#define __WX_ICON_H__
-#ifdef __GNUG__
-#pragma interface "icon.h"
-#endif
-
#include "wx/defs.h"
#include "wx/object.h"
#include "wx/bitmap.h"
{
public:
wxIcon() : wxBitmap() {}
- wxIcon(const wxIcon& icon);
wxIcon(const char **bits, int width=-1, int height=-1);
wxIcon(char **bits, int width=-1, int height=-1);
wxBitmap(filename, (wxBitmapType)type) {}
wxIcon(const wxIconLocation& loc)
- : wxBitmap(loc.GetFileName(), wxBITMAP_TYPE_ICO)
+ : wxBitmap(loc.GetFileName(), wxBITMAP_TYPE_ANY)
{
}
- wxIcon& operator=(const wxIcon& icon);
bool operator==(const wxIcon& icon) const { return m_refData == icon.m_refData; }
bool operator!=(const wxIcon& icon) const { return !(*this == icon); }