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
This commit is contained in:
Stefan Csomor
2005-04-30 09:11:36 +00:00
parent 79481be2f8
commit b384c0fb4c

View File

@@ -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