diff --git a/widget/src/photon/nsWidget.cpp b/widget/src/photon/nsWidget.cpp index 58c06aa140f6..1c713b86c14d 100644 --- a/widget/src/photon/nsWidget.cpp +++ b/widget/src/photon/nsWidget.cpp @@ -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 diff --git a/widget/src/photon/nsWidget.h b/widget/src/photon/nsWidget.h index 083df02a3f5f..b58b37810b85 100644 --- a/widget/src/photon/nsWidget.h +++ b/widget/src/photon/nsWidget.h @@ -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);