#ifndef _WX_ICON_H_
#define _WX_ICON_H_
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "icon.h"
#endif
// wxIcon
//-----------------------------------------------------------------------------
-class wxIcon: public wxBitmap
+class WXDLLIMPEXP_CORE wxIcon: public wxBitmap
{
public:
wxIcon();