Tk Source Code

View Ticket
Login
Ticket UUID: 220690
Title: Linking VTK with Tcl/Tk support
Type: Bug Version: obsolete: 8.3
Submitter: welch Created on: 2000-10-31 23:48:57
Subsystem: 85. Win Build Assigned To: nobody
Priority: 2 Severity:
Status: Closed Last Modified: 2009-12-03 16:54:46
Resolution: Fixed Closed By: dgp
    Closed on: 2001-03-22 16:52:38
Description:
OriginalBugID: 4240 Bug
Version: 8.3
SubmitDate: '2000-02-25'
LastModified: '2000-03-27'
Severity: LOW
Status: Released
Submitter: techsupp
ChangedBy: hobbs
OS: Windows NT
FixedDate: '2000-03-27'
FixedInVersion: 8.3.1


Name:
Bernhard Hombitzer

Comments:
Linking VTK (www.kitware.com) with tcl/tk failed with the error
    _TkWinChildProc in library not found.
    Changing the line 
    extern LRESULT CALLBACKTkWinChildProc _ANSI_ARGS_((HWND hwnd, UINT
    message,  WPARAM wParam, LPARAM lParam));
    to
    EXTERN LRESULT CALLBACKTkWinChildProc _ANSI_ARGS_((HWND hwnd, UINT
    message,  WPARAM wParam, LPARAM lParam));
    in file tk8.3.0/win/tkWinInt.h resolved that problem.



The fix as noted is not correct.  It should go into the platform
specific stubs table.  For some reason it wasn't done with the
rest in 8.1... 
-- 02/25/2000 hobbs
This required a bit more than the above, but the fix is in 8.3.1. 
-- 03/27/2000 hobbs
User Comments: nijtmans added on 2009-12-03 16:54:46:

allow_comments - 1

Added TkWinChildProc to the internal stub table (HEAD and 8.5)