#include "wx/defs.h"
#if defined(__POWERPC__) && defined(__DARWIN__)
- #include <Carbon/Carbon.h>
+# include <Carbon/Carbon.h>
+# define TARGET_CARBON 1
#else
- #include "MacHeaders.c"
+# include <Quickdraw.h>
+# include <Appearance.h>
+# include <Folders.h>
+# include <Controls.h>
+# include <ControlDefinitions.h>
+# include <LowMem.h>
+# include <Gestalt.h>
#endif
+
#if UNIVERSAL_INTERFACES_VERSION < 0x0340
#error "please update to Apple's lastest universal headers from http://developer.apple.com/sdk/"
#endif
+#include "wx/window.h"
+
class wxMacPortStateHelper
{
public :
~wxMacPortSetter() ;
private :
wxMacPortStateHelper m_ph ;
+ const wxDC* m_dc ;
} ;
class wxMacDrawingHelper
CIconHandle wxMacCreateCIcon(GWorldPtr image , GWorldPtr mask , short dstDepth , short iconSize ) ;
void wxMacSetColorTableEntry( CTabHandle newColors , int index , int red , int green , int blue ) ;
CTabHandle wxMacCreateColorTable( int numColors ) ;
+void wxMacCreateBitmapButton( ControlButtonContentInfo*info , const wxBitmap& bitmap ) ;
#define MAC_WXCOLORREF(a) (*((RGBColor*)&(a)))
#define MAC_WXHBITMAP(a) (GWorldPtr(a))