summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-05-12 09:43:05 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-05-12 09:43:05 (GMT)
commita2aa552b57d37930896862634e0e1a3374000ed0 (patch)
tree5da5917b13cd0eca8869ec2b536fe5e0589a3f1c /win
parent0b86a97064fe91bef32ea77d1d6e3cb95818312c (diff)
downloadtk-a2aa552b57d37930896862634e0e1a3374000ed0.zip
tk-a2aa552b57d37930896862634e0e1a3374000ed0.tar.gz
tk-a2aa552b57d37930896862634e0e1a3374000ed0.tar.bz2
PeekMessageA -> PeekMessage
Diffstat (limited to 'win')
-rw-r--r--win/tkWinDialog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWinDialog.c b/win/tkWinDialog.c
index 64b3eac..a7d8c7d 100644
--- a/win/tkWinDialog.c
+++ b/win/tkWinDialog.c
@@ -679,7 +679,7 @@ static void LoadShellProcs()
* poll the message queue consuming WM_LBUTTONUP messages.
* On seeing a WM_LBUTTONDOWN message, it would exit early, since the user
* must be doing something new. However this early exit does not work
- * on Vista and later because the Windows sends both BUTTONDOWN and
+ * on Vista and later because the Windows sends both BUTTONDOWN and
* BUTTONUP after the DBLCLICK instead of just BUTTONUP as on XP.
* Rather than try and figure out version specific sequences, we
* ignore all mouse events in that interval.
@@ -704,7 +704,7 @@ EatSpuriousMessageBugFix(void)
DWORD nTime = GetTickCount() + 250;
while (GetTickCount() < nTime) {
- PeekMessageA(&msg, 0, WM_MOUSEFIRST, WM_MOUSELAST, PM_REMOVE);
+ PeekMessage(&msg, 0, WM_MOUSEFIRST, WM_MOUSELAST, PM_REMOVE);
}
}