(svn r26001) -Fix [FS#5795a] (r25686): [OSX] Clear any pending marked characters from an edit box losing focus.

This commit is contained in:
michi_cc
2013-11-14 23:03:54 +00:00
parent a31b46ba84
commit 8ceef6ec61
2 changed files with 3 additions and 0 deletions

View File

@@ -579,6 +579,8 @@ void VideoDriver_Cocoa::EditBoxLostFocus()
[ [ NSInputManager currentInputManager ] markedTextAbandoned:_cocoa_subdriver->cocoaview ];
}
}
/* Clear any marked string from the current edit box. */
HandleTextInput(NULL, true);
}
/**