X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fa9d617ba4e2f6c360713ef8a7873676de076f91..cbc906ceb79ba18e53fb94a563648b0347a1b15f:/include/wx/mac/private.h diff --git a/include/wx/mac/private.h b/include/wx/mac/private.h index a0f211607a..2afc85b372 100644 --- a/include/wx/mac/private.h +++ b/include/wx/mac/private.h @@ -20,8 +20,15 @@ # include # define TARGET_CARBON 1 #else -# include "MacHeaders.c" +# include +# include +# include +# include +# include +# include +# include #endif + #if UNIVERSAL_INTERFACES_VERSION < 0x0340 #error "please update to Apple's lastest universal headers from http://developer.apple.com/sdk/" #endif @@ -58,6 +65,7 @@ public : ~wxMacPortSetter() ; private : wxMacPortStateHelper m_ph ; + const wxDC* m_dc ; } ; class wxMacDrawingHelper @@ -101,6 +109,7 @@ PicHandle wxMacCreatePict( GWorldPtr gw , GWorldPtr mask = NULL ) ; 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))