]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/private.h
Added wxRegion::Offset(x,y)
[wxWidgets.git] / include / wx / mac / private.h
index c7d5bedf729c230445dcb517f90444496180163e..1f9e0b0c41ea189ff7872af657aafd50db17a6d8 100644 (file)
 #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 :
@@ -55,6 +65,7 @@ public :
        ~wxMacPortSetter() ;
 private :
        wxMacPortStateHelper m_ph ;
+       const wxDC* m_dc ;
 } ;
 
 class wxMacDrawingHelper