From d600ccc034b93c0ad6dc034550dc87d3fcf32530 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Thu, 29 Nov 2018 09:20:08 +0000 Subject: [PATCH] Remove unnecessary platform-specific #if / #endif clauses. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13139 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- examples/clipboard.cxx | 4 +--- 1 file changed, 1 insertion(+), 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