From 92c8d64f45816bbf2358fc790ac72fee76adf1b6 Mon Sep 17 00:00:00 2001 From: "mcafee%netscape.com" Date: Sun, 13 Jun 1999 00:18:39 +0000 Subject: [PATCH] Removing nsDialog from the build. git-svn-id: svn://10.0.0.236/trunk@35054 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/widget/src/mac/nsWidgetFactory.cpp | 5 ----- mozilla/widget/src/photon/Makefile.in | 3 +-- mozilla/widget/src/windows/makefile.win | 2 -- mozilla/widget/src/xlib/Makefile.in | 1 - 4 files changed, 1 insertion(+), 10 deletions(-) diff --git a/mozilla/widget/src/mac/nsWidgetFactory.cpp b/mozilla/widget/src/mac/nsWidgetFactory.cpp index 97f7443cd8f..40035185f4e 100644 --- a/mozilla/widget/src/mac/nsWidgetFactory.cpp +++ b/mozilla/widget/src/mac/nsWidgetFactory.cpp @@ -25,7 +25,6 @@ #include "nsToolkit.h" #include "nsWindow.h" #include "nsMacWindow.h" -#include "nsDialog.h" #include "nsAppShell.h" #include "nsButton.h" #include "nsRadioButton.h" @@ -71,7 +70,6 @@ static NS_DEFINE_IID(kCTooltipWidget, NS_TOOLTIPWIDGET_CID); static NS_DEFINE_IID(kCAppShell, NS_APPSHELL_CID); static NS_DEFINE_IID(kCToolkit, NS_TOOLKIT_CID); static NS_DEFINE_IID(kCLookAndFeel, NS_LOOKANDFEEL_CID); -static NS_DEFINE_IID(kCDialog, NS_DIALOG_CID); static NS_DEFINE_IID(kCLabel, NS_LABEL_CID); static NS_DEFINE_IID(kCMenuBar, NS_MENUBAR_CID); static NS_DEFINE_IID(kCMenu, NS_MENU_CID); @@ -232,9 +230,6 @@ nsresult nsWidgetFactory::CreateInstance(nsISupports *aOuter, else if (mClassID.Equals(kCLookAndFeel)) { inst = (nsISupports*)new nsLookAndFeel(); } - else if (mClassID.Equals(kCDialog)) { - inst = (nsISupports*)(nsWindow*)new nsDialog(); - } else if (mClassID.Equals(kCLabel)) { inst = (nsISupports*)(nsWindow*)new nsLabel(); } diff --git a/mozilla/widget/src/photon/Makefile.in b/mozilla/widget/src/photon/Makefile.in index 92d02114899..f01f3cb4661 100644 --- a/mozilla/widget/src/photon/Makefile.in +++ b/mozilla/widget/src/photon/Makefile.in @@ -39,7 +39,7 @@ INCLUDES += $(TK_CFLAGS) # nsWidgetFactory.cpp \ # nsWidgetSupport.cpp \ - + CPPSRCS= \ PtRawDrawContainer.cpp \ nsAppShell.cpp \ @@ -47,7 +47,6 @@ CPPSRCS= \ nsLabel.cpp \ nsCheckButton.cpp \ nsRadioButton.cpp \ - nsDialog.cpp \ nsLookAndFeel.cpp \ nsToolkit.cpp \ nsMenuBar.cpp \ diff --git a/mozilla/widget/src/windows/makefile.win b/mozilla/widget/src/windows/makefile.win index 826d26d88cb..ebd873c8fad 100644 --- a/mozilla/widget/src/windows/makefile.win +++ b/mozilla/widget/src/windows/makefile.win @@ -52,7 +52,6 @@ CPPSRCS = \ nsTooltipWidget.cpp \ nsAppShell.cpp \ nsLookAndFeel.cpp \ - nsDialog.cpp \ nsLabel.cpp \ nsToolkit.cpp \ $(NULL) @@ -89,7 +88,6 @@ OBJS = \ .\$(OBJDIR)\nsTooltipWidget.obj \ .\$(OBJDIR)\nsAppShell.obj \ .\$(OBJDIR)\nsLookAndFeel.obj \ - .\$(OBJDIR)\nsDialog.obj \ .\$(OBJDIR)\nsLabel.obj \ .\$(OBJDIR)\nsToolkit.obj \ $(NULL) diff --git a/mozilla/widget/src/xlib/Makefile.in b/mozilla/widget/src/xlib/Makefile.in index 71f3954b622..c7b5f97f23c 100644 --- a/mozilla/widget/src/xlib/Makefile.in +++ b/mozilla/widget/src/xlib/Makefile.in @@ -55,7 +55,6 @@ CPPSRCS= nsWidgetFactory.cpp \ nsAppShell.cpp \ nsToolkit.cpp \ nsLookAndFeel.cpp \ - nsDialog.cpp \ nsLabel.cpp \ nsMenuBar.cpp \ nsMenu.cpp \