summaryrefslogtreecommitdiffstats
path: root/win/tkWinInit.c
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-271-4/+4
|
* merge stable branch onto HEADdgp2007-12-131-1/+1
|
* * generic/tkWindow.c (Initialize): Moved common Tk initializationdgp2007-09-061-8/+2
| | | | | | | | | | | * generic/tkInitScript.h (removed): script out of tkInitScript.h * macosx/tkMacOSXInit.c: and multiple TkpInit() routines and * unix/Makefile.in: into the common Initialize() routine in * unix/tkUnixInit.c: generic code. Also removed constraint on * win/tkWinInit.c: ability to define a custom [tkInit] before calling Tk_Init(). Until now the custom [tkInit] had to be a proc. Now it can be any command. Removal of tkInitScript.h also fixes [Bug 1656283].
* ANSIficationdkf2005-12-021-22/+32
|
* * win/tkWinInit.c (TkpDisplayWarning): truncate MessageBox stringhobbs2003-02-181-1/+10
| | | | | to 1024 chars to prevent possible oversized window errors. May be necessary in other MB uses (ie Tcl_AppInit). [Tcl Bug #608559]
* * generic/tkInt.decls: add TkWinSetHINSTANCE declhobbs2002-12-081-5/+4
| | | | | | | | | | * generic/tkIntPlatDecls.h: regen * generic/tkStubInit.c: regen * win/tkWinInit.c (TkpInit): While init and cleanup aren't correct * win/tkWinX.c (TkWinXInit): in DllMain, we had to specify the * win/tkWin32Dll.c (DllMain): true HINSTANCE or the resources of a dynamic Tk weren't being loaded correctly. Created a new function TkWinSetHINSTANCE for this purpose.
* * win/tkWinInt.h: declaration for TkWinGetUnicodeEncodinghobbs2002-04-121-2/+2
| | | | | | | * win/tkWinDialog.c (GetFileNameW): use TkWinGetUnicodeEncoding * win/tkWinInit.c (TkpDisplayWarning): use TkWinGetUnicodeEncoding * win/tkWinFont.c: use TkWinGetUnicodeEncoding instead of static unicodeEncoding.
* * win/tkWinInit.c (TkpGetAppName): TIP 27 fixup. The code now doesandreas_kupries2002-01-291-4/+6
| | | | | not write into the CONST path returned by "argv0" and Tcl_SplitPath anymore.
* * Updated callers of Tcl_SplitList and Tcl_Merge.dgp2002-01-251-4/+4
| | | | | | | | | * Updated callers of Tcl_GetStringResult. Rewrote PrintScrollFractions to ScrollFractions to stop scribbling directly on interp->result. * Updated callers of Tcl_GetVar, Tcl_GetVar2 * Updated callers of Tcl_SplitPath, Tcl_JoinPath, and Tcl_TranslateFileName.
* win/tkWinInit.c (TkpDisplayWarning): added Tcl_DStringFreeshobbs2001-12-281-1/+3
|
* * win/tkWinInit.c (TkpDisplayWarning): Use MessageBoxW in case thehobbs2001-12-281-2/+9
| | | | error displayed has unicode chars. [Bug #485986]
* * win/tkWinDialog.c: added unicode-aware open/save file dialogshobbs2000-03-311-1/+7
| | | | | | | | | | | | | | | | | | | | | | | * win/tkWinFont.c (TkpFontPkgInit): move private ref to platformId to TkWinGetPlatformId * win/tkWinMenu.c (SetDefaults): moved private use of versionInfo to TkWinGetPlatformId and removed all code for (versionInfo.dwMajorVersion < 4) (== Win32s) * win/tkWinX.c: * win/tkWin32Dll.c: moved TkWinGetPlatformId to tkWinX.c * win/tkWinInit.c: added TkWinXInit to TkpInit to ensure that its called for static Windows shells. [Bug: 3647] * win/tkWinInt.h: * win/tkWinX.c: * win/tkWinDraw.c (SetUpGraphicsPort): * win/tkWinScrlbr.c (UpdateScrollbar): removed use of tkpIsWin32s * win/tkWinInt.h (TkWinDCState struct): added bkmode value * win/tkWinDraw.c (TkWinGetDrawableDC, et al): added support for properly transparent dashed lines on Windows. [Bug: 4617]
* * Merged 8.1 branch into the main trunkstanton1999-04-161-2/+2
|
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
|
* Initial revisionrjohnson1998-04-011-0/+121