aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2013-06-29 13:17:30 +1000
committerNeil <nyamatongwe@gmail.com>2013-06-29 13:17:30 +1000
commit18c0875c09af2292ebba1115752289f82138fcfa (patch)
treee6075d80b37d1f8476c54a25f5c9704eb779dbb8
parentf3f895515bf657ed1309faac27dfd0bd5943979e (diff)
downloadscintilla-mirror-18c0875c09af2292ebba1115752289f82138fcfa.tar.gz
Include PLAT_TK for implementation on Tk platform.
-rw-r--r--doc/ScintillaHistory.html2
-rw-r--r--include/Platform.h6
2 files changed, 8 insertions, 0 deletions
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html
index 6035179f8..0503afa79 100644
--- a/doc/ScintillaHistory.html
+++ b/doc/ScintillaHistory.html
@@ -425,6 +425,8 @@
<td>Igor Shaula</td>
<td>Pavel Bulochkin</td>
<td>Yosef Or Boczko</td>
+ </tr><tr>
+ <td>Brian Griffin</td>
</tr>
</table>
<p>
diff --git a/include/Platform.h b/include/Platform.h
index 30c4e0337..311b1c423 100644
--- a/include/Platform.h
+++ b/include/Platform.h
@@ -13,6 +13,7 @@
// PLAT_GTK_WIN32 is defined additionally when running PLAT_GTK under Win32
// PLAT_WIN = Win32 API on Win32 OS
// PLAT_WX is wxWindows on any supported platform
+// PLAT_TK = Tcl/TK on Linux or Win32
#define PLAT_GTK 0
#define PLAT_GTK_WIN32 0
@@ -23,6 +24,7 @@
#define PLAT_QT 0
#define PLAT_FOX 0
#define PLAT_CURSES 0
+#define PLAT_TK 0
#if defined(FOX)
#undef PLAT_FOX
@@ -40,6 +42,10 @@
#undef PLAT_QT
#define PLAT_QT 1
+#elif defined(TK)
+#undef PLAT_TK
+#define PLAT_TK 1
+
#elif defined(GTK)
#undef PLAT_GTK
#define PLAT_GTK 1