]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/osx/private.h
Fix missing documentation for several GDI functions.
[wxWidgets.git] / include / wx / osx / private.h
index ce2ed5c6f803f05ae8c37f98939965dd31816655..5b33475f99690c59c587c459461bcb48a33fa2ac 100644 (file)
@@ -1,7 +1,16 @@
-#ifdef __WXMAC_CLASSIC__
-#include "wx/osx/classic/private.h"
-#elif defined(__WXOSX_IPHONE__)
+#ifndef _WX_PRIVATE_OSX_H_
+#define _WX_PRIVATE_OSX_H_
+
 #include "wx/osx/core/private.h"
 #include "wx/osx/core/private.h"
-#else
-#include "wx/osx/carbon/private.h"
+
+#if wxOSX_USE_IPHONE
+    #include "wx/osx/iphone/private.h"
+#elif wxOSX_USE_CARBON
+    #include "wx/osx/carbon/private.h"
+#elif wxOSX_USE_COCOA
+    #include "wx/osx/cocoa/private.h"
+#elif wxUSE_GUI
+    #error "Must include wx/defs.h first"
+#endif
+
 #endif
 #endif