diff options
| author | Manolo Gouy <Manolo> | 2016-04-15 15:01:27 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-04-15 15:01:27 +0000 |
| commit | 397a3b83bf431e8bd00bbfb3c34ba4813fc55152 (patch) | |
| tree | 85d8b85021bd302aec804baa537168c441f4a701 /src/Fl.cxx | |
| parent | b1f8f3e2aa377e5ef15f47a36f159b8f48cc5cef (diff) | |
Move platform-dependent implementations of fl_clipboard_notify_changes() to the Fl_System_Driver class
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11617 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl.cxx')
| -rw-r--r-- | src/Fl.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Fl.cxx b/src/Fl.cxx index 9f0fadfe8..1527b5f72 100644 --- a/src/Fl.cxx +++ b/src/Fl.cxx @@ -447,8 +447,6 @@ struct Clipboard_Notify { static struct Clipboard_Notify *clip_notify_list = NULL; -extern void fl_clipboard_notify_change(); // in Fl_<platform>.cxx - void Fl::add_clipboard_notify(Fl_Clipboard_Notify_Handler h, void *data) { struct Clipboard_Notify *node; @@ -462,7 +460,7 @@ void Fl::add_clipboard_notify(Fl_Clipboard_Notify_Handler h, void *data) { clip_notify_list = node; - fl_clipboard_notify_change(); + Fl::system_driver()->clipboard_notify_change(); } void Fl::remove_clipboard_notify(Fl_Clipboard_Notify_Handler h) { @@ -475,7 +473,7 @@ void Fl::remove_clipboard_notify(Fl_Clipboard_Notify_Handler h) { *prev = node->next; delete node; - fl_clipboard_notify_change(); + Fl::system_driver()->clipboard_notify_change(); return; } |
