#define wxICON_IS_BITMAP 1
#endif
+#include "wx/bitmap.h"
#if wxICON_IS_BITMAP
- #include "wx/bitmap.h"
#define wxIconRefDataBase wxBitmapRefData
#define wxIconBase wxBitmap
inline void SetHICON(WXHICON hIcon) { SetHandle((WXHANDLE)hIcon); }
inline WXHICON GetHICON() const { return (WXHICON)GetHandle(); }
+ inline bool IsXpm(void) const { return m_bIsXpm; };
+ inline const wxBitmap& GetXpmSrc(void) const { return m_vXpmSrc; }
void CopyFromBitmap(const wxBitmap& rBmp);
protected:
void CreateIconFromXpm(const char **ppData);
private:
+ bool m_bIsXpm;
+ wxBitmap m_vXpmSrc;
+
DECLARE_DYNAMIC_CLASS(wxIcon)
};