]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/bitmap.cpp
Clean up indentation / tabs from previous patch
[wxWidgets.git] / src / mac / carbon / bitmap.cpp
index 2deb6dc221c65989ca3e8984c8ca12d9fad1a9f2..71aaca2aa76fd32d058c745480f48e74fb29e071 100644 (file)
@@ -9,11 +9,11 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "bitmap.h"
 #endif
 
-#include "wx/defs.h"
+#include "wx/wxprec.h"
 
 #include "wx/bitmap.h"
 #include "wx/icon.h"
@@ -324,12 +324,12 @@ void wxMacCreateBitmapButton( ControlButtonContentInfo*info , const wxBitmap& bi
                 if ( bitmap.GetMask() )
                 {
                     info->u.cIconHandle = wxMacCreateCIcon( MAC_WXHBITMAP(bmap->m_hBitmap) , MAC_WXHBITMAP(bitmap.GetMask()->GetMaskBitmap()) ,
-                                                           24 , bmap->m_width ) ;
+                                                           8 , bmap->m_width ) ;
                 }
                 else
                 {
                     info->u.cIconHandle = wxMacCreateCIcon( MAC_WXHBITMAP(bmap->m_hBitmap) , NULL ,
-                                                           24 , bmap->m_width ) ;
+                                                           8 , bmap->m_width ) ;
                 }
             }
             else