From b384c0fb4c8735c81559e82efa59d600a4fbdd71 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sat, 30 Apr 2005 09:11:36 +0000 Subject: [PATCH] reordering for CW compiles, setting control to opaque because of incorrect erases under 10.4 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/html/htmlctrl/webkit/webkit.mm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/html/htmlctrl/webkit/webkit.mm b/src/html/htmlctrl/webkit/webkit.mm index 59661997fd..913088dbca 100755 --- a/src/html/htmlctrl/webkit/webkit.mm +++ b/src/html/htmlctrl/webkit/webkit.mm @@ -28,9 +28,9 @@ #else #include "wx/mac/uma.h" #include +#include #include #include -#include #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 -- 2.45.2