From c0670cdc55ecd3908a3e45eee16806bd417dbf59 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Wed, 1 May 2002 20:05:19 +0000 Subject: WIN32 fixes for BC++. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2168 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_win32.cxx | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/Fl_win32.cxx') diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx index 6c9f21fe3..00836041e 100644 --- a/src/Fl_win32.cxx +++ b/src/Fl_win32.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_win32.cxx,v 1.33.2.37.2.30 2002/05/01 19:44:01 easysw Exp $" +// "$Id: Fl_win32.cxx,v 1.33.2.37.2.31 2002/05/01 20:05:19 easysw Exp $" // // WIN32-specific code for the Fast Light Tool Kit (FLTK). // @@ -123,9 +123,7 @@ static fd_set fdsets[3]; #define POLLOUT 4 #define POLLERR 8 -class FLDropTarget : public IDropTarget; - -extern FLDropTarget flDropTarget; +extern IDropTarget *flIDropTarget; static int nfds = 0; static int fd_array_size = 0; @@ -1050,7 +1048,7 @@ Fl_X* Fl_X::make(Fl_Window* w) { static char oleInitialized = 0; if (!oleInitialized) { OleInitialize(0L); oleInitialized=1; } - RegisterDragDrop(x->xid, (IDropTarget*)&flDropTarget); + RegisterDragDrop(x->xid, flIDropTarget); #endif // !__GNUC__ || __GNUC__ >= 3 if (w->modal()) {Fl::modal_ = w; fl_fix_focus();} @@ -1183,5 +1181,5 @@ void Fl_Window::make_current() { } // -// End of "$Id: Fl_win32.cxx,v 1.33.2.37.2.30 2002/05/01 19:44:01 easysw Exp $". +// End of "$Id: Fl_win32.cxx,v 1.33.2.37.2.31 2002/05/01 20:05:19 easysw Exp $". // -- cgit v1.2.3