Corrected position of wxUSE_WEBKIT test
authorJulian Smart <julian@anthemion.co.uk>
Thu, 17 Jun 2004 20:30:20 +0000 (20:30 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 17 Jun 2004 20:30:20 +0000 (20:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/html/htmlctrl/webkit/webkit.mm

index 22d4b2368415ed8f69991ff1988e41605c27d3e0..bdffb87a69795e4dd0646ba84d9353e581fce9dc 100755 (executable)
@@ -13,8 +13,6 @@
     #pragma implementation "webkit.h"
 #endif
 
-#if wxUSE_WEBKIT
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -22,6 +20,8 @@
     #include "wx/wx.h"
 #endif
 
+#if wxUSE_WEBKIT
+
 #ifdef __WXCOCOA__
 #include "wx/cocoa/autorelease.h"
 #else
@@ -373,4 +373,4 @@ void wxWebKitCtrl::MacVisibilityChanged(){
 }
 @end
 
-#endif //wxUSE_WEBKIT
\ No newline at end of file
+#endif //wxUSE_WEBKIT