/////////////////////////////////////////////////////////////////////////////
-// Name: src/cocoa/bitmap.cpp
+// Name: src/cocoa/bitmap.mm
// Purpose: wxBitmap
// Author: David Elliott
// Modified by:
/////////////////////////////////////////////////////////////////////////////
#include "wx/wxprec.h"
+
+#include "wx/bitmap.h"
+
#ifndef WX_PRECOMP
#include "wx/log.h"
#include "wx/utils.h"
#include "wx/palette.h"
#include "wx/icon.h"
#include "wx/colour.h"
+ #include "wx/image.h"
#endif //WX_PRECOMP
-#include "wx/bitmap.h"
-#include "wx/image.h"
+
#include "wx/xpmdecod.h"
#include "wx/rawbmp.h"
#if wxUSE_IMAGE && wxUSE_XPM
UnRef();
- wxCHECK_MSG( xpm, false, wxT("invalid XPM data") )
+ wxCHECK_MSG( xpm, false, wxT("invalid XPM data") );
wxXPMDecoder decoder;
wxImage img = decoder.ReadData(xpm);
- wxCHECK_MSG( img.Ok(), false, wxT("invalid XPM data") )
+ wxCHECK_MSG( img.Ok(), false, wxT("invalid XPM data") );
*this = wxBitmap(img);
return true;
m_cocoaNSBitmapImageRep = [maskRep retain];
return true;
}
-