m_pictHandle = NULL ;
m_hBitmap = NULL ;
m_hMaskBitmap = NULL;
- m_maskBytesPerRow = NULL ;
+ m_maskBytesPerRow = 0 ;
m_rawAccessCount = 0 ;
m_hasAlpha = false;
IconFamilyHandle iconFamily = NULL ;
+#ifdef WORDS_BIGENDIAN
iconFamily = (IconFamilyHandle) NewHandle(8) ;
(**iconFamily).resourceType = kIconFamilyType ;
(**iconFamily).resourceSize = sizeof(OSType) + sizeof(Size);
+#else
+ // test this solution on big endian as well
+ iconFamily = (IconFamilyHandle) NewHandle(0) ;
+#endif
int w = GetWidth() ;
int h = GetHeight() ;
int width = image.GetWidth();
int height = image.GetHeight();
- m_refData = new wxBitmapRefData( width , height , depth ) ;;
+ m_refData = new wxBitmapRefData( width , height , depth ) ;
// Create picture