Tiger build fix
authorsullivan <sullivan@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 Dec 2006 00:18:34 +0000 (00:18 +0000)
committersullivan <sullivan@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 Dec 2006 00:18:34 +0000 (00:18 +0000)
        * editing/mac/EditorMac.mm:
        declare -[NSSpellChecker learnWord:], on Tiger only (it's API on Leopard)

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18036 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/editing/mac/EditorMac.mm

index 5af308b96f8277aa83b9f40a698ffa52c715b548..b0ff3ecd0dace1c8ac04c34851df5c7bf216e483 100644 (file)
@@ -1,3 +1,10 @@
+2006-12-05  John Sullivan  <sullivan@apple.com>
+
+        Tiger build fix
+
+        * editing/mac/EditorMac.mm:
+        declare -[NSSpellChecker learnWord:], on Tiger only (it's API on Leopard)
+
 2006-12-05  John Sullivan  <sullivan@apple.com>
 
         Reviewed by Geoff Garen
index 25cd5b24b1f56f91868e029995d04251956d39b8..7bb4e3b121c8c8c66aab17d1429d2a3b87465034 100644 (file)
 #include "Clipboard.h"
 #include "ClipboardMac.h"
 
+#ifdef BUILDING_ON_TIGER
+@interface NSSpellChecker (NotYetPublicMethods)
+- (void)learnWord:(NSString *)word;
+@end
+#endif
+
 namespace WebCore {
 
 PassRefPtr<Clipboard> Editor::newGeneralClipboard(ClipboardAccessPolicy policy)