diff options
-rw-r--r-- | generic/tkInt.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/generic/tkInt.h b/generic/tkInt.h index 84bf1aa..30361d9 100644 --- a/generic/tkInt.h +++ b/generic/tkInt.h @@ -1200,7 +1200,11 @@ MODULE_SCOPE void Ttk_TkDestroyedHandler(Tcl_Interp *interp); MODULE_SCOPE Tcl_ObjCmdProc Tk_BellObjCmd; MODULE_SCOPE Tcl_ObjCmdProc Tk_BindObjCmd; MODULE_SCOPE Tcl_ObjCmdProc Tk_BindtagsObjCmd; -MODULE_SCOPE Tcl_ObjCmdProc2 Tk_BusyObjCmd; +#if TCL_MAJOR_VERSION > 8 + MODULE_SCOPE Tcl_ObjCmdProc2 Tk_BusyObjCmd; +#else + MODULE_SCOPE Tcl_ObjCmdProc Tk_BusyObjCmd; +#endif MODULE_SCOPE Tcl_ObjCmdProc Tk_ButtonObjCmd; MODULE_SCOPE Tcl_ObjCmdProc Tk_CanvasObjCmd; MODULE_SCOPE Tcl_ObjCmdProc Tk_CheckbuttonObjCmd; |