// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "icon.h"
#endif
}
//else: 0 is default
- LoadFile(fullname);
+ LoadFile(fullname, wxBITMAP_TYPE_ICO);
}
wxIcon::~wxIcon()