X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/005198fa7d8e244f9c9c28263c8eca5a9ced8e16..27d2dbbccadf25bb1d892fe1c4afbf74cf76bb36:/include/wx/html/webkit.h?ds=sidebyside diff --git a/include/wx/html/webkit.h b/include/wx/html/webkit.h index c363df7146..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 @@ -70,6 +72,7 @@ public: void OnSize(wxSizeEvent &event); protected: DECLARE_EVENT_TABLE() + void MacVisibilityChanged(); private: wxWindow *m_parent; @@ -126,4 +129,6 @@ END_DECLARE_EVENT_TYPES() (wxWebKitStateChangedEventFunction) & func, \ (wxObject *) NULL ), +#endif // wxUSE_WEBKIT + #endif // _WX_WEBKIT_H_