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

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
michi_cc 11 years ago
parent a31b46ba84
commit 8ceef6ec61

@ -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