Change-Id: Ic271fb3ac5a4e66d0a9262fc7489853d694e2ba4
{
__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();