diff options
author | patthoyts <patthoyts@noemail.net> | 2006-11-03 15:42:41 (GMT) |
---|---|---|
committer | patthoyts <patthoyts@noemail.net> | 2006-11-03 15:42:41 (GMT) |
commit | 08fb5814a5c5151b09246f25e8a8adcc001ced90 (patch) | |
tree | 6317fe21d1080ecc06b6076d4f66c7e40c1a9c0e /win/ttkWinMonitor.c | |
parent | fa0f3c2b370442b15a1a651a3bcf5d6d6a54b91d (diff) | |
download | tk-08fb5814a5c5151b09246f25e8a8adcc001ced90.zip tk-08fb5814a5c5151b09246f25e8a8adcc001ced90.tar.gz tk-08fb5814a5c5151b09246f25e8a8adcc001ced90.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.
FossilOrigin-Name: 45dafadbad52bdd2d728a260bacc12ef03945a84
Diffstat (limited to 'win/ttkWinMonitor.c')
-rw-r--r-- | win/ttkWinMonitor.c | 10 |
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; } |