@@ -434,7 +434,7 @@ static int EntryValueChanged(Entry *entryPtr,
434
434
const char * newValue );
435
435
static void EntryVisibleRange (Entry * entryPtr ,
436
436
double * firstPtr , double * lastPtr );
437
- static Tcl_ObjCmdProc EntryWidgetObjCmd ;
437
+ static Tcl_ObjCmdProc2 EntryWidgetObjCmd ;
438
438
static void EntryWorldChanged (void * instanceData );
439
439
static int GetEntryIndex (Tcl_Interp * interp , Entry * entryPtr ,
440
440
Tcl_Obj * indexObj , Tcl_Size * indexPtr );
@@ -444,7 +444,7 @@ static int InsertChars(Entry *entryPtr, Tcl_Size index, Tcl_Obj *obj);
444
444
* These forward declarations are the spinbox specific ones:
445
445
*/
446
446
447
- static Tcl_ObjCmdProc SpinboxWidgetObjCmd ;
447
+ static Tcl_ObjCmdProc2 SpinboxWidgetObjCmd ;
448
448
static int GetSpinboxElement (Spinbox * sbPtr , int x , int y );
449
449
static int SpinboxInvoke (Tcl_Interp * interp , Spinbox * sbPtr ,
450
450
int element );
@@ -522,7 +522,7 @@ Tk_EntryObjCmd(
522
522
entryPtr -> tkwin = tkwin ;
523
523
entryPtr -> display = Tk_Display (tkwin );
524
524
entryPtr -> interp = interp ;
525
- entryPtr -> widgetCmd = Tcl_CreateObjCommand (interp ,
525
+ entryPtr -> widgetCmd = Tcl_CreateObjCommand2 (interp ,
526
526
Tk_PathName (entryPtr -> tkwin ), EntryWidgetObjCmd , entryPtr ,
527
527
EntryCmdDeletedProc );
528
528
entryPtr -> optionTable = optionTable ;
@@ -596,7 +596,7 @@ static int
596
596
EntryWidgetObjCmd (
597
597
void * clientData , /* Information about entry widget. */
598
598
Tcl_Interp * interp , /* Current interpreter. */
599
- int objc , /* Number of arguments. */
599
+ Tcl_Size objc , /* Number of arguments. */
600
600
Tcl_Obj * const objv []) /* Argument objects. */
601
601
{
602
602
Entry * entryPtr = (Entry * )clientData ;
@@ -3771,7 +3771,7 @@ Tk_SpinboxObjCmd(
3771
3771
entryPtr -> tkwin = tkwin ;
3772
3772
entryPtr -> display = Tk_Display (tkwin );
3773
3773
entryPtr -> interp = interp ;
3774
- entryPtr -> widgetCmd = Tcl_CreateObjCommand (interp ,
3774
+ entryPtr -> widgetCmd = Tcl_CreateObjCommand2 (interp ,
3775
3775
Tk_PathName (entryPtr -> tkwin ), SpinboxWidgetObjCmd , sbPtr ,
3776
3776
EntryCmdDeletedProc );
3777
3777
entryPtr -> optionTable = optionTable ;
@@ -3863,7 +3863,7 @@ static int
3863
3863
SpinboxWidgetObjCmd (
3864
3864
void * clientData , /* Information about spinbox widget. */
3865
3865
Tcl_Interp * interp , /* Current interpreter. */
3866
- int objc , /* Number of arguments. */
3866
+ Tcl_Size objc , /* Number of arguments. */
3867
3867
Tcl_Obj * const objv []) /* Argument objects. */
3868
3868
{
3869
3869
Entry * entryPtr = (Entry * )clientData ;
0 commit comments