Only print the FIXME:: repaint messages on debug builds as we're still not sure if it is needed.

This commit is contained in:
cls%seawood.org 2001-01-22 00:19:00 +00:00
Родитель 2dd24b480a
Коммит 34746204aa
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -936,8 +936,10 @@ NS_METHOD nsWindow::Resize(PRInt32 aWidth, PRInt32 aHeight, PRBool aRepaint)
if(mustunlock && mView->Parent() == 0) if(mustunlock && mView->Parent() == 0)
havewindow = true; havewindow = true;
#ifdef MOZ_DEBUG
if(! aRepaint) if(! aRepaint)
printf("nsWindow::Resize FIXME: no repaint not implemented\n"); printf("nsWindow::Resize FIXME: no repaint not implemented\n");
#endif
if(mView->Parent() || ! havewindow) if(mView->Parent() || ! havewindow)
mView->ResizeTo(aWidth-1, GetHeight(aHeight)-1); mView->ResizeTo(aWidth-1, GetHeight(aHeight)-1);
@ -988,8 +990,10 @@ NS_METHOD nsWindow::Resize(PRInt32 aX,
if(mustunlock && mView->Parent() == 0) if(mustunlock && mView->Parent() == 0)
havewindow = true; havewindow = true;
#ifdef MOZ_DEBUG
if(! aRepaint) if(! aRepaint)
printf("nsWindow::Resize FIXME: no repaint not implemented\n"); printf("nsWindow::Resize FIXME: no repaint not implemented\n");
#endif
if(mView->Parent() || ! havewindow) if(mView->Parent() || ! havewindow)
{ {