summaryrefslogtreecommitdiffstats
path: root/win/tkWinWm.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to bedkf2011-03-121-64/+63
| | | using useful casts internally.
* [Bug 3205260] avoid crash in wm manage of children with null class patthoyts2011-03-101-1/+2
| | | | | | | | | The tkhtml widget doesn't set it's window class. The Windows implementation of the wm manage command checks to see if the contained window is actually a menu (looking for torn-off menus) by examining the class. This patch adds a check for a null class to avoid crashing as suggested. Suggested-by: Eric Boudaillier <beric@users.sourceforge.net> Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
* [Bug 3129527]: Fix buffer overflow w/ GCC 4.5 and -D_FORTIFY_SOURCE=2nijtmans2010-12-061-4/+4
|
* Fix various 64-bit gcc(-4.5.2) warnings: cast from pointer to integer of ↵nijtmans2010-11-291-5/+5
| | | | different size
* [FRQ 2965056]: Windows build with -DUNICODEnijtmans2010-10-111-104/+32
|
* Make compilable with -DUNICODE, or mark files with a TODO which are not done ↵nijtmans2010-09-101-1/+7
| | | | | | yet. tkWinPort.h: mingw/cygwin fixes: <tchar.h> should always be included here.
* Unnessarary TCL_STORAGE_CLASS re-definitionsnijtmans2010-04-291-4/+4
| | | | | | Make various functions MODULE_SCOPE TCHAR-related fixes, making al those files compile fine when TCHAR != char.
* Make sure the window is still present when handling delayed activation [Bug ↵patthoyts2009-11-221-4/+15
| | | | 2899949]
* Eliminate more gcc warningsnijtmans2009-08-101-9/+10
|
* eliminate various gcc and msvc compiler warningsnijtmans2009-08-021-4/+4
|
* [Bug 2799589] Avoid setting the focus on a deleted window during delayed ↵patthoyts2009-06-021-3/+13
| | | | activation.
* Fix [Bug 2785744].dkf2009-05-031-27/+30
|
* [Patch 2504402] Create icon bitmaps as device independent bitmaps.patthoyts2009-04-301-11/+66
| | | | | | This ensures the icon can be drawn properly on various colour depth surfaces - in particular it fixes a problem with remote desktop and looks better in the vista task switching overlay. (cjmcdonald)
* - eliminate some unnessary type castsnijtmans2009-01-281-24/+23
| | | | | - some internal const decorations - spacing
* [Bug 1847002] On Windows a grab can be bypassed using the taskbar. This ↵patthoyts2009-01-071-19/+80
| | | | prevents that by handling the keyboard activation message and the system menu commands when grabs are present.
* TIP 337dgp2008-12-091-5/+5
| | | | | | | | | | | | | | | | | | | | | | * generic/tkBind.c: Updated callers of Tcl_BackgroundError() * generic/tkCanvas.c: to use the new routine * generic/tkEntry.c: Tcl_BackgroundException() as appropriate. * generic/tkImgBmap.c: * generic/tkListbox.c: * generic/tkSelect.c: * generic/tkTextDisp.c: * generic/tkTextWind.c: * macosx/tkMacOSXHLEvents.c: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXWindowEvent.c: * unix/tkUnixScale.c: * unix/tkUnixWm.c: * win/tkWinButton.c: * win/tkWinMenu.c: * win/tkWinScrlbr.c: * win/tkWinWm.c:
* Minor simplification in fix for [Bug 2312027]:nijtmans2008-11-181-4/+6
| | | | | | | | no need to malloc and copy photo type name because it is a constant to begin with. Convert Tcl_SetResult(......, TCL_DYNAMIC) to Tcl_SetResult(......, TCL_VOLATILE), in preparation for TIP #340
* bug 2239034: restrict [wm manage] to Frame type widgetspatthoyts2008-11-151-1/+7
|
* Add "const" to many internalnijtmans2008-10-171-8/+8
| | | | | | | | const tables, so those will be put by the C-compiler in the TEXT segment in stead of the DATA segment. This makes those table sharable in shared libraries.
* Corrected some errors from the previous commitpatthoyts2008-10-061-4/+2
|
* Greatly clean up Tk's handling of the writability of the Tcl result object.dkf2008-10-051-68/+44
|
* Check wmPtr is valid in TopLevelReqProc to fix [Bug 2028703]patthoyts2008-08-011-7/+9
|
* Check that the parent has been mapped before calling RemapWindows. [Bug 2009788]patthoyts2008-07-261-2/+4
|
* More elimination of pre-C89-isms.dkf2008-05-021-196/+201
|
* Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-271-86/+86
|
* Add in missing function definitions to support plain MSVC6 and usepatthoyts2007-12-141-27/+3
| | | | | INT_PTR rather than LONG_PTR which isn'tr defined in the msvc6 headers.
* merge stable branch onto HEADdgp2007-12-131-1/+1
|
* Fix suite of small problems that prevented a build from working for me.dkf2007-12-091-1/+25
|
* * win/tkWinButton.c, win/tkWinDialog.c: use SetWindowLongPtr andhobbs2007-12-051-34/+1
| | | | | * win/tkWinScrlbr.c, win/tkWinWm.c: GetWindowLongPtr only. * win/ttkWinMonitor.c:
* * win/tkWinInt.h: remove CS_CLASSDC (not recommended for any apps now)hobbs2007-12-051-67/+28
| | | | | | | * win/tkWinX.c: and simplify WNDCLASS to one style. * win/tkWinWm.c: Reduce wrapper update for exStyle to toolwindow change only and set WS_EX_LAYERED as sticky (once set on a window, do not remove it) to reduce alpha transition flicker.
* * generic/tkFocus.c, generic/tkFrame.c, generic/tkInt.h:hobbs2007-10-151-7/+152
| | | | | | | | * macosx/tkMacOSXButton.c, macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXWm.c, unix/tkUnixWm.c, win/tkWinWm.c: * doc/wm.n, tests/wm.test: TIP #125 implementation [Bug 998125] Adds [wm manage|forget] for dockable frames. Finished X11 and Windows code, needs OS X completion.
* Assorted minor cleanups.dkf2007-09-081-16/+18
|
* * win/tkWinWm.c (WmIconphotoCmd): fix wm iconphoto RGBA issues.hobbs2007-06-101-5/+15
| | | | [Bug 1467997] (janssen)
* TIP #145 implementationpatthoyts2007-05-041-1/+10
|
* Reduce the number of warningsdkf2007-02-231-15/+15
|
* Less of that K&R or wrongly indented function header style!dkf2007-02-221-3/+3
|
* More warning squelching (mostly uninit variable warnings)dkf2007-01-121-5/+11
|
* Many minute fixes to reduce number of minor warnings from GCC.dkf2007-01-111-20/+25
|
* various "const" additions, in line with TIP #27nijtmans2007-01-051-2/+2
| | | | fix bug #1627732
* * doc/wm.n, tests/winWm.test:hobbs2006-12-011-27/+80
| | | | * win/tkWinWm.c: add -transparentcolor attribute for Windows.
* * win/tkWinWm.c (WmProc): pass WM_QUERYENDSESSION message to Tk ashobbs2006-04-051-1/+17
| | | | WM_SAVE_YOURSELF wm protocol callback.
* remove unused variable to allow compilation with VC++ in debug modevincentdarley2005-12-291-2/+2
|
* * win/tkWinWm.c (WinSetIcon): Don't check resultmdejong2005-12-101-33/+16
| | | | | | | of SetClassLong() or SetClassLongPtr() since it was generating an incorrect error and the MSDN docs indicate that the result need not be checked.
* More fixes (mostly getting rid of excess spaces)dkf2005-12-021-341/+342
|
* Fix problems in last commitdkf2005-12-021-181/+183
|
* ANSIficationdkf2005-12-021-1658/+1869
|
* * win/tkWinWm.c (WmAttributesCmd): set (no)topmost window aspecthobbs2005-12-011-2/+14
| | | | before rewrapping. [Bug 1086049]
* Fixed bug #1311734chengyemao2005-10-051-4/+4
|
* Fixed bug# 1283635chengyemao2005-09-111-5/+5
|
* Fixed bug# 1283635chengyemao2005-09-111-3/+4
|