aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTextView.h
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2011-05-08 16:13:11 +0000
committerrowanbeentje <rowan@beent.je>2011-05-08 16:13:11 +0000
commit75ef02696f362f408efece70ede90a6575abfb5a (patch)
treea170db676548a71ea40f5af955fc380f06b6d878 /Source/SPTextView.h
parent4dfa685461faec53e709afaba1323c8384d1c412 (diff)
downloadsequelpro-75ef02696f362f408efece70ede90a6575abfb5a.tar.gz
sequelpro-75ef02696f362f408efece70ede90a6575abfb5a.tar.bz2
sequelpro-75ef02696f362f408efece70ede90a6575abfb5a.zip
- Fix a number of warnings for DBView.xib by moving some 10.6-only code from a #ifndef SP_REFACTOR/#else/#endif to just a #ifdef SP_REFACTOR/<protocol declaration>/#endif, and remarking a few items as IBOutlets
- Update localisable strings
Diffstat (limited to 'Source/SPTextView.h')
-rw-r--r--Source/SPTextView.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/SPTextView.h b/Source/SPTextView.h
index bc4a3eb8..3309ed1d 100644
--- a/Source/SPTextView.h
+++ b/Source/SPTextView.h
@@ -32,10 +32,9 @@
@class SPNarrowDownCompletion, SPDatabaseDocument, SPTablesList, SPCustomQuery;
-#ifndef SP_REFACTOR
@interface SPTextView : NSTextView
-#else
-@interface SPTextView : NSTextView <NSTextStorageDelegate>
+#ifdef SP_REFACTOR
+<NSTextStorageDelegate>
#endif
{
IBOutlet SPDatabaseDocument *tableDocumentInstance;