unnecessary ClipRects

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2001-06-05 21:23:32 +00:00
parent fd2e20ff9c
commit a763ac036b
2 changed files with 6 additions and 6 deletions

View File

@ -643,7 +643,7 @@ void wxWindow::DoSetSize(int x, int y, int width, int height, int sizeFlags)
if ( focus.Ok() )
{
Rect clientrect = { 0 , 0 , m_height , m_width } ;
ClipRect( &clientrect ) ;
// ClipRect( &clientrect ) ;
InvalWindowRect( GetMacRootWindow() , &clientrect ) ;
}
}
@ -678,7 +678,7 @@ void wxWindow::DoSetSize(int x, int y, int width, int height, int sizeFlags)
if ( focus.Ok() )
{
Rect clientrect = { 0 , 0 , m_height , m_width } ;
ClipRect( &clientrect ) ;
// ClipRect( &clientrect ) ;
InvalWindowRect( GetMacRootWindow() , &clientrect ) ;
}
}
@ -916,7 +916,7 @@ void wxWindow::Refresh(bool eraseBack, const wxRect *rect)
if ( focus.Ok() )
{
Rect clientrect = { 0 , 0 , m_height , m_width } ;
ClipRect( &clientrect ) ;
// ClipRect( &clientrect ) ;
if ( rect )
{

View File

@ -643,7 +643,7 @@ void wxWindow::DoSetSize(int x, int y, int width, int height, int sizeFlags)
if ( focus.Ok() )
{
Rect clientrect = { 0 , 0 , m_height , m_width } ;
ClipRect( &clientrect ) ;
// ClipRect( &clientrect ) ;
InvalWindowRect( GetMacRootWindow() , &clientrect ) ;
}
}
@ -678,7 +678,7 @@ void wxWindow::DoSetSize(int x, int y, int width, int height, int sizeFlags)
if ( focus.Ok() )
{
Rect clientrect = { 0 , 0 , m_height , m_width } ;
ClipRect( &clientrect ) ;
// ClipRect( &clientrect ) ;
InvalWindowRect( GetMacRootWindow() , &clientrect ) ;
}
}
@ -916,7 +916,7 @@ void wxWindow::Refresh(bool eraseBack, const wxRect *rect)
if ( focus.Ok() )
{
Rect clientrect = { 0 , 0 , m_height , m_width } ;
ClipRect( &clientrect ) ;
// ClipRect( &clientrect ) ;
if ( rect )
{