diff -r f9bb0fca356a -r 0fd27995241b javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swtdateeditor.cpp --- a/javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swtdateeditor.cpp Fri Apr 30 10:40:48 2010 +0300 +++ b/javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swtdateeditor.cpp Tue May 11 16:07:20 2010 +0300 @@ -257,7 +257,7 @@ { iBgColorIsCustom = EFalse; } - + Redraw(); } @@ -268,7 +268,7 @@ void CSwtDateEditor::SetForegroundL(const MSwtColor* aColor) { ASwtControlBase::DoSetForegroundL(aColor); - + TRgb color((aColor) ? aColor->RgbValue() : iEikonEnv->Color(EColorControlText)); iEditor->OverrideColorL(EColorControlText, color); @@ -293,7 +293,7 @@ { iFgColorIsCustom = EFalse; } - + Redraw(); } @@ -1107,7 +1107,7 @@ void CSwtDateEditor::HandlePointerEventL(const TPointerEvent& aPointerEvent) { TBool hit = ETrue; - + #ifdef RD_JAVA_S60_RELEASE_9_2 TBool pressed = iPressed; hit = Rect().Contains(aPointerEvent.iPosition); @@ -1119,9 +1119,9 @@ else if (aPointerEvent.iType == TPointerEvent::EDrag) iPressed = hit; #endif - - if (!(aPointerEvent.iType == TPointerEvent::EButton1Up - && (iDisplay.RevertPointerEvent() || !hit))) + + if (!(aPointerEvent.iType == TPointerEvent::EButton1Up + && (iDisplay.RevertPointerEvent() || !hit))) { iEditor->HandlePointerEventL(aPointerEvent); @@ -1141,7 +1141,7 @@ iCurrentFieldLength = 0; iCurrentFieldDecimalPlacesCount = 0; iLastField = iEditor->CurrentField(); - + #ifdef RD_JAVA_S60_RELEASE_9_2 if (pressed != iPressed) Redraw();