Moving old clipboard into #ifdef-land.

This commit is contained in:
mcafee%netscape.com 1999-04-07 05:31:55 +00:00
parent 88df2ac956
commit 4d3ee18120

View File

@ -33,7 +33,12 @@
#include "nsGtkEventHandler.h"
#include "nsAppShell.h"
#ifndef NEW_CLIPBOARD_SUPPORT
#include "nsSelectionMgr.h"
#else
#include "nsClipboard.h"
#endif
#include "stdio.h"
@ -243,7 +248,12 @@ NS_METHOD nsWindow::CreateNative(GtkWidget *parentWidget)
"delete_event",
GTK_SIGNAL_FUNC(handle_delete_event),
this);
#ifdef NEW_CLIPBOARD_SUPPORT
// Call SetTopLevelWidget here?
#else
nsSelectionMgr::SetTopLevelWidget(mShell);
#endif
}
// Force cursor to default setting