This commit is contained in:
pierre%netscape.com 1998-12-09 13:24:26 +00:00
Родитель 38ef58f9a1
Коммит 7b7acedec8
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -86,7 +86,7 @@ nsMacControl::~nsMacControl()
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
PRBool nsMacControl::OnPaint(nsPaintEvent &aEvent) PRBool nsMacControl::OnPaint(nsPaintEvent &aEvent)
{ {
if (mControl) if (mControl && mVisible)
{ {
// set the control text attributes // set the control text attributes
// (the rendering context has already set these attributes for // (the rendering context has already set these attributes for