]> git.saurik.com Git - wxWidgets.git/commitdiff
always skip OnSize
authorStefan Csomor <csomor@advancedconcepts.ch>
Wed, 16 Mar 2011 10:57:08 +0000 (10:57 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Wed, 16 Mar 2011 10:57:08 +0000 (10:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/html/htmlctrl/webkit/webkit.mm

index fcd39df1b27af485733f8fd735e4e592eb7211b8..5a3913d0845178f73ddf41381082806bf20c778b 100644 (file)
@@ -767,8 +767,8 @@ void wxWebKitCtrl::OnSize(wxSizeEvent &event){
 
     if (IsShown())
         [(WebView*)m_webView display];
 
     if (IsShown())
         [(WebView*)m_webView display];
-    event.Skip();
 #endif
 #endif
+    event.Skip();
 }
 
 void wxWebKitCtrl::MacVisibilityChanged(){
 }
 
 void wxWebKitCtrl::MacVisibilityChanged(){