]> git.saurik.com Git - wxWidgets.git/commitdiff
non-precomp fixes
authorStefan Csomor <csomor@advancedconcepts.ch>
Sun, 7 Sep 2008 20:09:57 +0000 (20:09 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sun, 7 Sep 2008 20:09:57 +0000 (20:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/cocoa/nonownedwnd.mm
src/osx/cocoa/window.mm

index eba768adb8347a26bd02d5282d09dbea70664f4e..ec7fcf12c1db53541532e13b5a5d9d2a5e741ac2 100644 (file)
 /////////////////////////////////////////////////////////////////////////////
 
 #include "wx/wxprec.h"
-
-#if wxOSX_USE_COCOA
-#include <Cocoa/Cocoa.h>
-#else
-#include <UIKit/UIKit.h>
+#ifndef WX_PRECOMP
+    #include "wx/nonownedwnd.h"
+    #include "wx/frame.h"
 #endif
 
-#ifdef __WXMAC__
 #include "wx/osx/private.h"
-#endif
 
 NSRect wxToNSRect( NSView* parent, const wxRect& r )
 {
index a358f96dcaf13ee125eb14be889adddf66cb0584..df977ab28178a8b9ca6446083c04b660208e7188 100644 (file)
@@ -11,7 +11,9 @@
 
 #include "wx/wxprec.h"
 
-#include <Cocoa/Cocoa.h>
+#ifndef WX_PRECOMP
+#include "wx/nonownedwnd.h"
+#endif
 
 #ifdef __WXMAC__
 #include "wx/osx/private.h"