diff options
Diffstat (limited to 'src/fl_dnd_mac.cxx')
| -rw-r--r-- | src/fl_dnd_mac.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/fl_dnd_mac.cxx b/src/fl_dnd_mac.cxx index af8cf1c58..9928e4b9f 100644 --- a/src/fl_dnd_mac.cxx +++ b/src/fl_dnd_mac.cxx @@ -46,6 +46,11 @@ extern int fl_selection_length; */ int Fl::dnd() { +#ifdef __APPLE_COCOA__ + extern int MACpreparedrag(void); + return MACpreparedrag(); +#else + OSErr result; DragReference dragRef; result = NewDrag( &dragRef ); @@ -82,6 +87,7 @@ int Fl::dnd() DisposeRgn( region ); DisposeDrag( dragRef ); return true; +#endif //__APPLE_COCOA__ } |
