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
@ -467,11 +467,14 @@ void WindowImplWin32::ProcessEvent(UINT message, WPARAM wParam, LPARAM lParam)
|
||||
|
||||
// Text event
|
||||
case WM_CHAR :
|
||||
{
|
||||
if (myKeyRepeatEnabled || ((lParam & (1 << 30)) == 0))
|
||||
{
|
||||
Event event;
|
||||
event.Type = Event::TextEntered;
|
||||
event.Text.Unicode = static_cast<Uint32>(wParam);
|
||||
SendEvent(event);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user