]> git.saurik.com Git - wxWidgets.git/commitdiff
reordering for CW compiles, setting control to opaque because of incorrect erases...
authorStefan Csomor <csomor@advancedconcepts.ch>
Sat, 30 Apr 2005 09:11:36 +0000 (09:11 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sat, 30 Apr 2005 09:11:36 +0000 (09:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/html/htmlctrl/webkit/webkit.mm

index 59661997fd0a8ee036bf56a2a2738b5f7e383bcc..913088dbcaa5071710fc4e9f5fc384e14180648b 100755 (executable)
@@ -28,9 +28,9 @@
 #else
 #include "wx/mac/uma.h"
 #include <Carbon/Carbon.h>
+#include <WebKit/WebKit.h>
 #include <WebKit/HIWebView.h>
 #include <WebKit/CarbonUtils.h>
-#include <WebKit/WebKit.h>
 #endif
 
 #include "wx/html/webkit.h"
@@ -156,6 +156,10 @@ bool wxWebKitCtrl::Create(wxWindow *parent,
     MacPostControlCreate(pos, size);
     HIViewSetVisible( m_peer->GetControlRef(), true );
     [m_webView setHidden:false];
+#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_3
+       if ( UMAGetSystemVersion() >= 0x1030 )
+    HIViewChangeFeatures( m_peer->GetControlRef() , kHIViewIsOpaque , 0 ) ;
+#endif
 #endif
 
     // Register event listener interfaces