summaryrefslogtreecommitdiffstats
path: root/win
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 /win
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 'win')
-rw-r--r--win/ttkWinMonitor.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/win/ttkWinMonitor.c b/win/ttkWinMonitor.c
index 0d8b21b..11f2dda 100644
--- a/win/ttkWinMonitor.c
+++ b/win/ttkWinMonitor.c
@@ -1,4 +1,4 @@
-/* $Id: ttkWinMonitor.c,v 1.3 2006/11/03 14:42:09 das Exp $
+/* $Id: ttkWinMonitor.c,v 1.4 2006/11/03 15:42:42 patthoyts Exp $
*/
#ifdef _MSC_VER
@@ -146,8 +146,8 @@ WndProc(HWND hwnd, UINT msg, WPARAM wp, LPARAM lp)
* Windows-specific platform initialization:
*/
-extern int TtkWinTheme_Init(Tcl_Interp *, HWND hwnd);
-extern int TtkXPTheme_Init(Tcl_Interp *, HWND hwnd);
+MODULE_SCOPE int TtkWinTheme_Init(Tcl_Interp *, HWND hwnd);
+MODULE_SCOPE int TtkXPTheme_Init(Tcl_Interp *, HWND hwnd);
MODULE_SCOPE int Ttk_WinPlatformInit(Tcl_Interp *interp)
{
@@ -156,8 +156,8 @@ MODULE_SCOPE int Ttk_WinPlatformInit(Tcl_Interp *interp)
hwnd = CreateThemeMonitorWindow(Tk_GetHINSTANCE(), interp);
Ttk_RegisterCleanup(interp, (ClientData)hwnd, DestroyThemeMonitorWindow);
- WinTheme_Init(interp, hwnd);
- XPTheme_Init(interp, hwnd);
+ TtkWinTheme_Init(interp, hwnd);
+ TtkXPTheme_Init(interp, hwnd);
return TCL_OK;
}