]> git.saurik.com Git - wxWidgets.git/commitdiff
fixing iphone build
authorStefan Csomor <csomor@advancedconcepts.ch>
Tue, 15 Mar 2011 20:21:39 +0000 (20:21 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Tue, 15 Mar 2011 20:21:39 +0000 (20:21 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/osx/core/private.h

index 08558c875015d9baa4998c0743b45432b2f6fa47..1ea155f0564eba8e1dff9c0c93fc738fc357f9da 100644 (file)
@@ -853,7 +853,11 @@ public :
     virtual void SetModified(bool WXUNUSED(modified)) { }
     virtual bool IsModified() const { return false; }
 
+#if wxOSX_USE_IPHONE
+    virtual CGFloat GetWindowLevel() const { return 0.0; }
+#else
     virtual CGWindowLevel GetWindowLevel() const { return kCGNormalWindowLevel; }
+#endif
     virtual void RestoreWindowLevel() {}
 protected :
     wxNonOwnedWindow*   m_wxPeer;