]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/osx/private.h
Implement wxBookCtrlBase::CalcSizeFromPage() in the base class.
[wxWidgets.git] / include / wx / osx / private.h
index 89cc04313e01cadd14c20af5b876434f7ad4c2fe..a309aea5ac584cc912076e73da395779e9692a60 100644 (file)
@@ -1,9 +1,12 @@
 /* common warning snippet for all osx direct includes */
 
 #ifndef wxOSX_USE_CARBON
-#error "this files should only be included after platform.h was included
+#error "this files should only be included after platform.h was included"
 #endif
 
+#ifndef _WX_PRIVATE_OSX_H_
+#define _WX_PRIVATE_OSX_H_
+
 #if wxOSX_USE_IPHONE
     #include "wx/osx/iphone/private.h"
 #elif wxOSX_USE_CARBON
@@ -11,3 +14,5 @@
 #elif wxOSX_USE_COCOA
     #include "wx/osx/cocoa/private.h"
 #endif
+
+#endif