]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/html/webkit.h
Additional configuration check.
[wxWidgets.git] / include / wx / html / webkit.h
index 1bec21122e935d66182e1682c184e4ed8fc08120..87dd797f0f6f0e94ee49a9b5a37745975e0bf793 100755 (executable)
@@ -16,6 +16,8 @@
 #pragma interface "webkit.h"
 #endif
 
+#if wxUSE_WEBKIT
+
 #if !defined(__WXMAC__) && !defined(__WXCOCOA__)
 #error "wxWebKitCtrl not implemented for this platform"
 #endif
@@ -127,4 +129,6 @@ END_DECLARE_EVENT_TYPES()
                             (wxWebKitStateChangedEventFunction) & func, \
                             (wxObject *) NULL ),
 
+#endif // wxUSE_WEBKIT
+
 #endif // _WX_WEBKIT_H_