summaryrefslogtreecommitdiffstats
path: root/mac/tkMacMenu.c
diff options
context:
space:
mode:
authormdejong <mdejong>2003-12-28 05:04:17 (GMT)
committermdejong <mdejong>2003-12-28 05:04:17 (GMT)
commit557362d55d1b30b7df5d4fc45b30f159f88dc7b6 (patch)
treed261a699492f0fd2c414f40f67a6647259ebb19a /mac/tkMacMenu.c
parent31c8cfb4eb684b0c2899f7d8093288cfb46fe8c4 (diff)
downloadtk-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