#ifndef __GTKBITMAPH__
#define __GTKBITMAPH__
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface
#endif
wxImage ConvertToImage() const;
+ // copies the contents and mask of the given (colour) icon to the bitmap
+ virtual bool CopyFromIcon(const wxIcon& icon);
+
wxMask *GetMask() const;
void SetMask( wxMask *mask );
bool LoadFile( const wxString &name, int type = wxBITMAP_TYPE_XPM );
wxPalette *GetPalette() const;
- wxPalette *GetColourMap() const
- { return GetPalette(); };
+ wxPalette *GetColourMap() const { return GetPalette(); };
+
+ static void InitStandardHandlers() { }
+ static void CleanUpHandlers() { }
// implementation
// --------------