Lines Matching defs:newRect
408 void wxToolWindow::AdjustRectPos( const wxRect& original, const wxSize& newDim, wxRect& newRect )
413 newRect.x = original.x + original.width - newDim.x;
414 newRect.y = original.y + original.height - newDim.y;
420 newRect.x = original.x + original.width - newDim.x;
421 newRect.y = original.y;
427 newRect.x = original.x;
428 newRect.y = original.y + original.height - newDim.y;
434 newRect.x = original.x;
435 newRect.y = original.y;
438 newRect.width = newDim.x;
439 newRect.height = newDim.y;
547 wxRect newRect;
551 CalcResizedRect( newRect, delta, minDim );
556 wxSize preferred = GetPreferredSize( wxSize( newRect.width - borderDim.x,
557 newRect.height - borderDim.y ) );
562 //CalcResizedRect( newRect, delta, preferred );
564 wxRect finalRect = newRect;
566 AdjustRectPos( newRect, preferred, finalRect );