]> git.saurik.com Git - wxWidgets.git/commitdiff
Tiger compatibility fixes.
authorKevin Ollivier <kevino@theolliviers.com>
Wed, 27 Apr 2005 15:41:06 +0000 (15:41 +0000)
committerKevin Ollivier <kevino@theolliviers.com>
Wed, 27 Apr 2005 15:41:06 +0000 (15:41 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/html/htmlctrl/webkit/webkit.mm

index a86aa1dccd38c16672349abe8818fdbe6a1f8a19..59661997fd0a8ee036bf56a2a2738b5f7e383bcc 100755 (executable)
@@ -30,6 +30,7 @@
 #include <Carbon/Carbon.h>
 #include <WebKit/HIWebView.h>
 #include <WebKit/CarbonUtils.h>
+#include <WebKit/WebKit.h>
 #endif
 
 #include "wx/html/webkit.h"
@@ -388,14 +389,14 @@ void wxWebKitCtrl::OnSize(wxSizeEvent &event){
 
     //printf("Carbon position x=%d, y=%d\n", GetPosition().x, GetPosition().y);
     if (IsShown())
-        [m_webView display];
+        [(WebView*)m_webView display];
     event.Skip();
 }
 
 void wxWebKitCtrl::MacVisibilityChanged(){
     bool isHidden = !IsControlVisible( m_peer->GetControlRef());
     if (!isHidden)
-        [m_webView display];
+        [(WebView*)m_webView display];
 
     [m_webView setHidden:isHidden];
 }