diff options
| author | Manolo Gouy <Manolo> | 2018-11-29 09:20:08 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2018-11-29 09:20:08 +0000 |
| commit | d600ccc034b93c0ad6dc034550dc87d3fcf32530 (patch) | |
| tree | 74b63542d4fe12a47964a225e005f1db3e3243e8 /examples | |
| parent | 2ef3b39c6a100cf6b73828e7c7bf7f2b001a798c (diff) | |
Remove unnecessary platform-specific #if / #endif clauses.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13139 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/clipboard.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/clipboard.cxx b/examples/clipboard.cxx index c5ed99836..5859e5c58 100644 --- a/examples/clipboard.cxx +++ b/examples/clipboard.cxx @@ -129,9 +129,7 @@ void clip_callback(int source, void *data) { // called after clipboard was chang int main(int argc, char **argv) { -#if !(defined(__APPLE__) || defined(_WIN32)) - fl_register_images(); // required to allow pasting of images -#endif + fl_register_images(); // required for the X11 platform to allow pasting of images Fl_Window* win = new Fl_Window(500, 550, "clipboard viewer"); tabs = new clipboard_viewer(0, 0, 500, 500); Fl_Group *g = new Fl_Group( 5, 30, 490, 460, Fl::clipboard_image); // g will display the image form |
