mirror of
https://github.com/SFML/SFML.git
synced 2024-12-01 15:51:04 +08:00
Synchronized with trunk
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1255 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
commit
472627f65f
@ -468,10 +468,13 @@ void WindowImplWin32::ProcessEvent(UINT message, WPARAM wParam, LPARAM lParam)
|
|||||||
// Text event
|
// Text event
|
||||||
case WM_CHAR :
|
case WM_CHAR :
|
||||||
{
|
{
|
||||||
Event event;
|
if (myKeyRepeatEnabled || ((lParam & (1 << 30)) == 0))
|
||||||
event.Type = Event::TextEntered;
|
{
|
||||||
event.Text.Unicode = static_cast<Uint32>(wParam);
|
Event event;
|
||||||
SendEvent(event);
|
event.Type = Event::TextEntered;
|
||||||
|
event.Text.Unicode = static_cast<Uint32>(wParam);
|
||||||
|
SendEvent(event);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user