]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/html/webkit.h
define WINVER as 0x0400 for VC++ 6 because its headers give a warning if WINVER ...
[wxWidgets.git] / include / wx / html / webkit.h
index 672b6c8840782d9687db2e418856e8a94fa4c34c..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
@@ -67,9 +69,10 @@ public:
     void SetPageSource(wxString& source, const wxString& baseUrl = wxEmptyString);
     
     //we need to resize the webview when the control size changes
-    //void OnSize(wxSizeEvent &event);
+    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_