diff options
author | mdejong <mdejong> | 2003-12-28 05:04:17 (GMT) |
---|---|---|
committer | mdejong <mdejong> | 2003-12-28 05:04:17 (GMT) |
commit | 557362d55d1b30b7df5d4fc45b30f159f88dc7b6 (patch) | |
tree | d261a699492f0fd2c414f40f67a6647259ebb19a /mac/tkMacMenu.c | |
parent | 31c8cfb4eb684b0c2899f7d8093288cfb46fe8c4 (diff) | |
download | tk-557362d55d1b30b7df5d4fc45b30f159f88dc7b6.zip tk-557362d55d1b30b7df5d4fc45b30f159f88dc7b6.tar.gz tk-557362d55d1b30b7df5d4fc45b30f159f88dc7b6.tar.bz2 |
* win/tkWinMenu.c (DrawWindowsSystemBitmap):
Fix a strange Win32 bug where the logical
coordinates returned by a call to DPtoLP
are wrong the first time a menu is posted.
This bug manifested itself by drawing the
bitmap in the wrong place in a menu.
The fix was to pass the newly created DC
instead of the DC from the window.
Diffstat (limited to 'mac/tkMacMenu.c')
0 files changed, 0 insertions, 0 deletions