Lines Matching refs:adjustR
815 wxRect adjustR = r ;
817 adjustR = wxevent.GetRect() ;
819 if ( toplevelWindow->GetMaxWidth() != -1 && adjustR.GetWidth() > toplevelWindow->GetMaxWidth() )
820 adjustR.SetWidth( toplevelWindow->GetMaxWidth() ) ;
821 if ( toplevelWindow->GetMaxHeight() != -1 && adjustR.GetHeight() > toplevelWindow->GetMaxHeight() )
822 adjustR.SetHeight( toplevelWindow->GetMaxHeight() ) ;
823 if ( toplevelWindow->GetMinWidth() != -1 && adjustR.GetWidth() < toplevelWindow->GetMinWidth() )
824 adjustR.SetWidth( toplevelWindow->GetMinWidth() ) ;
825 if ( toplevelWindow->GetMinHeight() != -1 && adjustR.GetHeight() < toplevelWindow->GetMinHeight() )
826 adjustR.SetHeight( toplevelWindow->GetMinHeight() ) ;
827 const Rect adjustedRect = { adjustR.y + top , adjustR.x + left , adjustR.y + adjustR.height - bottom , adjustR.x + adjustR.width - right } ;