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

pull/155/head
michi_cc 11 years ago
parent 27c67dfef2
commit 6645358d86

@ -185,6 +185,7 @@ struct IConsoleWindow : Window
~IConsoleWindow()
{
_iconsole_mode = ICONSOLE_CLOSED;
_video_driver->EditBoxLostFocus();
}
/**

@ -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);
}
/**

Loading…
Cancel
Save