summaryrefslogtreecommitdiffstats
path: root/generic/ttk/ttkTheme.h
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2006-11-03 15:42:42 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2006-11-03 15:42:42 (GMT)
commita8bab9eb1e04cd0aaacb9b37f55133b44e1b4052 (patch)
tree6317fe21d1080ecc06b6076d4f66c7e40c1a9c0e /generic/ttk/ttkTheme.h
parentb1d837cc1a4b0654ab78b3380989e5539c654bb5 (diff)
downloadtk-a8bab9eb1e04cd0aaacb9b37f55133b44e1b4052.zip
tk-a8bab9eb1e04cd0aaacb9b37f55133b44e1b4052.tar.gz
tk-a8bab9eb1e04cd0aaacb9b37f55133b44e1b4052.tar.bz2
We do not want to require tkInt in all the ttk files so added the
definition of MODULE_SCOPE to ttkTheme.h Ensure everyone gets to see the definition from someplace.
Diffstat (limited to 'generic/ttk/ttkTheme.h')
-rw-r--r--generic/ttk/ttkTheme.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/generic/ttk/ttkTheme.h b/generic/ttk/ttkTheme.h
index 9df78ae..1871a91 100644
--- a/generic/ttk/ttkTheme.h
+++ b/generic/ttk/ttkTheme.h
@@ -4,7 +4,7 @@
*
* Copyright (c) 2003 Joe English. Freely redistributable.
*
- * $Id: ttkTheme.h,v 1.2 2006/11/03 03:06:22 das Exp $
+ * $Id: ttkTheme.h,v 1.3 2006/11/03 15:42:42 patthoyts Exp $
*/
#ifndef _TTKTHEME
@@ -21,6 +21,14 @@ extern "C" {
# define TTKAPI DLLIMPORT
#endif
+#ifndef MODULE_SCOPE
+# ifdef __cplusplus
+# define MODULE_SCOPE extern "C"
+# else
+# define MODULE_SCOPE extern
+# endif
+#endif
+
/* Ttk syncs to the Tk version & patchlevel */
#define TTK_VERSION TK_VERSION
#define TTK_PATCH_LEVEL TK_PATCH_LEVEL