diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-05-01 20:05:19 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-05-01 20:05:19 +0000 |
| commit | c0670cdc55ecd3908a3e45eee16806bd417dbf59 (patch) | |
| tree | 9b53653876685d11c3801c64926224be80d82eb0 /src/Fl_win32.cxx | |
| parent | 11f56a0dc0a5490af74d0a7483664ce40b3df221 (diff) | |
WIN32 fixes for BC++.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2168 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_win32.cxx')
| -rw-r--r-- | src/Fl_win32.cxx | 10 |
1 files changed, 4 insertions, 6 deletions
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 $". // |
