Change-Id: If91e4f32be4016afdac96a435ac9e8bf2965bbc4
{
__internalFocus = false;
_pEditPresenter->OnFocusLost();
- Invalidate();
+ _Control::OnFocusLost(source);
return true;
}
else
{
+ if (editShowAreaAbsRect.height <= 0)
+ {
+ return;
+ }
FloatRectangle cursorRect;
int cursorPosition = GetCursorPosition();
__pEdit->CalculateAbsoluteCursorBounds(cursorPosition, cursorRect);
{
result r = E_SUCCESS;
+ InitializeCopyPasteManager();
+
int length = text.GetLength();
if ((__pEdit->GetEditStyle() & EDIT_STYLE_FLEXIBLE) || (__pEdit->GetEditStyle() & EDIT_STYLE_VIEWER))
{
bool
_EditPresenter::OnFocusLost(void)
{
+ InitializeCopyPasteManager();
+
if (__isAutoShrinkEnabled)
{
FloatRectangle intialWindowBounds = GetInitialBoundsF();