X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14f21d6d89225c8c567e5667c68dd8d81fc9b7e6..27d2dbbccadf25bb1d892fe1c4afbf74cf76bb36:/include/wx/html/webkit.h diff --git a/include/wx/html/webkit.h b/include/wx/html/webkit.h index 1bec21122e..87dd797f0f 100755 --- a/include/wx/html/webkit.h +++ b/include/wx/html/webkit.h @@ -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_