Remove #if DEBUG condition for some functions that really should be debug

but need to be included/excluded some other way, when I have time.
PHOTON ONLY
This commit is contained in:
Jerry.Kirk%Nexwarecorp.com 2000-03-08 13:42:46 +00:00
Родитель ed9cd36d1f
Коммит 8027929b6d
2 изменённых файлов: 4 добавлений и 4 удалений

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

@ -2651,7 +2651,7 @@ void nsWidget::EnableDamage( PtWidget_t *widget, PRBool enable )
}
}
#if defined(DEBUG)
//#if defined(DEBUG)
/**************************************************************/
/* This was stolen from widget/src/xpwidgets/nsBaseWidget.cpp */
nsAutoString nsWidget::GuiEventToString(nsGUIEvent * aGuiEvent)
@ -2774,4 +2774,4 @@ case _value: eventName = _name ; break
return nsAutoString(eventName);
}
#endif
//#endif

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

@ -181,10 +181,10 @@ protected:
nsWidgetInitData *aInitData,
nsNativeWidget aNativeParent = nsnull);
#if defined(DEBUG)
//#if defined(DEBUG)
static nsAutoString GuiEventToString(nsGUIEvent * aGuiEvent);
static nsAutoString PhotonEventToString(PhEvent_t * aPhEvent);
#endif
//#endif
PRBool DispatchWindowEvent(nsGUIEvent* event);