securitydialogs/Autolock/src/AutolockContainer.cpp
branchRCL_3
changeset 13 53af9c3d61e4
parent 11 9971b621ef6c
child 20 63339781d179
equal deleted inserted replaced
11:9971b621ef6c 13:53af9c3d61e4
   252 			if(value <= EAutolockOff)
   252 			if(value <= EAutolockOff)
   253 				{	// Avoid displaying the icon
   253 				{	// Avoid displaying the icon
   254 				#if defined(_DEBUG)
   254 				#if defined(_DEBUG)
   255 				RDebug::Printf( "%s %s (%u) no Draw value=%x", __FILE__, __PRETTY_FUNCTION__, __LINE__, value );
   255 				RDebug::Printf( "%s %s (%u) no Draw value=%x", __FILE__, __PRETTY_FUNCTION__, __LINE__, value );
   256 				#endif
   256 				#endif
   257 				return;
   257 				// If it returns, it will not handle orientation changes.
       
   258 				// However it will not really draw because the view is hidden
       
   259 				// return;
   258 				}
   260 				}
   259 			}
   261 			}
   260 
   262 
   261     CWindowGc& gc = SystemGc();
   263     CWindowGc& gc = SystemGc();
   262     gc.SetPenStyle(CGraphicsContext::ENullPen);
   264     gc.SetPenStyle(CGraphicsContext::ENullPen);