diff options
| -rw-r--r-- | FL/Fl_System_Driver.H | 2 | ||||
| -rw-r--r-- | src/Fl.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/FL/Fl_System_Driver.H b/FL/Fl_System_Driver.H index 6e3a92aee..4ace8411d 100644 --- a/FL/Fl_System_Driver.H +++ b/FL/Fl_System_Driver.H @@ -92,7 +92,7 @@ public: virtual void compose_reset() { Fl::compose_state = 0; } // implement to support drag-n-drop. use_selection = 1 means the GUI is welcome to display // the selected text during the D&D operation - virtual int dnd(int use_selection) {return 0;} + virtual int dnd(int use_selection = 0) {return 0;} }; #endif // FL_SYSTEM_DRIVER_H diff --git a/src/Fl.cxx b/src/Fl.cxx index e45119c9d..05e8ba029 100644 --- a/src/Fl.cxx +++ b/src/Fl.cxx @@ -1879,7 +1879,7 @@ int Fl::use_high_res_GL_ = 0; int Fl::dnd() { - return Fl_System_Driver::driver()->dnd(0); + return Fl_System_Driver::driver()->dnd(); } // |
