void EDA_DRAW_FRAME::SetCrossHairPosition( const wxPoint& aPosition, bool aSnapToGrid ) { BASE_SCREEN* screen = GetScreen(); // virtual call screen->setCrossHairPosition( aPosition, GetGridOrigin(), aSnapToGrid ); }