From c0c5d27106fe2a243c48dfec9353cf0bf813aca7 Mon Sep 17 00:00:00 2001 From: "pinkerton%netscape.com" Date: Wed, 12 May 1999 00:28:20 +0000 Subject: [PATCH] fix bustage. --- widget/src/mac/nsMacWindow.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/widget/src/mac/nsMacWindow.cpp b/widget/src/mac/nsMacWindow.cpp index a541a9bb7b47..0c43d7841a90 100644 --- a/widget/src/mac/nsMacWindow.cpp +++ b/widget/src/mac/nsMacWindow.cpp @@ -55,10 +55,14 @@ const short kWindowMarginWidth = 6; const short kDialogTitleBarHeight = 26; const short kDialogMarginWidth = 6; - +#if TARGET_CARBON +// quickest fix. not sure why this doesn't compile w/out carbon. DragTrackingHandlerUPP nsMacWindow::sDragTrackingHandlerUPP = ::NewDragTrackingHandlerProc(DragTrackingHandler); DragReceiveHandlerUPP nsMacWindow::sDragReceiveHandlerUPP = ::NewDragReceiveHandlerProc(DragReceiveHandler); - +#else +DragTrackingHandlerUPP nsMacWindow::sDragTrackingHandlerUPP = NULL; +DragReceiveHandlerUPP nsMacWindow::sDragReceiveHandlerUPP = NULL; +#endif //еее this should probably go into the drag session as a static pascal OSErr